VNC Server on Enterprise

Benjamin J. Weiss benjamin at weiss.name
Fri May 28 12:50:44 UTC 2004


From: "Michael Scully" <agentscully at flexiblestrategies.com>
> Greetings fellow penguins:
>
> I must be doing something wrong with VNC server.  When I use a VNC
> client on a Windows machine, I can attach and login to my Enterprise
server
> just fine.  But it merely has an empty X windows screen with a terminal
> session in it.  If I start gnome-session from the # prompt, I'll get a
> session, but every window (task bar, background, application) is floating,
> and I have to move it and click it in place to get the window anchored.
> This gets almost unusable.
>
> My /etc/sysconfig/vncservers file has an entry for 1:root in it.
> Does anyone know where to find appropriate documentation for VNC server on
> Red Hat?

The other thing you need to do is to edit ~/.vnc/xstartup to look something
like:

#!/bin/sh

# Red Hat Linux VNC session startup script
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc


Then restart your vnc server (probably with 'service vncserver restart')

That should fix the problem.

Ben





More information about the redhat-list mailing list