LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-31-2004, 07:39 PM   #1
invasian
LQ Newbie
 
Registered: Aug 2004
Posts: 23

Rep: Reputation: 15
switch user in suse 9.1


In suse 9.1, you can stay logged on as 1 user while logging on as another user...i found this to be very kewl...is this something that is inherent for suse 9.1 or kde? is something like this available for fedora core? i've tried both distros...one at lab and one at home...i wish i could incorporate some features from both into one...
 
Old 08-31-2004, 07:45 PM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
This is something inherent to unix/linux.

startx -- :0 through 7 does the same thing.

ctrl-alt-F1 through F7 to switch.
 
Old 08-31-2004, 09:13 PM   #3
invasian
LQ Newbie
 
Registered: Aug 2004
Posts: 23

Original Poster
Rep: Reputation: 15
oh...that is interesting...i tried it out...i pressed ctrl+alt f2...it brought me to a text login screen...but then if i log in, i'm still in text....how do i enable the gui for that login?
 
Old 08-31-2004, 09:15 PM   #4
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
startx -- :0 through 7
 
Old 08-31-2004, 11:10 PM   #5
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,511

Rep: Reputation: 46
Thoreau,
I guess they are talking about the ability to run two instances of X on different ttys. Suse has a way to do this, by using the "Switch user" function on right click menu, at kde.
If I just switch to diff tty and startx, X won't run. But if I "switch user", X does run.
That wasn't possible on Suse 9.0, to my knowledge.
 
Old 08-31-2004, 11:24 PM   #6
invasian
LQ Newbie
 
Registered: Aug 2004
Posts: 23

Original Poster
Rep: Reputation: 15
bruno, yea...that's exactly what i'm talking about...i'm wondering if that is something that can be implemented in FC3 or not? or if it's something you can do now for FC2? or is it something that only suse 9.1 can do right now with kde?
 
Old 09-01-2004, 07:53 AM   #7
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,511

Rep: Reputation: 46
I don't know if you can do this with fc. I guess most likely it is possible. The problem is how much hacking will it take, and whether we can do it. If you plan to research on this, I'd recommend you to start by following the error msg that appears when you try to run a new X on a diff tty (something about removing a lock file). The questions is what you screw up by doing this...

Suse implemented this, probably thinking that isn't good enough to run several ttys if you can't go graphic on more than one. Until the 9.0 it wasn't possible.
 
Old 10-03-2004, 09:59 AM   #8
PolarByte
LQ Newbie
 
Registered: Oct 2004
Location: United Kingdom
Distribution: SuSE 9
Posts: 2

Rep: Reputation: 0
Hello,

If you are running only one instance of X, then invoking 'startx -- :1' is likely to be enough for starting another desktop environment. I understand that this is what Thoreau suggested.

This applies to both SuSE and Fedora Core.

Once your desktop environment is up and running you can change to console screens (text mode screens, ttyx) by pressing ctrl+alt+<f1-f6>. This applies even if you don't boot to desktop environment at all.
Ctrl+alt+f7 takes you back to the initial desktop that was started when you first logged on.

So, after changing to a console screen log on and try typing in 'startx -- :1' for example. This should give you the second desktop. The assumption is that you are not running another desktop environment yet. Thus, ':1' is the first one that's likely to work. Ctrl+alt+f8 will take you to that screen.
'startx' equals to 'startx -- :0' . That's why plain 'startx' doesn't lead to the intended outcome because desktop '.0' is already up and running.

You can see locked variables (each of which correspond to the screen of respective number) by typing in for instance
'ls -a /tmp/ | grep lock'.

After trying 'startx -- :1' you can change to another console and try 'startx -- :203' if you wish. When ever a new desktop is started, a new f-key will be assigned to it so you can change between screens by using ctrl-alt-<f-key> combinations. Obviously some of those are console screens whereas others are desktops then.


Kind Regards,
PolarByte
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 10.0, no switch user in KDE? badbunny SUSE / openSUSE 11 10-28-2005 01:58 AM
Switch user veenanaidu Linux - Software 2 01-04-2005 11:35 PM
Switch user spotslayer Linux - Software 2 09-18-2004 04:05 PM
SuSE 9.1 'Switch User' when screensaver is locked Cichlasoma Linux - Distributions 1 07-20-2004 07:49 AM
fast user switch demmylls Linux - General 1 12-02-2003 07:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:14 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration