LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 07-20-2004, 12:18 AM   #1
Basslord1124
Member
 
Registered: Jun 2004
Location: Ashland, KY
Distribution: Debian, Puppy/Slacko
Posts: 351

Rep: Reputation: 31
X server sessions....


Someone here posted a cool site that had a lot of helpful shortcuts and things on Linux and I was messing around with those the other night. One of these dealt with using Ctrl-Alt-one of the F keys to change between different sessions....even different GUI sessions. I tried executing the command but it gave me some error on how it was already running on session 0 or whatever. Do I sense editting another config file in my future?
 
Old 07-20-2004, 01:43 AM   #2
slyman
Member
 
Registered: Jun 2004
Location: Sydney, Australia
Distribution: FC3, Linux From Scratch, Knoppix
Posts: 99

Rep: Reputation: 15
Yes, you do... several actually...

Do you boot straight into xwindows via xdm, gdm etc?

Can you paste your /etc/inittab here?
 
Old 07-20-2004, 04:05 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,675

Rep: Reputation: Disabled
No, he actually doesn't have to depending a little on the distribution he uses (*hrmph* why don't you use the user CP?).

When you are logged in (first user) your session is connected to <Ctrl><Alt><F1> text mode and to <Ctrl><Alt><F7> in graphical mode.

Just press <Ctrl><Alt><F2> give the name of the new user and his password. Then enter
Code:
startx -- :2 &
with the blank spaces exactly as shown (& is optional, it just puts the graphical mode in the backgrund relative to <Ctrl><Alt><F2>). Then you will have a graphical login at <Ctrl><Alt><F8>. You can switch between any and all sessions or create further ones at <Ctrl><Alt><F3> and <Ctrl><Alt><F9> and so on and so forth...

Don't forget to log out! I once messed my file system with a "brutal" shutdown -h now...
 
Old 07-20-2004, 04:41 AM   #4
slyman
Member
 
Registered: Jun 2004
Location: Sydney, Australia
Distribution: FC3, Linux From Scratch, Knoppix
Posts: 99

Rep: Reputation: 15
JZL240I-U, yes it does depend on the distribution, but it may be entirely possible that he only has one X server available. This is the case if you install xfree86 or xorg from binaries or source and od not usie a graphical login. Even if you do, you may only have one server/screen availabe.

If you look in /etc/inittab, see what, if any, graphical login is being used and then work from there you do not even have to worry about what distro is being used (and you wil be actually learning something).

Last edited by slyman; 07-20-2004 at 04:43 AM.
 
Old 07-20-2004, 04:54 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,675

Rep: Reputation: Disabled
Quote:
Originally posted by slyman
... it may be entirely possible that he only has one X server available. ...
That's true, but he was posting in the "Newbie" forum so I reasoned he would use a newbie-friendly distibution, which usually have more than one tty accessible...

Quote:
Originally posted by slyman
... look in /etc/inittab, see what, if any, graphical login is being used ... and you wil be actually learning something.
Also true .
 
Old 07-20-2004, 06:00 AM   #6
Basslord1124
Member
 
Registered: Jun 2004
Location: Ashland, KY
Distribution: Debian, Puppy/Slacko
Posts: 351

Original Poster
Rep: Reputation: 31
I am using Fedora C2 (yeah I know I forgot to put it in my user CP...doh! )
 
  


Reply


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
Too many sessions, how to end? Recirqie Linux - Software 3 11-21-2004 04:44 PM
Two X sessions? LinuxSeeker Linux - General 3 04-07-2004 03:39 PM
Sessions BajaNick Linux - General 0 07-30-2003 09:19 PM
VNC Server Sessions Sabeer Linux - Networking 1 05-21-2003 02:56 AM
PHP Sessions RecoilUK Programming 1 04-21-2002 05:57 AM


All times are GMT -5. The time now is 11:34 PM.

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