On Sunday 11 July 2004 21.00, Jake wrote:
what command should I use to start a new session as a different user? I used to have a "start new session" option in my kmenu but somewhere along the line this went away. I want to be able to cntrl+f8 to new session and cntrl+f7 back to "my" session.
This is done through kdm. In either /etc/opt/kde3/share/config/kdm/Xservers or /opt/kde3/share/config/kdm/Xservers (depending on how the rpm was built), you need to set up "reserve" X servers. Something like :0 local@tty1 /usr/X11R6/bin/X -nolisten tcp -br vt7 :1 local@tty2 reserve /usr/X11R6/bin/X -nolisten tcp -br :1 vt8 :2 local@tty3 reserve /usr/X11R6/bin/X -nolisten tcp -br :2 vt9 :3 local@tty4 reserve /usr/X11R6/bin/X -nolisten tcp -br :3 vt10 :4 local@tty5 reserve /usr/X11R6/bin/X -nolisten tcp -br :4 vt11 :5 local@tty6 reserve /usr/X11R6/bin/X -nolisten tcp -br :5 vt12 is the standard. With this, kdm will be able to launch 6 parallell sessions