LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-03-2007, 01:43 PM   #16
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled

I see what you mean. But don't you get a big performance hit, especially with slideshows running in the background? You must have a lot of memory on your computer?

Brian
 
Old 09-03-2007, 05:05 PM   #17
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Original Poster
Rep: Reputation: 31
Solved

Howdy Folks,

After checking the Gentoo Linux Wiki, I noticed that

Code:
kdmctl reserve
does indeed activate KDM and start a new session. So, here's how I
created a "switch users" icon:

In Enlightenment, go to the main menu, and select the configuration
panel. Select applications, then "New Application." Click the
advanced button right away. Under Name, pick a name (mine was "Switch
Users") and then under "executable" enter the command

Code:
kdmctl reserve
then choose a category for the new application; I chose "System." You
can also choose an icon. Mine was the familiar Crystal Project "system.png".

Click apply, then close, then add the application to your iBar. The net result of this is creating a ".desktop" file that should be accessible in any window manager.

Now I can use E17 at home! Yippee!!!

Thanks for all your help.
Joel
 
Old 09-03-2007, 05:07 PM   #18
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by BCarey View Post
I see what you mean. But don't you get a big performance hit, especially with slideshows running in the background? You must have a lot of memory on your computer?

Brian
Only 1.21 Gigabytes. The only times I notice a performance hit are when I activate silly things like compositing; after a few minutes I decide its not worth it.

This may have something to do with various lines of evidence indicating I have multiple CPUs...

Joel
 
Old 09-07-2007, 10:33 AM   #19
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Original Poster
Rep: Reputation: 31
Hello there,

I've been using kdmctl reserve for a few days and have noticed that sometimes I end up logged out of the original session (the one that I switched users *From*); does anybody know where I can find out more about this command, or where I should look for the script that KDE uses in its typical "Lock this session and start a new one" menu entry?

In case you're wondering why I'm asking, instead of just looking on google: I *did* look on Google and this thread was the top response

Joel
 
Old 09-15-2007, 04:52 PM   #20
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Original Poster
Rep: Reputation: 31
Recently I have not gotten logged out of the original session, but locked out of the new one; in other words, I switch back to my original session and then can't get back into the new one.

Joel
 
Old 09-15-2007, 07:09 PM   #21
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Original Poster
Rep: Reputation: 31
I found the problem and the solution. The problem was that I did

Code:
chown  -R root:root /usr
and screwed up the setuid bit on /usr/bin/kcheckpass, the program that allows one to log back in.

At the advice of this threadhttp://www.linuxquestions.org/questi...d.php?t=480938 I did

Code:
chmod 4755 /usr/bin/kcheckpass
I'm sure I'll be living with the ramifications of that chown command for a while. I'll think of that first next time I have a problem like this.

Joel
 
Old 12-22-2008, 09:18 PM   #22
brianguertin
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
Lightbulb gnome-screensaver

I know this is an old thread but it still comes up high in google. Users that normally have gnome-screensaver running (I use Ubuntu) can just use this command to lock their screen and show a "Switch User" button. I just set Ctrl+Alt+L to run it and it works flawlessly:

gnome-screensaver-command --lock
 
Old 12-23-2008, 12:24 PM   #23
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Original Poster
Rep: Reputation: 31
The best solution I've found is to make a desktop file with the command 'kdmctl reserve' for those running KDM.

Other solutions I've found (beware, some are humorous):
  1. Don't use X
  2. Use KDE or GNOME instead of Enlightenment
  3. Use runlevel 3 and start independent X sessions by passing parameters to startx (man startx)

Joel
 
  


Reply

Tags
kde, slackware, switch, users



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
Stuck in Enlightenment, cant switch over!! XeoNoX Linux - Newbie 10 08-26-2004 11:30 AM
Enlightenment as wm for KDE - does it possible? Bogdan Linux - Software 11 06-09-2003 04:17 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
Enlightenment in KDE Colonel Panic Linux - General 4 08-31-2001 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:33 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