Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I run multiple X servers on a single display ?
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
littleman
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2003
Posts: 114
Location: Paris

PostPosted: Wed Jun 23, 2004 1:16 pm    Post subject: How do I run multiple X servers on a single display ? Reply with quote

Last year, I used to have 2 instances of gdm running at startup, one on vc7, and one on vc8 so that I could log in both as root and normal users and switch easily between the 2 X desktops...trouble is...I've forgotten how I did that or where I read the tutorial on how to do it. Can't find it in the forums either. HELP :)
_________________
La différence entre la théorie et la pratique, c'est qu'en théorie, y'a pas de différence entre la théorie et la pratique.
Back to top
View user's profile Send private message
saccory
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 176
Location: Göttingen, Germany

PostPosted: Wed Jun 23, 2004 1:20 pm    Post subject: Reply with quote

Code:
if (you_use == kdm)
  /usr/kde/3.2/share/config/kdm/Xservers
else
  /etc/X11/xdm/Xservers
Back to top
View user's profile Send private message
littleman
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2003
Posts: 114
Location: Paris

PostPosted: Wed Jun 23, 2004 1:54 pm    Post subject: Reply with quote

.....right :p

Now what do I put in the file ???

For now, I only have this:

:0 local /usr/X11R6/bin/X
_________________
La différence entre la théorie et la pratique, c'est qu'en théorie, y'a pas de différence entre la théorie et la pratique.
Back to top
View user's profile Send private message
saccory
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 176
Location: Göttingen, Germany

PostPosted: Wed Jun 23, 2004 2:00 pm    Post subject: Reply with quote

Mine looks like
Code:

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

and you can comment out as much lines as you need. If you leave the reserve keyword you will be able to start another instance from the k(de)-menu. If you remove the reserve keyword kdm will start the session from the beginning.
Back to top
View user's profile Send private message
littleman
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2003
Posts: 114
Location: Paris

PostPosted: Wed Jun 23, 2004 2:07 pm    Post subject: Reply with quote

woops !! I shoul've read better, that COULD work if only I used xdm, but I use gdm, lol...so I guess those lines won't do anything for me...
_________________
La différence entre la théorie et la pratique, c'est qu'en théorie, y'a pas de différence entre la théorie et la pratique.
Back to top
View user's profile Send private message
saccory
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 176
Location: Göttingen, Germany

PostPosted: Wed Jun 23, 2004 2:12 pm    Post subject: Reply with quote

I think in that case you can add
Code:
1=/usr/bin/X11/X vt8
to your /etc/X11/gdm/gdm.conf.
I've never done that (kdm works great) so the actual syntax may vary a bit.
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