Enlightenment: switch users like KDE?
Okay, first the question, then the story behind the question, in case you're pressed for time:
Is there a way to switch users in Enlightenment DR17, like the "Lock session and start new" option in KDE? Story behind the question: I usually use DR17 on Slackware at work. I'm going to transition our family's home computer from PCLinuxOS to Slackware and one of the things that we do all the time is switch users. My wife will be using the computer, I'll come along, switch users and then we can switch back: it's "wicked convenient" as they might say here in New England. Since I would prefer to be using DR17, there has to be a way for us to switch back in order for that to be feasible. Just because Entrance gave me some trouble, I've decided to try out KDE for a while on my computer at work: I've tried out every other window manager for at least a day...time to go download DR16... Talk to you soon, Joel |
You have to be aware that every new concurrent X session gets a new virtual terminal. So when you "switch user" what happens is that the new session appears at "vt8" while the original session remains at "vt7" - and the next person to do a "switch user" gets the "vt9".
Without a menu entry to switch back and forth like KDE has, all you need to do is just press <CTRL><ALT>F7 to get back to virtual terminal 7. The same goes for all the other X sessions - try <CTRL><ALT>F9 or any other function key (numbers counting upward from 7) to find other running X sessions. Eric |
Quote:
The question is how do I start that new session? If I'm in a session in E17, and I press CTL-ALT-F8, I just get a blank screen (of course), because there's no X session running on VT8. I thought I could solve this by adding another "x" row to the end of inittab, but I was mistaken -- that's not how it works. Thanks, Joel |
poking my head in here.. Im curious
I just tried from XFCE4.4: ctrl-alt-F2 login chvt8 # gives me a black screen killall -SIGHUP xinit startxfce4 vt8 I also triedd startxfce4 vt7 -sharevts trouble is that Xserver is already running, so the real question is how to add an Xserver client (for user#2) on the local machine, while allowing user#1's WM to retain the user#1's workspace... so I tried: startx& then ctrl+alt+F1, and startx& again.. no good sorry not an answer.. but I think the solution lies in some sequence of ctrl+alts, vi xinit and chvt.. |
Thanks for your reply.
I know this is possible by poking around with CLI (which I prefer), I think I'm looking for a "quick-and-dirty" as in "Is it there already?" Thanks, Joel |
Code:
2498 ? Ss 0:00 /usr/bin/kdm -nodaemon |
startx :1 is usually enough.
|
I usually do CTL-ALT-F6 and then login and use 'startx -- :1', but this is still not exactly what you want. The question is what, if any, display manager are you using?
|
Quote:
another thought would be to look at the KDE source for managing sessions, if its all dependent on KDM? kde's login manager then maybe you could just use the KDM for runlevel 4 startup and make something from elightenment call it to switch users. another nearly worthless 2c :D |
If You are running runlevel 4, have You tried "kdmctl reserve" ?
I'm not entirely sure if that's the command but that's what I'm using to start a new session from Blackbox. Should pop you to a KDM login screen. |
Hello Forum,
Thanks for the great suggestions: you're all very helpful. I will try these. Another thing I'm also trying is KDE itself ;) I'm learning to enjoy it. I have it installed but have never really tried it out until now. I think I will be satisfied using KDE at home for at least a while. To answer your questions: 1. I'm using KDM because I was using Entrance and it gave me some trouble. 2. There very well might be an applet to do this in enlightenment; it's hard to tell where they are taking it because making it "just like KDE" or "GNOME-esque" is not a goal of theirs -- I think that's cool, however it would be nice to have this feature... 3. Which I would definitely program myself; they'd probably do a better job, so I think I will just make the suggestion. Thanks everybody, Joel |
Does anyone know of a way to do this with XDM? I've been looking and can't find anything :(
|
I did
Code:
startx -- :1 Joel |
Quote:
Brian |
Why switch users at all?
Quote:
For a few reasons, it's better to have things divided up, all of them adding up to a big part of the beauty of a multi-tasking, multi-user system:
Furthermore, I think she would find Enlightenment or even Fluxbox to be prohibitively confusing and she would rather spend her time getting stuff done than learning how to use the computer; I prefer a healthy mix of the two ;) At the times when I want to use Fluxbox, Enlightenment, Afterstep or whatever I feel like that day, she might find it annoying. Joel |
All times are GMT -5. The time now is 02:54 PM. |