> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 13, 2002 5:03 PM
> To: [EMAIL PROTECTED]
> Subject: VNC Session Manager ? ( desktop persistance )
> 
> 
> I looking for way to login users and check for existing vnc 
> sessions for that user. 
> If there are existing sessions, give the user a chance to 
> resume any of the current
> sessions or start a new one. ( This would allow a deskop or 
> application to remain
> persistant as long as the server stays up - eg even if a 
> power failure reboots a PC
> and user can just resume the app and not loose any work ) 
> Windows users would go
> crazy for this ... you could protect them from the blue 
> screen of death. Or perhaps
> they could resume they work at home via SSL without 
> restarting there app.
> 
> I played around with VNC and X, but can't see a way.
> 
> The perferred way would be throught a xinetd program that 
> could make a connections
> to a vncviewer. Display a login ( xdm ) and then a list of 
> sessions.  Then
> reconnecting the current vncviewer to the already existing 
> vncserver ( Xvnc ).
> ( the program would have to ps -ef and find any existing vnc 
> programs for that user
> and determine the port numbers ) and then some how connect 
> the session with the
> viewer.
> 
> 
> Thought someone smarter than me has thought this through.

The setup at http://www.sourcecodecorner.com/articles/vnc/linux.asp can do
something for you here. You might considder removing the `-once` flag to
Xvnc. However, this also shows some disadvantages of using init or xinit at
this point: you cannot find the old session sice inetd or xinetd just gives
a new one for every conneciton. According to my information, all Xvnc
sessions run are moved to other ports by inetd or xinetd.

So if you somehow can find the realy used port (have vncviewer log it
instead of the given displaynumber), you should be able to re-capture the
session. Your idea is to do it at the server side. However, if you do it at
the client side: have the viewer somewhere log the realy used port number
and initiate the viewer to that previously used port.


Just an idea which gets the same usability with a totally different aproach.


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

Reply via email to