LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   X server sessions.... (https://www.linuxquestions.org/questions/linux-newbie-8/x-server-sessions-207258/)

Basslord1124 07-20-2004 12:18 AM

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?

slyman 07-20-2004 01:43 AM

Yes, you do... several actually...

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

Can you paste your /etc/inittab here?

JZL240I-U 07-20-2004 04:05 AM

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...

slyman 07-20-2004 04:41 AM

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).

JZL240I-U 07-20-2004 04:54 AM

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 :D.

Basslord1124 07-20-2004 06:00 AM

I am using Fedora C2 (yeah I know I forgot to put it in my user CP...doh! :o )


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