VNC Server Question

Scot L. Harris webid at cfl.rr.com
Fri Mar 24 15:49:17 UTC 2006


On Thu, 2006-03-23 at 15:14 -0800, Ed Smith wrote:
> Hi All,
> 
> Still kind of new to Linux, trying to set up VNC Server so I can access the
> machine remotely from Windows. My /etc/sysconfig/vncservers file looks like
> this, currently:
> 
> VNCSERVERS="1:ed"
> VNCSERVERARGS[1]="-geometry 1024x768 -depth 16"
> 
> So far when I connect all I get is a grey screen with a terminal window.
> I've also tried commenting out the lines in the vncservers file and
> launching the vncserver from command line with the following command:
> 
> vncserver :1 -name ed -depth 16 -geometry 1024x768
> 
> When I connect with the VNC client I see the same display. I'd really
> appreciate if someone would tell me what I'm doing wrong. Thanks in advance!

You did nothing wrong.  You are seeing the default window manager.  You
need to edit the file under your home directory .vnc/xstartup and remove
the comments on the two lines it indicates to get the kind of window
manager that you expected.

You can also configure vnc to allow you to connect to the :0 display
(what you see on the main console).  For that you need to edit the
xorg.conf file.  That may or may not be what you want.






More information about the fedora-list mailing list