[ale] running two X servers

James P. Kinney III jkinney at localnetsolutions.com
Fri Jan 17 22:32:58 EST 2003


So, how much RAM do you have left?

On Fri, 2003-01-17 at 22:09, Geoffrey wrote:
> 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. :)
-- 
James P. Kinney III   \Changing the mobile computing world/
President and CEO      \          one Linux user         /
Local Net Solutions,LLC \           at a time.          /
770-493-8244             \.___________________________./

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics) <jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 



 This is a digitally signed message part




More information about the Ale mailing list