Using Xvnc from xdm

Oliver Hemming Oliver.Hemming "at" jet.uk
Thu, 04 Mar 1999 10:49:49 +0000


Andre,
This is something that we also would like to do; if I understood correctly, the
-sock option is something you've added (I couldn't see such an option for Xvnc).
If so, could you (or anybody else who has done the same thing) let me know the
mods you made.

TIA
Oliver


Andre Moreira wrote
> Sorry about my poor english.
> Ok, we follow more or less the same steps some time ago and had the same
> problem, on the other hand there were a lot of servers running all the time.
> 
> Our final solution was to make a launcher and some changes to Xvnc:
> 
> The launcher accepts connections on some TCP port say 5900 for display 0.
> Then finds a free X-Display and finaly forks and launches Xvnc in that
> display with
> the aditional option -sock with the connected socket number.
> 
> With the -sock optiop Xvnc never accepts connection, it just uses the connected
> socket given by the launcher. When the connection goes away Xvnc terminates.
> Using -once option is a good idea in order to Xvnc terminate when reseted.


-- 
 __________________________________  __________________  ___
|__________________________________||____      ___   __||___|
| Oliver.Hemming "at" jet.uk                  | || |__ | |       |
| CODAS Division                      _  | ||  __|| |       |
| JET Joint Undertaking              \ \_| || |__ | |       |
| Abingdon, Oxon.                     \___/ |____||_|       |
| OX14 3EA                                                  |
| UnitedKingdom.                                            |
| Voice: (++44)1235 46-4437;   Fax: (++44)1235 46-4404      |
+-----------------------------------------------------------+

---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------