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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I hope this is what you need to do

Use vi text editor and open the xstartup file in .vnc folder
(/home/yourname/.vnc)

Then,
Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

Someone had answered this before:

In Red Hat you have a file /etc/sysconfig/vncservers. There you can put the
servers in that should be started by the vncserver initscript. The syntax
is:

VNCSERVERS="1:<username>"

to start a vncserver as user <username> on display 1.

Then you have to enable vncserver in your initscripts with the graphical
tool or chkconfig. That should bring it up automatically at boot.

 -volker

-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-bounces@xxxxxxxxxx]
On Behalf Of Ronald Hall
Sent: Thursday, November 11, 2004 9:06 AM
To: fedora-list@xxxxxxxxxx
Subject: VNC Server Problem.. I'm ready to kill! Please help!

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@xxxxxxxxxxxxxxx

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux