Ask Your Question

multi-user use with XFCE?

asked 2016-04-05 10:14:30 -0500

awfed gravatar image

I have a running Fedora 23 x86_64 with XFCE 4.12. I have several (more than one) users accounts. I would like to have two or more users logged-in same time and switching from one logged-in user to another logged-in user. With Gnome this is possible.

How to do same multi-user use with XFCE?

Rgds AW

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-04-05 22:01:14 -0500

jtlinux gravatar image

updated 2016-04-05 22:19:19 -0500

It depends on what Display Manager your system is using.

By default, at least back in 2014, Fedora XFCE uses LightDM. You can double-check by running

ps auxf | awk '{print $11}' | \grep -e "^/.*dm$" -e "/.*slim$"

If it's indeed LightDM, you can use the command dm-tool switch-to-greeter to switch users.

Apparently, according to the Arch Linux wiki, you can also make this option show up graphically if you create an executable file /usr/bin/gdmflexiserver with the following contents

/usr/bin/dm-tool switch-to-greeter

But I believe using just the dm-tool switch-to-greeter command (without a screen saver/locker), as seen in both options above, will not "lock" your desktop session, so someone with access to your computer may be able to enter your other desktop session without your user password, if they are savvy. If this bothers you, you can check out a tool like XScreenSaver.

edit flag offensive delete link more

answered 2016-04-06 21:14:29 -0500

New graphical sessions spawn on a different TTY than the display manager. Since the display manager usually comes up first, it usually gets the first, TTY1. Press ctl+alt+F1 to switch to TTY1 and open a session with the other user.

Traditionally, graphical sessions run on TTY6 and above, and on many distributions, ctl-alt-F6 will be the second session after the display manager, ctl+alt+F7 the the third, and so on. On Fedora, none of the TTYs are populated with graphical or console sessions until the TTY is accessed, either by a user (via ctl-alt-Fn) or by an action or command (like a display manager), so display manager will be at ctl+alt+f1, the second session at ctl+alt+f2, and so on.

So, use the keyboard to switch between TTYs and the display manager to start new sessions; it shouldn't be more complicated than that.

edit flag offensive delete link more


on alt-ctl-F2 and alt-ctl-F6 after login with new user startx xinit: unable to connect to X server: connection refused xinit: server error

yr proposal is good, but unfort it's a bit more complicated. Thks

awfed gravatar imageawfed ( 2016-04-06 22:56:01 -0500 )edit

You didn't need to make it more complicated. Instead of running startx like I did not suggest, try using the display manager.

randomuser gravatar imagerandomuser ( 2016-04-08 08:42:10 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-04-05 10:14:30 -0500

Seen: 1,120 times

Last updated: Apr 06 '16