Search:  
Gentoo Wiki

TIP_Run_multiple_KDM_instances

This article is part of the Tips & Tricks series.
Terminals / Shells Network X Window System Portage System Filesystems Kernel Other

To have KDM run multiple instances simply edit this file:

File: /usr/kde/3.3/share/config/kdm/Xservers
....

:0 local@tty1 /usr/X11R6/bin/X -nolisten tcp
:1 local@tty2 /usr/X11R6/bin/X -nolisten tcp :1
#:2 local@tty3 reserve /usr/X11R6/bin/X -nolisten tcp :2
#:3 local@tty4 reserve /usr/X11R6/bin/X -nolisten tcp :3
#:4 local@tty5 reserve /usr/X11R6/bin/X -nolisten tcp :4

....

Next time you restart X you will have 2 instances of KDM on tty7 and tty8 (This may vary depending on your settings)

Editing the additional lines can give you more then 2 KDM instances, allowing for even more people to use a single computer without ever logging out


This is also a great way to try out new WMs

Note: From KDE 3.4 you no longer need to edit this file because new instances of kdm are run whenever you switch user (similar to another modern operating system). If you are using kdm but kde is not your WM, you can switch user by running the command kdmctl reserve

Retrieved from "http://www.gentoo-wiki.info/TIP_Run_multiple_KDM_instances"

Last modified: Tue, 13 Jun 2006 22:23:00 +0000 Hits: 14,521