How To Start Multiple X11 Sessions

If you want to run two or more X11 sessions on the same computer at the same time, you can do the following:

  1. Switch to an unused console
  2. Type startx -- :1 to start a second X11 session


  • To switch to the new X11 session you can use ALT-F8 (instead of the usual ALT-F7).
  • This only works if you don't use tty8 for a normal text console, i.e. you may not have an entry like
    8:23:respawn:/sbin/getty 38400 tty8
    in your /etc/inittab file.
  • You can also type startx -- :2 to start a third X11 session etc.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Second monitor

How to direct the second X11-session to another display-device (second monitor on my laptop)?

Second monitor

Hm, not sure. I think you need Xinerama for this (do a Google search, please).


the screen command

the screen command particularly xorg,conf