Running multiple X sessions

< How to start X sessions >

There are two ways to start the first X session: you either start the X Window System manually after logging in, or X starts automatically when your Linux system boots up. If your system is configured to start X automatically, you don’t have to worry about the first X session: it’s already running.

If you don’t have a graphical login, you probably start X with the startx command after logging in:

startx

The first X session you start runs on screen 0. It does this by default, so when you start an X session, you don’t have to specifically tell it to run on screen 0. However, you can run the second X session on screen 1, the third on screen 2, and so on. This is how you tell X to run on screen 1:

startx -- :1

Of course, to run X on screen 2, you’d use the command startx -- :2, and so on.

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s