VNC Server on Enterprise

Michael Scully agentscully at flexiblestrategies.com
Fri May 28 19:55:23 UTC 2004


Ben:

	You were right.  Thanks.

	One other related question.  If I log out my VNC session from X, it
won't restart.  I can drop a VNC connection and resume it, but if I logout
is there anyway to restart this without restarting the vncserver service
(assuming I have other ssh or telnet access since I'm now dead)?

Mike


-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
On Behalf Of Benjamin J. Weiss
Sent: Friday, May 28, 2004 5:51 AM
To: General Red Hat Linux discussion list
Subject: Re: VNC Server on Enterprise

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


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list





More information about the redhat-list mailing list