Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-03-09 05:12:40

stardustOne
Member
Registered: 2018-03-09
Posts: 7

How to start another xfce4 session in //

Hi,

in KDE, we can just open logout menu, then select to logon as another user.

I don't find this in xfce4. Is there kind of plugin to do so ?

I'm not afraid by tty, so what command should I run to run, and which rights the user needs please ?

Regards, stardustOne

Last edited by stardustOne (2018-03-09 05:13:17)

Offline

#2 2018-03-09 10:44:44

alcornoqui
Member
Registered: 2014-07-28
Posts: 831

Re: How to start another xfce4 session in //

I think the command would be:

dm-tool switch-to-greeter

(dm-tool is a tool to communicate with the LightDM display manager.)

If you use the Action Buttons panel plugin you should be able to activate the option Switch User, going to Settings > Panel > Elements tab > Action Buttons > Edit.

Offline

#3 2018-03-09 11:57:46

stardustOne
Member
Registered: 2018-03-09
Posts: 7

Re: How to start another xfce4 session in //

Thanks, I use lxdm, so

lxdm -c USER_SWITCH

The 'switch user' is grey, maybe I need reboot, dunno :

1520597156.png

Last edited by stardustOne (2018-03-09 12:06:08)

Offline

#4 2018-03-10 04:10:17

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,950

Re: How to start another xfce4 session in //

That plugin looks for the presence of the gdmflexiserver executable and enables itself. You can create your own script by that name to enable that functionality.

With root privileges, create the file /usr/local/bin/gdmflexiserver with the following content:

#/bin/sh
lxdm -c USER_SWITCH

Make the file executable and restart the panel (or log out and back in again),

The icon should now be available and your lxdm command will be used for the session switching.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2018-03-10 15:17:43

stardustOne
Member
Registered: 2018-03-09
Posts: 7

Re: How to start another xfce4 session in //

Thanks ToZ

Offline

Board footer

Powered by FluxBB