You are not logged in.
My wife now wants to use my main machine because her laptop is now old and slow and gets too hot. whatever.
I set her up with XFCE with user switching and all the good stuff. However, if I am logged in to i3, how would I switch to her user to allow her to use the machine? The only thing i can do now is to Exit i3 - which is equivalent to logout. However I was hoping to do something similar to XFCE user switching.
I installed LightDM in order to achieve user switching in XFCE.
Last edited by Inxsible (2017-02-14 16:31:27)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I just have my wife login to TTY 4 where Openbox starts. I have TTY 1-3 for myself. No DM or logging out required.
Offline
Hey Inxsible, how have you been? Miss seeing you in the taco lounge.
I definitely agree with Jason's tack. I often run multiple X sessions on the same machine at the same time by switching consoles. That way I can run i3, Xorg, or even Windows full screen in VirtualBox and switch between them with Ctrl-Alt-Fx. If you really feel the need, you can run a DM on one of those consoles -- but I would rather stick needles in my eyes.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
If you want to have some sort of button or shortcut other than C-A-F#, try chvt.
Offline
If you also log in to i3 through LightDM (at least I think this is a requirement), you can try dm-tool's switch-to-* commands.
Offline
If you also log in to i3 through LightDM (at least I think this is a requirement), you can try dm-tool's switch-to-* commands.
LightDM is *not* a requirement for i3.
Offline
Yeah, I think we all know that. It was supposed to be read as "if you meet this required condition (hmm, is it actually required?), then you can do this". Rephrasing: you can try dm-tool, but for that to work, it's probably necessary that you log in to i3 through lightdm (have your i3 session "managed" by lightdm), but you never know if dm-tool will autospawn lightdm or something like that.
Last edited by Raynman (2017-02-13 11:23:19)
Offline
Yeah, I think we all know that.
I didn't understand your post before your clarification either, but yes, dm-tool is part of the lightdm package and AFAIK written to manage lightdm.
EDIT:
If you want $DISPLAYMANAGER to do what you need, your search term is "fast user switch $DISPLAYMANAGER" or "... switching ...". If you have a dbus enabled DM, then some "/org/freedesktop/DisplayManager org.freedesktop.DisplayManager.Seat.SwitchToGreeter" (you'll have to look up the exact call" should do the trick. I'm no dbus magician.
Last edited by Awebb (2017-02-13 15:01:38)
Offline
I just have my wife login to TTY 4 where Openbox starts. I have TTY 1-3 for myself. No DM or logging out required.
so you run dwm and openbox all the time .... hmm I could probably do the same....my machine stays on all the time...so maybe we both won't have to logout at all...
But then the issue of keyboard layout -- I use dvorak, my wife uses qwerty -- so if I set up "setxkbmap us" in her xinitrc, will that stick between moves to different ttys?
Last edited by Inxsible (2017-02-14 15:38:35)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Hey Inxsible, how have you been? Miss seeing you in the taco lounge.
I definitely agree with Jason's tack. I often run multiple X sessions on the same machine at the same time by switching consoles. That way I can run i3, Xorg, or even Windows full screen in VirtualBox and switch between them with Ctrl-Alt-Fx. If you really feel the need, you can run a DM on one of those consoles -- but I would rather stick needles in my eyes.
Been good and busy. I miss being here too, but RL matters more. My 10 month old doesn't leave me enough time to do anything. The minute I open my laptop or sit at my desktop.... she wants to come and start banging her hands on my keyboard.
The only reason I added a DM was to achieve user switching.... my wife doesn't have a problem logging in at tty, so DM is just fluff for me.
Last edited by Inxsible (2017-02-14 15:41:03)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Ok...Tried it out. This was easier than setting up the DM and all the gdmflexiserver for user switching. I should have thought of it before.
Thanks Jason for the pointer. I tried it out and the keyboard layout sticks between the 2 X-sessions. So my wife can be happy with her qwerty and I with my dvorak.
Thanks everyone for your help as well.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
My 10 month old doesn't leave me enough time to do anything. The minute I open my laptop or sit at my desktop.... she wants to come and start banging her hands on my keyboard.
Give her a TTY to login to as well. 3 Archers in the family
Offline
Inxsible wrote:My 10 month old doesn't leave me enough time to do anything. The minute I open my laptop or sit at my desktop.... she wants to come and start banging her hands on my keyboard.
Give her a TTY to login to as well. 3 Archers in the family
Soon .....
Last edited by Inxsible (2017-02-18 05:07:23)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline