Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-28-2004, 05:58 AM   #1
LQ Newbie
Registered: Apr 2004
Posts: 17

Rep: Reputation: 0
Question Multiple X login screens

Hi all,

I want know how to get additional X session on my machine.

My initdefault is 5.

I have console mode login screens on consoles 1-6 and another X login session on console 7.

I want to know how get another X login screen on console 8.

Thanks in advance.

Old 04-28-2004, 06:39 AM   #2
Registered: Apr 2003
Location: Israel
Distribution: Gentoo
Posts: 61

Rep: Reputation: 15
You can start as many X servers as you want.
Th command is :
$ startx -- :<display>
For example :
$ startx -- :1
will start second X server with the same preferences as default one. You would be able to switch between them using Alt-F7, Alt-F8 and so on.
See man pages for startx and xinit for more details(and there are lot of them).
You can also configure them to use different XF86Config, or make single XF86Config to distinct between your X servers. See XF86Config manual for details.
Old 04-28-2004, 08:07 AM   #3
LQ Newbie
Registered: Apr 2004
Posts: 17

Original Poster
Rep: Reputation: 0
Exclamation At startup

Ya, thanks.

But how make it automatically with the system startup.

After posting the question, I tried by editing,

/etc/X11/xdm/Xservers :

:0 local /usr/X11R6/bin/X
:1 local /usr/X11R6/bin/X -query x.x.x.x :1
:2 local /usr/X11R6/bin/X -query x.x.x.x :2



Is this the correct way ?
Old 04-29-2004, 08:12 PM   #4
Senior Member
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,075

Rep: Reputation: 203Reputation: 203Reputation: 203
boot to init 3 and write a script to start X for each user
I'm thinking about doing just this on my machine


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple mopuse control with touch screens Stephanie Linux - General 1 12-04-2005 02:07 PM
nvidia graphics driver with multiple screens miko3k Linux - Hardware 2 11-24-2005 05:58 AM
Multiple SCREENS, different WM's. And some other stuff... xeristian/null Linux - Software 1 04-25-2005 03:25 PM
Fast User Switching or Multiple X login screens - How? suslik Slackware 10 08-31-2004 07:50 AM
Multiple X screens, multiple WM, TV-out Iskendar Linux - General 1 07-08-2004 10:46 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration