[ale] running two X servers
Geoffrey
esoteric at 3times25.net
Fri Jan 17 22:09:01 EST 2003
There was a question at the ALE NW meeting last night regarding running
two X servers on one box. I just verified my own suggestion and thought
I'd put it type.
I actually did it two different ways as follows:
First approach:
at a virtual console, with no X running (X, gdm, xdm, kdm..) I ran:
startx
I get X up and running. I then switch to a virtual console
(ctrl-alt F1).
I ran:
startx -- :1
I'm now in a second X session. If I hit (cntrl-alt-F7) I'm back to my
original X session. cntrl-alt-F8 takes me to the second session.
I did this as two different users, one being root. I also did it with
the same non-root user.
Second approach:
I fired up gdm which is the way my box normally comes up. I logged in
as my normal user, esoteric. I then switched to a virtual console
(cntrl-alt-F1), logged in as root and issued:
startx -- :1
Again, same thing, I'm now in an X session as root. I can switch to my
normal user via (cntrl-alt-f7) and back to the root X session with
(cntrl-alt-f8)
So, of course this got me thinking, which is a dangerous thing for me,
most of the time. So, with two X sessions running, one on accessible
via (cntrl-alt-f7) and another via (cntrl-alt-f8) what did I do? You
guess it, I went to a virtual console and executed:
startx -- :2
That's right now I have three X sessions running, the third one
accessible via (cntrl-alt-f9).
Have fun folks, I'll stop there, although I've got F10-F12 left. :)
--
Until later: Geoffrey esoteric at 3times25.net
The latest, most widespread virus? Microsoft end user agreement.
Think about it...
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list