How to restore the session if vnc server is configure as daemon mode xinetd

Dhillon, Gurjit dhillon.gs "at" pg.com
Fri Feb 16 10:42:01 2007


We are using the default one to connect to the server through vnc, we
have lots of users who login to the server and connect to vnc server, to
reduce some of the steps for the users to connect through vnc , I was
looking something, as it seems vnc with xinetd is not going to work for
me , is there any other techno.. which can help me to connect the server
as I am able to connect through vnc , but will also give the option of
saving the session for future use.

Thanks for all your efforts you are giving to me.

Gurjit Dhillon


-----Original Message-----
From: Corne Beerse [mailto:cbeerse "at" gmail.com] 
Sent: Friday, February 16, 2007 5:23 AM
To: Dhillon, Gurjit; vnc-list "at" realvnc.com
Subject: Re: How to restore the session if vnc server is configure as
daemon mode xinetd

Dhillon, Gurjit wrote:

>I have set up vnc as a daemon mode through xinetd, it is working fine.
>
>  
>
Great.

>User give ipaddress and the predefined port number to connect the vnc
>server. The only difference is now user doesn't need to login the Linux
>server and generate the port number to connect the server through vnc,
>now it is asking for login and password to connect the server.  But
here
>if user close the session after login or after his job done, and want
to
>work in the same session after some day or some time, they are not able
>to do that.
>
>  
>
Thats one of the nice features of inetd (or xinetd): As soon as the 
connection ends, the processes are cleared.
If you want re-entrant vnc-sessions, you cannot use inetd or xinetd.

>The earlier scenario was, when ever the user use to login server and
use
>to run the command vncserver , where they use to get the port number to
>connect the server through vnc, once they login the session they were
>able to save the session till the time they kill the session manually
>from Linux server . that mean if they close the session and want to
open
>the same session even after some day, they just have to give the
>ipaddress and the port number they have login earlier,
>
>  
>
If you want these re-entrant vnc-sessions, you should not use inetd or 
xinetd. If you want re-entrant vnc-sesions, you can either sitck by the 
default method where users start vnc manually or you can add the Xvnc 
binary as an additional X11 server. I've done this in the past on HP-UX 
using the CDE display manager and on Redhat (7.x) using gnome or kde. 
Scan the mail archive or vnc-websites for details.




Success

CBee