View Full Version : VNC Server troubles

26th July 2008, 12:32 AM
Hey guys I have a network storage box running F8 and I access it strictly through vnc tunneled through ssh, my problem is I am trying to set it up so I can login to root on vnc (temporarily). I added the proper lines to the /etc/sysconfig/vncservers file:

VNCSERVERARGS[1]="-geometry 1024x768 -depth 32"

Then I try to restart the server by running: "/sbin/service vncserver restart" as root

I then get the following error:

Shutting down VNC server: 1:root [FAILED]
Starting VNC server: 1:root A VNC server is already running as :1 [FAILED]

I have even tried killing the vnc server by running "vncserver -kill :1" and I get the error:

Can't find file /root/.vnc/localhost.localdomain:1.pid
You'll have to kill the Xvnc process manually

26th July 2008, 12:57 AM
I determined the problem I was having, I had set it up to use xinetd for vnc to load gdm, I remopved these and set up vncserver as it should be, but now when I connect I get a blank screen with no menu's or windows to open... Should i revert back to xinetd to use gdm, and if I do this is there a way to enable root to login through the gdm login prompt?

26th July 2008, 02:08 AM
check your ~/.vnc/xstartup