Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
User Switching on xfce
User Switching on xfce
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
debian buster
xfce 4.12
nvidia 375.82
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: User Switching on xfce
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.
Re: User Switching on xfce
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.
Re: User Switching on xfce
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
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
Re: User Switching on xfce
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
Re: User Switching on xfce
I can confirm the same, xfce and lightdm. I noticed that selecting suspend will close session, and opens lightdm login screen. Dirty hack!
Re: User Switching on xfce
I managed to get it working by using the command
Found it in the source code for xfce4-panel Action buttons, which was the only "switch user" button that worked.
You can put the command in the whisker menu here [Right click the whisker icon > Properties > Commands] and bind it to Super-L in [Settings Manager > Keyboard > Application Shortcuts]
Code: Select all
gdmflexiserver
Found it in the source code for xfce4-panel Action buttons, which was the only "switch user" button that worked.
You can put the command in the whisker menu here [Right click the whisker icon > Properties > Commands] and bind it to Super-L in [Settings Manager > Keyboard > Application Shortcuts]