View previous topic :: View next topic |
Author |
Message |
TazG Guru
Joined: 22 May 2004 Posts: 320 Location: Canada
|
Posted: Sun Jul 11, 2004 6:33 pm Post subject: Multiple X sessions |
|
|
I read that you can get multiple X sessions by:
startx -- :1
startx -- :2
etc. This works but I always get that hideous twm. How do I get it to start kdm? |
|
Back to top |
|
|
Dolio l33t
Joined: 17 Jun 2002 Posts: 650
|
Posted: Sun Jul 11, 2004 6:56 pm Post subject: |
|
|
Do you want to start KDE or KDM?
If you want to start KDE, look in your ~/.xinitrc or ~/.Xsession file (I forget which it is, try xinitrc first). If you don't have one or the other, try creating one that says:
Code: | #!/bin/bash
startkde |
For .xinitrc and
for .Xsession.
That should start kde from startx. If you do have them already, just add that to the end (instead of twm if that's there).
If you really want a graphical login on multiple x sessions, that's going to be a little more complicated, and I'll have to look up some stuff. _________________ They don't have a good bathroom to do coke in. |
|
Back to top |
|
|
TazG Guru
Joined: 22 May 2004 Posts: 320 Location: Canada
|
Posted: Sun Jul 11, 2004 8:25 pm Post subject: |
|
|
Yeah actually I would like the KDM login box... |
|
Back to top |
|
|
Dolio l33t
Joined: 17 Jun 2002 Posts: 650
|
Posted: Sun Jul 11, 2004 8:55 pm Post subject: |
|
|
Okay. Look at: /usr/kde/3.2/share/config/kdm/Xservers
Looks pretty self explanatory to me. Just uncomment some lines in there.
vtX means that you press ctrl-alt-FX to get there (vt7, F7, etc.).
Haven't tested it myself, but it looks like it would work. You might have to restart KDM to make it take effect. _________________ They don't have a good bathroom to do coke in. |
|
Back to top |
|
|
TazG Guru
Joined: 22 May 2004 Posts: 320 Location: Canada
|
Posted: Sun Jul 11, 2004 11:05 pm Post subject: |
|
|
Didn't work... I uncommented all the :0, :1 lines and added one for F12 and restarted X. |
|
Back to top |
|
|
Dolio l33t
Joined: 17 Jun 2002 Posts: 650
|
Posted: Mon Jul 12, 2004 12:04 am Post subject: |
|
|
Did you actually restart kdm?
Code: | /etc/init.d/xdm restart |
_________________ They don't have a good bathroom to do coke in. |
|
Back to top |
|
|
TazG Guru
Joined: 22 May 2004 Posts: 320 Location: Canada
|
Posted: Mon Jul 12, 2004 2:07 am Post subject: |
|
|
I used Ctrl+Alt+Backspace.
But since then I have restarted the computer and it still doesn't work... |
|
Back to top |
|
|
Dolio l33t
Joined: 17 Jun 2002 Posts: 650
|
Posted: Mon Jul 12, 2004 4:08 am Post subject: |
|
|
Okay. Log into KDE and in the KMenu, you should see an option: Start New Session. When you choose that, it will start up a new KDM session in the next vt you set up.
I suspect that if you take out the "reserved" in the lines you uncommented, it will start them up automatically without your having to choose an option in KDE (which is probably good if you're going to be using a different window manager, for example). _________________ They don't have a good bathroom to do coke in. |
|
Back to top |
|
|
|