VNC Server Problem.. I'm ready to kill! Please help!

Ronald Hall hall at acrimonious.net
Thu Nov 11 17:05:54 UTC 2004


I'm ready to toss my stupid box out the window.. having a strange problem 
with VNC I just cannot figure out.  I'm trying to get VNC to start 
automatically when the system comes up.  I've tried to do that 2 ways.. 
First, by doing it through rc.local:

su - username -c "vncserver :2 -name SystemName -depth 16 -geometry 
800x600"

That fails with a black screen and an X for a cursor.. no windows 
manager.. 

Then I tried loading through the vncserver service and the 
/etc/sysconfig/vncservers file.. which I had:

VNCSERVERS="2:username"
VNCSERVERARGS[2]="-name SystemName -geometry 800x600 -depth 16"

That also fails with a black screen and an X for a cursor.

No, what doesn't make sense, and is driving me INSANE, is that if I just 
MANUALLY start up VNC via an SSH session after my system boots up (And I 
have VNC Services disabled and nothing in rc.local) it comes up with a 
Gnome desktop just fine.

ANY ideas here?  I know the simple answer is just to start it when I need 
it, but this is driving me INSANE and I can't figure out why it won't load 
properly. Any insight would be greatly appreciated.

Ronald Hall
hall at acrimonious.net




More information about the users mailing list