View previous topic :: View next topic |
Author |
Message |
littleman Tux's lil' helper
Joined: 17 Oct 2003 Posts: 114 Location: Paris
|
Posted: Wed Jun 23, 2004 1:16 pm Post subject: How do I run multiple X servers on a single display ? |
|
|
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 |
|
|
saccory Apprentice
Joined: 18 Feb 2004 Posts: 176 Location: Göttingen, Germany
|
Posted: Wed Jun 23, 2004 1:20 pm Post subject: |
|
|
Code: | if (you_use == kdm)
/usr/kde/3.2/share/config/kdm/Xservers
else
/etc/X11/xdm/Xservers
|
|
|
Back to top |
|
|
littleman Tux's lil' helper
Joined: 17 Oct 2003 Posts: 114 Location: Paris
|
Posted: Wed Jun 23, 2004 1:54 pm Post subject: |
|
|
.....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 |
|
|
saccory Apprentice
Joined: 18 Feb 2004 Posts: 176 Location: Göttingen, Germany
|
Posted: Wed Jun 23, 2004 2:00 pm Post subject: |
|
|
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 |
|
|
littleman Tux's lil' helper
Joined: 17 Oct 2003 Posts: 114 Location: Paris
|
Posted: Wed Jun 23, 2004 2:07 pm Post subject: |
|
|
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 |
|
|
saccory Apprentice
Joined: 18 Feb 2004 Posts: 176 Location: Göttingen, Germany
|
Posted: Wed Jun 23, 2004 2:12 pm Post subject: |
|
|
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 |
|
|
|