RE: VNC Server on Enterprise

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

 



On Fri, 28 May 2004, Michael Scully wrote:

> 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


Not that I'm aware of.  I just don't log out.  If I want to close the 
session, I stop XVnc.  Of course, you don't *have* to start the VNC 
session using the service.  You can just start one up yourself.  I wrote a 
couple of one-line scripts that look like:

/usr/bin/vncserver :8 -geometry 1024x768 -depth 16

or 

/usr/bin/vncserver :8 -geometry 800x600 -depth 8

etc to start them, and one to stop it when I'm done:

/usr/bin/vncserver -kill :8

That way I don't have to be root, etc.

Ben

> 
> 
> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]
> 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@xxxxxxxxxxxxxxxxxxxxxx>
> > 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@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 


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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux