> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Simon Bryan
> Sent: Sunday, 20 July 2003 8:35 PM
> To: [EMAIL PROTECTED]
> Subject: [SLUG] VNC
> 
> 
> HI all,
> I am experimenting with using VNC to access the desktop on my 
> LTSP server from my
> Windows laptop. I can connect OK but all I get is a plain 
> grey screen and the mouse
> curosr, there was an app running when I clicked and dragged, 
> I thnk it was
> iconmanager or something similar, however since I closed it, 
> I don't even get that
> anymore.
> 
> I have set the password and edited /etc/sysconfig/vncserver 
> to create a session on
> my username and window 1.
> 
> Any other clues appreciated
> ____________________
> Simon Bryan

Sounds like you have a running X-server (VNC Server) but nothing using it.  Your 
comment about an icon manager seems to suggest that a basic window manager (tvm 
maybe?) is running though.

When VNC Server starts it fires up everything in the xstartup (?? - can't remember 
exactly, it's been a while since I played with it...it's pretty obvious though) file.  
Problem is on some systems (esp. Solaris in my experience) these programs in xstartup 
are spawned from the running shell.  So once you log out the user that started the VNC 
Server (eg, you started VNC Server whilst ssh'ed in) the VNC Server stays running 
because it detached itself from the shell, but the xterm, window manager etc, all 
close because they weren't detached from the shell.

Answer?  Figure out if this is what is happening - log back in as the same user that 
started the VNC Server and try starting some X apps like "xeyes -display 127.0.0.1:0" 
etc.  If this works then you'll need to write a wrapper to spawn the VNC Server and 
all the startup apps (xterm, window manager etc) in a separate process.  There are 
plenty of examples online last time I needed to go digging :-)

Cheers,

James 
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to