-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 We have discussed this feature before, and it seems it is trivial to get this to work, since kdm seems to support it if the xdm config files are right.
Credit for finding this goes to Texstar, who posted it here: http://pclinuxonline.com/modules.php?mop=modload&name=Forums&file=viewtopic&topic=1691&forum=18 Here is the detail, taken from the post and some replies: Texstar: > KDE has the ability to start a new Xsession from the KDE menu. Here is how to set it up. > > Edit /etc/X11/xdm/Xservers with your favorite text editor in su (root) > mode and add the following lines at the bottom of the file: > > :1 local reserve /usr/X11R6/bin/X :1 vt8 > :2 local reserve /usr/X11R6/bin/X :2 vt9 > :3 local reserve /usr/X11R6/bin/X :3 vt10 > :4 local reserve /usr/X11R6/bin/X :4 vt11 > :5 local reserve /usr/X11R6/bin/X :5 vt12 > > Save the file, exit out of kde and restart your Xserver. Log back in > and in the kde menu you should see start new session. > > http://www.ibiblio.org/pub/linux/distributions/contrib/texstar/mandrake/9.1/screenshots/newsession.jpg > > The only thing I haven't been able to figure out yet is if another > user logs in on top of you, the arts server doesnt want to start for > that person. ranger (me) > A cleaner method may be to do something like this ... in /etc/security/console/perms, change: > 0600 0600 root.audio > to > 0660 0660 root.audio > > Add the relevant users to the audio group, and then try logging everyone out, and back in again. (this works for me, KDE does not complain any more, but my cooker box has no speakers, so I am not sure if sound actually works) ranger (me) > It gets better ... > > Lock your screen from within KDE, and now instead of the dialog just > showing a password textbox, it also has a button for starting a new > session. > > How cool is that? > > Let me see if I can make a screenshot ... > > ... done: > > http://ranger.dnsalias.com/mandrake/screenshots/kdm-newsession-screensaver_s.png So, what are the consequences of doing this (besides losing a VT to something else?). Would it be possible to have at least one reserve server set up by default? It might be an idea to have XFdrake or drakdm or whatever handle this, and be able to adjust the number of reserves, otherwise if it's not an issue, why not ship with about 4 working reserves? If a new X server is started up, and not used in a minute or so, kdm closes it down. BTW, AFAIK SuSE ships with the "new session" working, and I think adds all users to audio group by default (among others) and allows audio group to write to sound devices. Regards Buchan - -- |--------------Another happy Mandrake Club member--------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x202 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/BFfTrJK6UGDSBKcRAkUFAJ9fi6L4608wNThF5IWg/joZICbB6ACfQWFW 6QQnleMOOwcgWqRmD7otizQ= =li8+ -----END PGP SIGNATURE----- ****************************************************************** Please click on http://www.cae.co.za/disclaimer.htm to read our e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy. ******************************************************************
