> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of Chris Lewis
> Sent: Tuesday, September 24, 2002 9:07 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Browser Re-Initiation
> 
> 
> I have a netscape session open on my VNC desktop and close 
> the netscape session leaving the VNC desktop only.  If I then 
> close the VNC desktop and then bring it back up, I only have 
> a VNC desktop.  Is there any way to get the netscape session 
> to open again if it gets closed without restarting the vncserver?
> 
> Chris Lewis

Ah, I see now.  VNC is designed to remember the state you were in so
nothing "resets" when you close the viewer (which it seems that you
expect).  I can think of three ways to answer you:

1) Restart Netscape from your WindowManager.
        a) Not going to work if for some reason you don't run a WM in
your VNC session.

2) Use VNC in inetd so that it does end the session when you close the
viewer and restart a new session when you reconnect.
        a) Not going to work if you like the ability to close the
session and be able to come back to it later in the same place.
        b) After looking around at the docs I'm not sure this is an
option without running XDM to login users.  Maybe someone with more
experience can shed some light on it.

3) Use a script to start Netscape instead of running it directly.
        a) Completely untested, but I would guess that if you made a
script with a while(1) loop around the Netscape command it would execute
Netscape again if it closes.


I hope that gives you some ideas to work off of.

-- 
William Hooper
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to