[CentOS] Guidance: compile education

2014-12-04 Thread Stan Cruise
This question may not belong in the Centos.org list, but I do want to 
compile against this distro. Please advise.



The question:

Can I be pointed at methods to learn to compile source against a distro. 
I have software development background (but too long ago to be 
specifically useful; however I have the concepts). Typically I can find 
some fairly decent step-by-steps for some apps, but it never works out. 
Which means I am missing the basics.


I have been working with Centos and Fedora through many VM and metal 
installs, so that part is OK. I am getting tired of constantly trying to 
find the app I want in the distro, or an applicable rpm. It's time to 
compile.



Stan

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Nvidia, vncserver, xfce = Resolved Issue

2014-11-30 Thread Stan Cruise

The suggestion from Marco to try a non-3D DE worked. I tried two methods:
1. minimal Centos 7 install and xfce install via CLI. Worked fine.
2. Gnome Centos 7 install and then xfce install via yum groupinstall. 
Worked fine.


One tip for anyone doing this:

After starting vncserver the first time, it creates a ~/.vnc/xstartup 
file. This will be the same type of session if you logged in locally. 
Edit that file so that it contains the following:


#!/bin/sh
exec /bin/sh /etc/xdg/xfce4/xinitrc

Then it will start up an xfce session.

A method to debug this is to actually launch the session on the host by 
running the xstartup file. If it works on the host it will most likely 
will work on the remote client. If you try this without the xstartup 
file mod above it will fail with the 'oh no ...' error right there in a 
new window on the host. It helps avoid some running around.


Many thanks for the help on this. A nice side effect is that I am 
spending effort to install xfce on all my VMs. The performance 
improvement is dramatic. And mostly gone is that arduous Gnome3 DE. I 
really tried to use it. It's kind of OK for light work, but for any 
medium multi-tasking it is frustrating.



Stan


--

Message: 25
Date: Tue, 18 Nov 2014 22:53:21 -0700
From: Stan Cruisestancru...@me.com
To:centos@centos.org
Subject: [CentOS] Centos 7 Nvidia openGL breaks vncserver
Message-ID:546c3051.4040...@me.com
Content-Type: text/plain; charset=utf-8; format=flowed

On Tue, 18 Nov 2014 10:46 pm MT -0700
Stan Cruise stancruise at 
me.comhttp://lists.centos.org/mailman/listinfo/centos wrote:

Thanks Marco.

Gnome3 it is. I naively figured that this was the 'default' but alas it
is a selection which I did make.

I had seen hints of this in discussions elsewhere and did try KDE, but
that is tough sledding on C7, and I got impatient. I should have stuck
it out. (KDE has a bug on vncserver enable and creates the wrong symlink
in /etc. At least it is different and requires work to get it right).

Mate is my next try.

I did try the nvidia-detect and it did say to use 340.58.

Thanks again for helping me converge. I will be silent for a bit to try
out different DEs.

Stan

On Tue, 18 Nov 2014 11:32:36 -0700
Stan Cruise stancruise at 
me.comhttp://lists.centos.org/mailman/listinfo/centos wrote:


/  Bare metal Centos 6.5, vncserver running, client able to connect with


//  perfect resolution. Nvidia GT240, driver 331.49.
//
//  Upgrade to Centos 7 with nouveau basic driver, all still works fine.
//  Resolution poor on wire connected monitor, but perfect on vnc client
//  session (1920x1080).
//
//  Upgrade Nvidia driver via elrepo. 340.58; removed nouveau via
//  'Software' manager. Excellent wired monitor resolution.
//
//  But  Client vnc connect receives the dreaded 'oh no, something
//  has .'
/
Are you maybe trying to run Gnome3 through vnc by any chance? Because
Gnome3 requires 3D acceleration, and I'm not sure that nvidia driver
would simulate 3D stuff in software (nouveau should fall back to mesa
in case hardware acceleration fails --- typical of a vnc session).

So my suggestion is to try KDE or XFCE or LXDE or Mate or... any other
DE which doesn't require 3D features to work. Such DE should work
through vnc using nvidia driver no problem --- the only exception is
Gnome3.
  


/  Backed out Nvidia  340.58, back to nouveau, client vnc works again.


//  Also tried 304 driver (only other one in elrepo for el7) - same
//  problem.
/
You don't want to guess which driver you need. Use the nvidia-detect
utility from elrepo, it will tell you which driver to install.
  


/  Research seems to indicate that openGL does not play well with vnc. I


//  cannot see any solutions posted as yet.
//
//  So, what are my options?
/
My choice would be to try a less demanding DE first.
  


/  Maybe change out the video card for AMD? I cannot know if the


//  Catalyst driver will work, but there is a much more active and
//  extensive open driver community, which could work better than nouveau?
/
Catalyst driver has always been a pure gamble for me (i.e. worked 50%
of time, supported 50% of video cards, and could be installed on 50%
distributions... or so...). The open-source radeon driver is much better
supported.

That said, the radeon community is not any more active or more extensive
than the nouveau community. It's just that AMD has released the specs
for their cards, so they have a much easier job of maintaining the
radeon driver than the nouveau community (which basically needs to RE
everything from scratch).
  
HTH,

Marko


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 7 Nvidia openGL breaks vncserver

2014-11-18 Thread Stan Cruise
Bare metal Centos 6.5, vncserver running, client able to connect with 
perfect resolution. Nvidia GT240, driver 331.49.


Upgrade to Centos 7 with nouveau basic driver, all still works fine. 
Resolution poor on wire connected monitor, but perfect on vnc client 
session (1920x1080).


Upgrade Nvidia driver via elrepo. 340.58; removed nouveau via 'Software' 
manager. Excellent wired monitor resolution.


But  Client vnc connect receives the dreaded 'oh no, something has .'

Backed out Nvidia  340.58, back to nouveau, client vnc works again. Also 
tried 304 driver (only other one in elrepo for el7) - same problem.


Research seems to indicate that openGL does not play well with vnc. I 
cannot see any solutions posted as yet.


So, what are my options?

Maybe change out the video card for AMD? I cannot know if the Catalyst 
driver will work, but there is a much more active and extensive open 
driver community, which could work better than nouveau?


And I noted the Linus 'salute' to Nvidia... Good timing.


Stan



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 7 Nvidia openGL breaks vncserver

2014-11-18 Thread Stan Cruise

On 18/11/14 5:42 MT, Stan Cruise wrote:

Well I found the Nvidia 331.89 dvr and kmod on the elrepo site; installed OK.
Reboot, works fine on wired monitor. Still same problem on vnc client.

Another post on this forum suggested to try the Nvidia driver download directly 
from Nvidia. Better still, I actually had the original
NVIDIA-Linux-x86_64-331.49.run file which worked on Centos 6.5. I did a manual 
install (run level 3 etc). It installed fine.
Same problem though.

So, at this point it seems associated with the new C7.

Either we can hope for a fix in C7, or I will have to try a non-Nvidia card.

--
Some Background:
I learned how to get tigervnc-server working on C7 thru
many failed attempts on VMs. I found if I did the following steps exactly, it 
works. There may
be some variability in the sequence that works but I did not try all 
permutations.
But, if I don't do this list exactly, then I would also get the 'oh no ... 
error at the client.
All this to note that getting this to work on C7 with systemd/systemctl is 
quite sensitive.

Steps:
Create new VM on hyper-v or kvm (both work fine)
Fresh 'DVD' install of C7 1406: both iso file and straight DVD install tried on 
different VMs.
Update software via Software app
Install tigervnc-server
copy usr/lib/systemd/system/vncserver@:.service to 
usr/lib/systemd/system/vncserver@:x.service; modified @:x file with
user info
systemctl enable vncserver@:x.service
verify that the vncserver@:x.service symlink is in 
/etc/systemd/system/multi-user.target.wants/
systemctl start vncserver@:x.service

Then go to client and start up vnc .


Stan





On 18/11/14 18:32, Stan Cruise wrote:

/  Bare metal Centos 6.5, vncserver running, client able to connect with

//  perfect resolution. Nvidia GT240, driver 331.49.
//  
//  Upgrade to Centos 7 with nouveau basic driver, all still works fine.

//  Resolution poor on wire connected monitor, but perfect on vnc client
//  session (1920x1080).
//  
//  Upgrade Nvidia driver via elrepo. 340.58; removed nouveau via 'Software'

//  manager. Excellent wired monitor resolution.
//  
//  But  Client vnc connect receives the dreaded 'oh no, something has .'
//  
//  Backed out Nvidia  340.58, back to nouveau, client vnc works again. Also

//  tried 304 driver (only other one in elrepo for el7) - same problem.
//  
/

If it's of any help to you I have just restored the last 331.xx series
driver (331.89) to the elrepo repository. It's currently syncing and
should show up on the mirrors shortly. At least now you should be able
to make a like for like driver comparison with your el6 install.

http://elrepo.org/linux/elrepo/el7/x86_64/RPMS/

kmod-nvidia-331.89-1.el7.elrepo.x86_64.rpm
nvidia-x11-drv-32bit-331.89-1.el7.elrepo.x86_64.rpm
nvidia-x11-drv-331.89-1.el7.elrepo.x86_64.rpm



/  Research seems to indicate that openGL does not play well with vnc. I

//  cannot see any solutions posted as yet.
//  
//  So, what are my options?
//  
//  Maybe change out the video card for AMD? I cannot know if the Catalyst

//  driver will work, but there is a much more active and extensive open
//  driver community, which could work better than nouveau?
//  
//  And I noted the Linus 'salute' to Nvidia... Good timing.
//  
//  
//  Stan

//  /

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 7 Nvidia openGL breaks vncserver

2014-11-18 Thread Stan Cruise

On Tue, 18 Nov 2014 10:46 pm MT -0700
Stan Cruise stancruise at me.com  
http://lists.centos.org/mailman/listinfo/centos wrote:

Thanks Marco.

Gnome3 it is. I naively figured that this was the 'default' but alas it 
is a selection which I did make.


I had seen hints of this in discussions elsewhere and did try KDE, but 
that is tough sledding on C7, and I got impatient. I should have stuck 
it out. (KDE has a bug on vncserver enable and creates the wrong symlink 
in /etc. At least it is different and requires work to get it right).


Mate is my next try.

I did try the nvidia-detect and it did say to use 340.58.

Thanks again for helping me converge. I will be silent for a bit to try 
out different DEs.


Stan

On Tue, 18 Nov 2014 11:32:36 -0700
Stan Cruise stancruise at me.com  
http://lists.centos.org/mailman/listinfo/centos wrote:


/  Bare metal Centos 6.5, vncserver running, client able to connect with

//  perfect resolution. Nvidia GT240, driver 331.49.
//  
//  Upgrade to Centos 7 with nouveau basic driver, all still works fine.

//  Resolution poor on wire connected monitor, but perfect on vnc client
//  session (1920x1080).
//  
//  Upgrade Nvidia driver via elrepo. 340.58; removed nouveau via

//  'Software' manager. Excellent wired monitor resolution.
//  
//  But  Client vnc connect receives the dreaded 'oh no, something

//  has .'
/
Are you maybe trying to run Gnome3 through vnc by any chance? Because
Gnome3 requires 3D acceleration, and I'm not sure that nvidia driver
would simulate 3D stuff in software (nouveau should fall back to mesa
in case hardware acceleration fails --- typical of a vnc session).

So my suggestion is to try KDE or XFCE or LXDE or Mate or... any other
DE which doesn't require 3D features to work. Such DE should work
through vnc using nvidia driver no problem --- the only exception is
Gnome3.
 

/  Backed out Nvidia  340.58, back to nouveau, client vnc works again.

//  Also tried 304 driver (only other one in elrepo for el7) - same
//  problem.
/
You don't want to guess which driver you need. Use the nvidia-detect
utility from elrepo, it will tell you which driver to install.
 

/  Research seems to indicate that openGL does not play well with vnc. I

//  cannot see any solutions posted as yet.
//  
//  So, what are my options?

/
My choice would be to try a less demanding DE first.
 

/  Maybe change out the video card for AMD? I cannot know if the

//  Catalyst driver will work, but there is a much more active and
//  extensive open driver community, which could work better than nouveau?
/
Catalyst driver has always been a pure gamble for me (i.e. worked 50%
of time, supported 50% of video cards, and could be installed on 50%
distributions... or so...). The open-source radeon driver is much better
supported.

That said, the radeon community is not any more active or more extensive
than the nouveau community. It's just that AMD has released the specs
for their cards, so they have a much easier job of maintaining the
radeon driver than the nouveau community (which basically needs to RE
everything from scratch).
 
HTH, :-)

Marko


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What List to Use for Patch Requests (Johnny Hughes) - CentOS Digest, Vol 118, Issue 4

2014-11-04 Thread Stan Cruise


On 11/04/2014 05:00 AM, centos-requ...@centos.org wrote:

Today's Topics:

  
  34. Re: What List to Use for Patch Requests (Johnny Hughes)


-- Message: 34 Date: Tue, 04 Nov 2014 
05:58:07 -0600 From: Johnny Hughes joh...@centos.org To: 
centos@centos.org Subject: Re: [CentOS] What List to Use for Patch 
Requests Message-ID: 5458bf4f.6020...@centos.org Content-Type: 
text/plain; charset=windows-1252 On 11/03/2014 06:38 PM, Stan Cruise 
wrote:



I posted an issue that may warrant a patch some days ago with no response.
Is there a more appropriate list to post on?


CentOS is a rebuild of RHEL Source code ... we don't release bugfixes of
things released by RHEL unless we (CentOS team) somehow introduced the
broken code with branding updates.  Remember, CentOS is supposed to be
bug for bug compatible with the upstream products and if we want things
fixed they need to come down from upstream.

Also, the evolution in CentOS-7 is 3.8.5-22.el7_0.1 ... not evolution
3.10.x.  That means that the patch from Fedora 20 will likely not apply
as is.

If you are sure that it is the same issue then we can open a Red Hat bug
and hopefully they will roll in the patch.

Thanks,
Johnny Hughes


Stan Cruise reply:

Hi Johnny,

Many thanks for your reply, and thanks for your description of the streaming 
approach. I was conceptually aware of this, but I do not know the process to 
follow.

My own use tests produce exactly the errors described in the bug report, 
although without real debugging it is hard to say it is the exact same root 
cause.

Would I need to submit a specific issue report with log files to initiate a 
Centos/RH process? (I have not done this before, but I do have a software 
development background, and know that one has to put in the effort, so I am 
willing to learn this and hopefully help the community).


Regards,

Stan







 


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] What List to Use for Patch Requests

2014-11-03 Thread Stan Cruise

I posted an issue that may warrant a patch some days ago with no response.
Is there a more appropriate list to post on?


Regards,

Stan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Evolution 3.8.5 imap iCloud will not connect

2014-11-01 Thread Stan Cruise
There is a problem in Evolution 3.8.5 due to changes icloud made to 
their servers. It disallows imap connections due to authentication issues.


The following link to gnome.org indicates that a patch is available for 
Evolution 3.10 (the problem does not occur in 3.12).


https://mail.gnome.org/archives/evolution-list/2014-October/msg00113.html

Milan suggests Ask your distribution to use the patch from the [1] and 
provide an update for you.


Is there any chance of this for Centos 7, as Evolution is currently 
rendered inoperable with iCloud imap.


Bugzilla ref: *Bug 1153052* 
https://bugzilla.redhat.com/show_bug.cgi?id=1153052 -Evolution 3.10.4 
not able to use TLSv1 or higher (only SSLv3)



Regards,

Stan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos