View previous topic :: View next topic |
Author |
Message |
hythl0day n00b
Joined: 22 Feb 2003 Posts: 4
|
Posted: Sat Feb 22, 2003 1:10 pm Post subject: how to make kdm or xdm start on several displays. |
|
|
how to make kdm or xdm start on several displays.
This is how to make xdm or kdm start up login screens on more than one display (ie ctrl-alt-f7/f8):
- xdm: have a look at /etc/X11/xdm/xdm-config. There should be a line like "DisplayManager.servers: /etc/X11/xdm/Xservers". Open this file. It will probably consist of one line, ":0 local /usr/X11R6/bin/X". Add the argument "vt7" onto the end of it, and then add the line ":1 local /usr/X11R6/bin/X :1 vt8" below it.
Go back to /etc/X11/xdm/xdm-config, and change all the display-0 specific settings to wildcards - for example DisplayManager._0.setup to DisplayManager*setup.
Now restart xdm, and you'll have two login displays that you can switch between with ctrl-alt-f7 and ctrl-alt-f8.
- kdm is even easier. Go into /usr/kde/3.1/share/config/kdm/kdmrc and make sure it's got the line "Xservers=/usr/kde/3.1/share/config/kdm/Xservers" in it. If it hasn't, or if it's different, add or change it. Then open the file /usr/kde/3.1/share/config/kdm/Xservers, and change the two lines above, exactly as in the xdm configuration. Now go back to /usr/kde/3.1/share/config/kdm/kdmrc and make sure it has the lines [X-:1-Core] and [X-:1-Greeter] in it. Then save and restart kdm, and you're done!
|
|
Back to top |
|
|
apokalyptik n00b
Joined: 18 Jun 2002 Posts: 62
|
Posted: Sat Feb 22, 2003 7:15 pm Post subject: |
|
|
for the sake of being thorough, gdm is extremely easy
edit /etc/X11/gdm/gdm.conf
look for '[servers]' and you should see
Code: | # These are the standard servers. You can add as many you want here
# and they will always be started. Each line must start with a unique
# number and that will be the display number of that server. Usually just
# the 0 server is used.
0=Standard
#1=Standard
# Note the VTAllocation and FirstVT keys on linux. Don't add any vt<number>
# arguments if VTAllocation is on, and set FirstVT to be the first vt
# available that your gettys don't grab (gettys are usually dumb and grab
# even a vt that has already been taken). Using 7 will work pretty much for
# all linux distributions. VTAllocation is not currently implemented on
# anything but linux since I don't own any non-linux systems. Feel free to
# send patches. X servers will just not get any extra arguments then.
#
#Note: If you want to run an X terminal you could add an X server such as this
#0=Terminal -query serverhostname
# or for a chooser (optionally serverhostname could be localhost)
#0=Terminal -indirect serverhostname |
uncomment "#1=Standard" or add however many you want, into that section... e.g:
Code: | # number and that will be the display number of that server. Usually just
# the 0 server is used.
0=Standard
1=Standard
2=Standard
# Note the VTAllocation and FirstVT keys on linux. Don't add any vt<number> |
_________________ http://www.apokalyptik.com/ |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|