The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
2

Switch user ?

asked 2013-09-30 17:41:43 +0000

gagou9 gravatar image

Hi !

I would like to find a way to lock my session and let a friend use his account.

So all my workspaces and stuff would stay unchanged, I'd would be kinda disconnected, but actually not, and my friend could enter his user/pass and choose is Session (i3, xfce, whatever).

Exactly what we could find under gnome or any other DM.

I'm under Debian Jessie (testing), use i3 from the debian repos, and use Slim as Display Manager or Login Manager.

I tried to start i3 from another tty but got a "Cannot open display" :)

Thanks !

edit retag flag offensive close merge delete

Comments

I _think_ that is a feature of your display manager (e.g. gdm, lightdm, …), but feel free to correct me if I’m wrong.

Michael gravatar imageMichael ( 2013-10-01 17:28:54 +0000 )edit

Probably. I don't know actually ;) I'm using slim as display manager.

gagou9 gravatar imagegagou9 ( 2013-10-01 18:50:14 +0000 )edit

Hi ! Thanks for that answer, I actually tried it before and got a "command not found". After your answer I apt-cache search-ed startx and installed xinit for it to work. Cheers ! Gaël

gagou9 gravatar imagegagou9 ( 2013-10-06 16:31:56 +0000 )edit

2 answers

Sort by » oldest newest most voted
0

answered 2013-10-05 07:35:13 +0000

Slim can't achieve this, however you can switch tty, login and startx again, which will start a fresh i3.

edit flag offensive delete link more
0

answered 2014-05-12 20:37:22 +0000

jsmyth gravatar image

updated 2014-05-12 20:38:10 +0000

I also tried to do it with SLiM but to no avail. With MDM or GDM you could use mdmflexiserver or gdmflexiserver (with potential --new switch) to switch users. If jumping to another login manager is no option for you then only a new X server would do it.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-09-30 17:41:43 +0000

Seen: 1,250 times

Last updated: May 12 '14