User Switching on xfce

Everything about X, Gnome, KDE, ... and everything running on it

User Switching on xfce

Postby chronics » 2017-09-24 20:37

I am unable to get user switching to work either from the xfce menu item or from the lock screen. I was previously able to do this on gnome, I have tried with both lightdm and gdm dm. When clicking the xfce menu item , the desktop temporarily goes to a black screen then resumes my session, with xscreensaver the new login button just disables itself after I click it and with gnome-screensaver clicking switch user refreshes the screen then just prompts me for my password again. There doesnt seem to be anything in syslog, xorg, lightdm or xsession logs showing what is happening.Running dm-tool switch-to-greeter gives me error: Not running inside a display manager, XDG_SEAT_PATH not defined. Setting xdg_seat_path still gives me an error though. Note, I am running a dual screen setup with nvidia drivers and I have a feeling the nvidia drivers may be the cause, has anyone managed to get using switching working with nvidia drivers on xfce?

debian buster
xfce 4.12
nvidia 375.82
chronics
 
Posts: 13
Joined: 2012-12-11 22:03

Re: User Switching on xfce

Postby arochester » 2017-09-25 09:35

Code: Select all
apt install xfswitch-plugin


Xfswitch allows you to leave the current session opened and open a new
session with another user. It runs in the Xfce panel.
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 1051
Joined: 2010-12-07 19:55

Re: User Switching on xfce

Postby chronics » 2017-09-26 05:14

I tried installing xfswitch-plugin but made no difference. I see in xsession-error logs mousepad: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0. for all open apps, this happens after I attempt to switch user and the screen goes blank.
chronics
 
Posts: 13
Joined: 2012-12-11 22:03

Re: User Switching on xfce

Postby chronics » 2017-09-26 21:39

I noticed something interesting in the xsession-error logs. After attempting to switch user I had errors like the below for all apps

mousepad: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0

I also had

dbus-update-activation-environment: setting DISPLAY=:0
/usr/bin/startxfce4: X server already running on display :0
xfce4-session-Message: SSH authentication agent is already running

However printenv gives me DISPLAY=:1.0

Could this be the new session starting on the wrong display, is there any config file I can edit to change this?
Thanks
chronics
 
Posts: 13
Joined: 2012-12-11 22:03

Re: User Switching on xfce

Postby Danielsan » 2017-09-28 04:40

The previous switching method was provided by the old GDM and are not available anymore since Lightdm, possible solutions can be found here: https://wiki.archlinux.org/index.php/Xf ... greyed_out
If you can't fork then hold you in silence.
User avatar
Danielsan
 
Posts: 462
Joined: 2010-10-10 22:36

Re: User Switching on xfce

Postby chronics » 2017-09-28 19:19

I switched back to gdm a while back due to a light-locker bug #868087.
chronics
 
Posts: 13
Joined: 2012-12-11 22:03

Re: User Switching on xfce

Postby debiman » 2017-09-29 16:15

^ so the problem is solved?
User avatar
debiman
 
Posts: 1310
Joined: 2013-03-12 07:18

Re: User Switching on xfce

Postby chronics » 2017-09-30 09:35

No, it doesnt work with lightdm or gdm.
chronics
 
Posts: 13
Joined: 2012-12-11 22:03

Re: User Switching on xfce

Postby arzgi » 2017-10-01 08:23

I can confirm the same, xfce and lightdm. I noticed that selecting suspend will close session, and opens lightdm login screen. Dirty hack! :lol:
arzgi
 
Posts: 79
Joined: 2008-02-21 17:03
Location: Finland


Return to Desktop & Multimedia

Who is online

Users browsing this forum: peer and 5 guests

fashionable