LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 02-06-2012, 03:24 AM   #1
comcastuser
Member
 
Registered: May 2004
Posts: 121

Rep: Reputation: 22
How do you switch users like in Windows 7?


I know how to switch users in console mode, that's easy as breathing.

The issue is how to have one X session open as user1, while having another X session open as user2, so when one person leaves and locks their screen/account, someone else can log into their account without user1 having to log out of the user1 account first, like in Windows 7.

Thanks!
 
Old 02-06-2012, 03:37 AM   #2
rich_c
Member
 
Registered: Apr 2008
Location: UK
Distribution: Mepis; Maemo; openSUSE
Posts: 371
Blog Entries: 70

Rep: Reputation: 81
It pretty much depends on which distro/desktop environment you are using. Just as an aside, to the best of my knowledge KDE was letting start another user desktop session long before microsoft saw fit to provide the facility. (Only started doing that with Vista unless I'm much mistaken.)
 
Old 02-06-2012, 10:04 AM   #3
thund3rstruck
Member
 
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 16, Slackware64 13.37, Win7
Posts: 271

Rep: Reputation: 21
Quote:
Originally Posted by rich_c View Post
Just as an aside, to the best of my knowledge KDE was letting start another user desktop session long before microsoft saw fit to provide the facility. (Only started doing that with Vista unless I'm much mistaken.)
I'm fairly sure Windows XP allowed for fast user switching, actually now that I think about it, I seem to remember Windows 98 allowing for fast user switching (kind of a contradiction since "users" in Windows 98 weren't really users [in the traditional sense, with isolated profiles]).

This is actually a good question. I'm using Gnome 3.2.1 and it includes fast user switching. Not sure if this is common for other DEs though.
 
Old 02-06-2012, 10:44 AM   #4
johnsfine
Senior Member
 
Registered: Dec 2007
Distribution: Mepis, Centos
Posts: 4,007

Rep: Reputation: 731Reputation: 731Reputation: 731Reputation: 731Reputation: 731Reputation: 731Reputation: 731
Quote:
Originally Posted by comcastuser View Post
how to have one X session open as user1, while having another X session open as user2, so when one person leaves and locks their screen/account, someone else can log into their account without user1 having to log out of the user1 account first
Quote:
Originally Posted by rich_c View Post
It pretty much depends on which distro/desktop environment you are using.
In other words, Comcastuser should indicate which version of which desktop and distribution, then someone could give specific (click on which menu and select what) instructions.

Next time I'm at my home computer, I could give specific instructions for KDE 3 on an obsolete version of Mepis. But odds are that isn't what Comcastuser needs.

But on the desktops where I looked for that feature, it wasn't very hard to find. So maybe you can just look for it and start using it.
 
1 members found this post helpful.
Old 02-06-2012, 04:37 PM   #5
comcastuser
Member
 
Registered: May 2004
Posts: 121

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by johnsfine View Post
In other words, Comcastuser should indicate which version of which desktop and distribution, then someone could give specific (click on which menu and select what) instructions.

Next time I'm at my home computer, I could give specific instructions for KDE 3 on an obsolete version of Mepis. But odds are that isn't what Comcastuser needs.

But on the desktops where I looked for that feature, it wasn't very hard to find. So maybe you can just look for it and start using it.
Okay how do you do this in KDE 4?
 
Old 02-06-2012, 04:46 PM   #6
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Ubuntu Slackware
Posts: 1,020

Rep: Reputation: 41
If you are running KDM. there should be no problem. Just lock your session and user 2 can "switch user."
 
Old 02-06-2012, 05:16 PM   #7
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,575

Rep: Reputation: 97
Quote:
Originally Posted by thund3rstruck View Post
I'm fairly sure Windows XP allowed for fast user switching, actually now that I think about it, I seem to remember Windows 98 allowing for fast user switching
Windows 98 was a single user OS.

Windows NT and 2000 were multi-user OSes, but didn't have fast user switching.

XP was the first Microsoft OS with this feature. And as with pretty much all of Microsoft's innovations, they were last to market with it.
 
Old 02-07-2012, 12:33 AM   #8
comcastuser
Member
 
Registered: May 2004
Posts: 121

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by esteeven View Post
If you are running KDM. there should be no problem. Just lock your session and user 2 can "switch user."
When I go into runlevel 5 it puts me in Gnome. Where do I make runlevel 5 default to gdm?
 
Old 02-07-2012, 06:35 AM   #9
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,453

Rep: Reputation: 490Reputation: 490Reputation: 490Reputation: 490Reputation: 490
Quote:
Originally Posted by comcastuser View Post
Okay how do you do this in KDE 4?
menu button (kickoff, if you are using kickoff) > leave > switch user

(right clicking on the desktop doesn't give this option, for some reason); Note also, that it might vary with kde 4.x version, as, say, KDE 4.2 was hardly 'feature complete'.
 
Old 02-08-2012, 03:20 PM   #10
comcastuser
Member
 
Registered: May 2004
Posts: 121

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by salasi View Post
menu button (kickoff, if you are using kickoff) > leave > switch user

(right clicking on the desktop doesn't give this option, for some reason); Note also, that it might vary with kde 4.x version, as, say, KDE 4.2 was hardly 'feature complete'.
Okay, I managed to hack the config files to replace gdm with kdm, but now there's a side effect. For some reason port 6000 isn't used anymore; which means I can no longer open an app on another computer and fire up the window on this one. (By using the whole xhosts / setenv DISPLAY combo, etc.) I can't even find where X has opened a port using netstat -lptu. Should I start another thread on this...?
 
Old 02-09-2012, 05:13 AM   #11
thund3rstruck
Member
 
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 16, Slackware64 13.37, Win7
Posts: 271

Rep: Reputation: 21
Quote:
Originally Posted by rkelsen View Post
XP was the first Microsoft OS with this feature. And as with pretty much all of Microsoft's innovations, they were last to market with it.
We all know that first to market means absolutely nothing. Refining trends in technology is whats important in the real world (We don't make the things you use in your everyday life, we make the things you use in your everyday life BETTER. --for example the entire Japanese auto market slogan)

I'm curious, which Linux Desktop Environments provided fast user switching in 2001 when XP introduced it into their operating systems?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Canonical Tells Mac OS X, Windows Users: "Switch to Ubuntu" LXer Syndicated Linux News 0 07-31-2009 06:41 AM
How to switch between users like windows manishgarg21 Linux - Newbie 10 05-29-2008 07:49 PM
How do i switch users in a shell script? koobi Programming 8 01-05-2008 02:19 PM
Switch Users in X ? CRego3D Linux - General 12 01-27-2003 06:14 AM
switch users within a script kilobravo Linux - General 4 01-14-2003 03:39 PM


All times are GMT -5. The time now is 09:18 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
Open Source Consulting | Domain Registration