[rhelv6-list] vnc how to get gnome session login?

Collins, Kevin [BEELINE] KCollins at chevron.com
Thu Jan 13 00:34:58 UTC 2011

You are running your service as "nobody", and the howm dir for nobody is
"/". The VNC server process needs to write to $HOME/.vnc to start. I
used to do this a long time ago, so I don't remember for certain, but
you may need to create a /.vnc directory and make it writable by

Or, it may be that you need to make sure /etc/vnc/xstartup is correctly
defined to start your X desktop session appropriately. Also, if it
isn't, you may need to remove (or edit) the /.vnc/xstartup file (copied
from /etc/vnc on initial start of Xvnc).

Hope that helps.


-----Original Message-----
From: rhelv6-list-bounces at redhat.com
[mailto:rhelv6-list-bounces at redhat.com] On Behalf Of Alois Treindl
Sent: Wednesday, January 12, 2011 1:41 PM
To: Red Hat Enterprise Linux 6 (Santiago) discussion mailing-list
Subject: [rhelv6-list] vnc how to get gnome session login?

I am tryiong to configure vnc on a new RHEL6 system.

Like on RHEL 5 systems I adminster I set it up as a service via xinetd.

My xinetd.d entry /etc/xinetd.d/vnc says
service vnc
         disable = no
         socket_type = stream
         protocol = tcp
         group = tty
         wait = no
         user = nobody
         server = /usr/bin/Xvnc
         server_args = -inetd :2 -query localhost -geometry 1200x900 
-depth 16  -fp /usr/share/X11/fonts/misc/ -securitytypes=none
         flags           = REUSE

and in /etc/services I define service vnc as
vnc           5901/tcp

When I connect to the vnc service, I get a black empty x11 root window, 
but nothing visible on it.

What I would like to get is a gnome login

On my RHEL5 systems where I have basically the same setup but also a 
confuration for xdmcp for X-terminals I get a login screen for a full 
gnome session with vnc.

What do I have to do to get the same on RHEL 6 ?

rhelv6-list mailing list
rhelv6-list at redhat.com

More information about the rhelv6-list mailing list