Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiple X sessions
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
TazG
Guru
Guru


Joined: 22 May 2004
Posts: 320
Location: Canada

PostPosted: Sun Jul 11, 2004 6:33 pm    Post subject: Multiple X sessions Reply with quote

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
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Sun Jul 11, 2004 6:56 pm    Post subject: Reply with quote

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

Code:
exec startkde


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
View user's profile Send private message
TazG
Guru
Guru


Joined: 22 May 2004
Posts: 320
Location: Canada

PostPosted: Sun Jul 11, 2004 8:25 pm    Post subject: Reply with quote

Yeah actually I would like the KDM login box...
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Sun Jul 11, 2004 8:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
TazG
Guru
Guru


Joined: 22 May 2004
Posts: 320
Location: Canada

PostPosted: Sun Jul 11, 2004 11:05 pm    Post subject: Reply with quote

Didn't work... I uncommented all the :0, :1 lines and added one for F12 and restarted X.
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Mon Jul 12, 2004 12:04 am    Post subject: Reply with quote

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
View user's profile Send private message
TazG
Guru
Guru


Joined: 22 May 2004
Posts: 320
Location: Canada

PostPosted: Mon Jul 12, 2004 2:07 am    Post subject: Reply with quote

I used Ctrl+Alt+Backspace.

But since then I have restarted the computer and it still doesn't work...
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Mon Jul 12, 2004 4:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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