LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-30-2008, 02:23 PM   #1
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Integrated solution: Display manager + user switching


One of the advantages of KDE is that there is consistent functionality for switching users. No matter where one clicks on "switch user", the behavior is the same---including always displaying a list of users already logged in.

I have made various attempts to get similar functionality in the "light" desktops--eg XFCE and Fluxbox. The most common solution involves the use of GDM + gnome-screensaver. I have not yet been able to get anything as polished as in KDE.

What seems to be lacking is a login manager (like GDM), which has the screen-locking built-in (I don't really care about having a screensaver--I use them only for the screen-locking). Again, the idea is to get seamless operation of user switching regardless of whether the command comes from a running session or one that has been locked.

Anyone have any ideas or comments?
 
Old 10-30-2008, 02:39 PM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
I am not too sure about what exactly do you miss outside kde.

However, I know that xscreensaver can use gdm as a backend to do new logins from a locked screensaver. Not all distros might have that enabled though, since compiling xscreensaver with that option enabled means that xscreensaver has gnome as a dependency. A bit scary if you ask me.
 
Old 10-30-2008, 04:38 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Original Poster
Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by i92guboj View Post
I am not too sure about what exactly do you miss outside kde.
In KDE, the "switch user" functionality and user interface is the same regardless of whether accessed from a running or locked session. I cannot duplicate that in XFCE or Fluxbox. for example, using XFCE and GDM, I have the following:
If accessed from a running session, I can choose another previously opened session.
If accessed from a locked session, I get the GDM login dialog. After logging in there, I must then again log into the locked session.

Maybe this is simply the unavoidable consequence of the fact that XFCE, Fluxbox, and others depend on someone else's login manager and screen locker.
 
Old 10-30-2008, 05:08 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Quote:
Originally Posted by pixellany View Post
In KDE, the "switch user" functionality and user interface is the same regardless of whether accessed from a running or locked session. I cannot duplicate that in XFCE or Fluxbox. for example, using XFCE and GDM, I have the following:
If accessed from a running session, I can choose another previously opened session.
If accessed from a locked session, I get the GDM login dialog. After logging in there, I must then again log into the locked session.
I see.

It's hard to tell 'cause I have none of them installed (I just login from text console).

The main support must be in the login manager. So, if kdm supports it, nothing stops you from running kdm instead of gdm. However if xfce and fluxbox have no way to contact it, then it will be a hard thing to achieve. It might require some patching.

I guess that kde, to do this, might communicate with the session manager (ksmserver) using dcop, however, ksmserver can't be run standalone (or at least, I never managed to do so with success), unless you run kdeinit, which is mostly the same than running the whole kde.

If this is doable using gdm, there might be a way to control gdm or launch it via shell scripting. If that's doable (I have no idea) then you might be able to find an universal solution that you could use on all the WM's. But I know nothing about gdm.

I am going off topic. All in all, I can't help, sorry.

Quote:
Maybe this is simply the unavoidable consequence of the fact that XFCE, Fluxbox, and others depend on someone else's login manager and screen locker.
There shouldn't be any reason why this can't be done in any other WM or desktop, using what [gk]dm provides. It's just a matter of coding it, but I don't know if there's already any support on any desktop or WM.

Last edited by i92guboj; 10-30-2008 at 05:11 PM.
 
  


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
Kernel switching off DMA on IDE drives: looking for solution ErV Linux - Hardware 8 07-10-2008 06:26 AM
x300 Dual integrated display controller ? mirwin Linux - Hardware 0 08-08-2006 07:59 AM
Switching Windows Manager from Failsafe karlt78 Linux - Newbie 2 01-29-2006 02:20 AM
The perfect Solution Windoze users switching to Linux: koolkat Linux - Distributions 1 09-28-2003 12:45 PM
Display problem (ATI Radeon and integrated card) seidlr Linux - Newbie 1 05-29-2002 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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