On Sunday 14 April 2002 5:56 pm, Carlos Sousa wrote: [snip] > So it would seem your unix machine must have as much instances of > vncserver running as you have users (each on its own virtual display, I > presume). gdm is still not required because user selection and > authentication is done on the client side (by selecting machine:display > and password). > > Actually, I don't think it's possible to use gdm with VNC's X server, > which must be already running under a user ID when the client connects. > What you want is probably an X server for Windows that can be managed > by gdm, and VNC ain't no such thing.
It is possible to have VNC launch as a service when required from inetd. You define ports in /etc/services and add lines to inetd to display VNC servers of a particular resolution & colour depth, say 800x600x8 on port 5850 & 1024x768x8 on 5851. Any client that wants an [EMAIL PROTECTED] session runs vncviewer to serverhost:50 and gets an X login window (gdm, kdm, etc). Use serverhost:51 to get the login at [EMAIL PROTECTED] It works very nicely, but it loses one advantage of a 'normal' vncserver session - it's no longer stateless :) When the client closes the window, the session gets shut down. The docs for this are on the VNC site somewhere, and the feature's been around for a while - I've been using at work for 18 months or so and it works really well. I can dig out more details if anyone's interested. > Anyway, you can take a look at a detailed paper on VNC on > ftp://ftp.uk.research.att.com/pub/docs/att/tr.98.1.pdf > > Good luck. Regards, Martin -- [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.dbg400.net /"\ DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open \ / Source free test environment tools and others (file/spool/misc) X [this space for hire] ASCII Ribbon Campaign against HTML mail & news / \ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]