Results 1 to 4 of 4
Hi Experts
I installed the vncserver rpm on Redhat EL 5.3 after the initial installation. I am able to run $vncserver and can connect with vnc client also. But getting ...
- 03-10-2009 #1Just Joined!
- Join Date
- Mar 2008
- Posts
- 3
VNC Server - Black Screen on Client
Hi Experts
I installed the vncserver rpm on Redhat EL 5.3 after the initial installation. I am able to run $vncserver and can connect with vnc client also. But getting black screen all arrond the xtem and also not able to launch xclock. Here are the error messages in .vnc log
Couldn't open RGB_DB '/usr/share/X11/rgb'
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/ocapma:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See RealVNC - RealVNC remote control software for information on VNC.
Underlying X server release 70101000, The X.Org Foundation
Tue Mar 10 00:34:10 2009
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: Listening for HTTP connections on port 5801
vncext: created VNC server for screen 0
error opening security policy file /usr/lib/xserver/SecurityPolicy
/home/oracle/.vnc/xstartup: line 9: xsetroot: command not found
/home/oracle/.vnc/xstartup: line 12: twm: command not found
Seeking your expert advises where I missed some configuration etc.
Thanks
-naveed
- 03-10-2009 #2
Is SELinux enabled?
Type
getenforce
And tell me what the output is."A graphical user interface is just a mask. What lies beneath is what matters."
- 03-10-2009 #3Just Joined!
- Join Date
- Mar 2008
- Posts
- 3
Hi Felarin,
SELinux is Disabled. I am suspecting if following errors might be the cause.
/home/oracle/.vnc/xstartup: line 9: xsetroot: command not found
/home/oracle/.vnc/xstartup: line 12: twm: command not found ** this one especially.
Thanks for replying and helping.
Regards,
Naveed
- 03-10-2009 #4
Try this,
Change "twm" to "startx"
Remember to save the file.
service vncserver restart
Then try connecting to your vnc again.
xsetroot should be at /usr/bin/xsetroot
The key is to uncomment the first 2 lines in the file, change twm to startx and edit /etc/sysconfig/vncservers to enable your various vncserver sessions to startup with the service."A graphical user interface is just a mask. What lies beneath is what matters."


Reply With Quote