15/07/2008

Running multiple X servers with Ubuntu

Developing Samurai-X ive definatly needed to be running two X servers. Finding how to do this on Ubuntu was a bit of a pita so here is a quick guide:

  • sudo dpkg-reconfigure x11-common
    select "console users"
  • create/copy a .xinit file, make sure it has at least something like
    exec /usr/bin/xterm
  • Press Control+Alt+F1 and login
  • Run
    xinit .your-xinit -- :1
  • Switch to the new x server with Control+Alt+F9

You can run more by changing the :1 to :2 or whatever

Ive read lots of alternatives but this is the only way Ive got it to work on Ubuntu Hardy.

No comments: