Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-06-2012, 03:42 PM   #1
Registered: Apr 2008
Posts: 108

Rep: Reputation: 15
Smile How do I allow multiple users to login and have GUI via Cntrl Alt F1

The only way I know I can have multiple users login on one workstation and have there own enviornment is to have them Control Alt F1 The only problem is the console is commmand line unless you Control Alt F7 (which toggles you back to the orginal GUI login). I executed startx at the console and it returned with an error Fatal Error Serve is Already Active for display 0.

Any suggestions? My only other option is to purchase Exceed.

A million thanks
Johnny Mac
Old 01-06-2012, 04:08 PM   #2
Registered: Jul 2011
Distribution: arch, vector, mint
Posts: 37

Rep: Reputation: Disabled
Try the command startx -- :1 this will start a new x session on display 1. You can switch to the origional with ctrl-alt-f7 and to the new with ctrl-alt-f8. Also look into qingy instead of a display manager because it is very useful for running multiple x sessions at once.
Old 01-06-2012, 04:09 PM   #3
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,398
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
At least a couple of choices come to mind:

KDE has a 'Switch User' function, which allows you to open another session.

You can use arguments to startx to tell it to open a 'server #2', 'server #3'... You can use Ctrl-Alt-F8, Ctrl-Alt-F9... to select each one.

--- rod.
Old 01-06-2012, 04:09 PM   #4
Senior Member
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Well, it's not clear exactly what you want from your post.

You can have multiple X sessions running simultaneously. How you connect to them is where your first post gets ambiguous.

For instance, you can spawn multiple X sessions on your virtual terminals (what you are referring to as Control Alt FX). I searched Google for 'run multiple X sessions' and this page was one of the first results. It describes how to start multiple X sessions by changing the display number that the X server uses. The error you mention is probably caused by the fact that "startx" assumes you want to start an X session on display 0 if you do not specify something else. And because you already have an X session running on display 0, you get the "already active" message. If you use the approach in the page I linked to, you can have multiple users logged into separate X sessions (e.g. GNOME, KDE, xfce, etc.), but they will all require the same keyboard and chair. In other words, it's really only useful in case a person wants to have multiple X sessions running under different user accounts.

Alternatively, the X server is network-aware. It is possible for you to configure your computer's X server to allow network connections from other machines. In effect, your computer would be handling the X session for a user on another machine. I have not looked closely at the X server internals to give you any help on this. You'll need to search with Google. This approach lets multiple people log in and use the system simultaneously.

Lastly, you can get the same result as the second option I mentioned with other software. Specifically, VNC comes to mind. You can configure your machine to spawn 1, 2, 3, 4, or however many VNC sessions you need. Then clients connect to them from other computers with VNC viewers. In effect, it's the same thing Hummingbird/Exceed does. If you try this approach, be aware that you may need to manually adjust some X startup files to get a GNOME or KDE environment for clients that connect through a VNC viewer. Most distributions should include VNC servers in the package repositories. Some, like Ubuntu if I recall, have something similar or re-packaged and labeled "remote desktop" or something similar.

Last edited by Dark_Helmet; 01-06-2012 at 04:14 PM.
Old 01-08-2012, 06:48 PM   #5
Registered: Apr 2008
Posts: 108

Original Poster
Rep: Reputation: 15

A million thanks for all this excellent advice. I will try all the above Monday.


Running on Stand-Alone (RHEL 5). Sorry for not elaborating.

Take care,
Johnny Mac


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Advice on easiest LAN login system for multiple users jford_oldman Linux - Security 2 09-12-2010 05:09 PM
CNTRL+ALT+BCKSP Doesn't Work Ingla Linux - General 3 01-29-2007 09:21 AM
multiple users in a gui surban99 Linux - General 3 10-05-2006 03:30 PM
cntrl-alt-del? DJOtaku Linux - General 4 02-04-2005 04:46 PM
can't startx after cntrl-alt-F2 ....... purpleburple Linux - General 5 07-06-2002 08:32 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration