Package: xfce4-session Version: 4.12.1-6 Severity: normal Tags: patch When you log into GNOME (or Cinnamon or MATE) the environment variable SESSION_MANAGER will be set. If you then log out and try logging into Xfce it will fail. You will simply be catapulted back to the gmd login screen. The following error message will appear in the system journal (the PID may vary of course): /usr/lib/gdm3/gdm-x-session[5992]: xfce4-session: Another session manager is already running
This is implemented here: https://salsa.debian.org/xfce-team/desktop/xfce4-session/blob/debian/master/xfce4-session/main.c#L96 I am not very familiar with all the details concerning this variable but the attached patch is a workaround that unsets the variable SESSION_MANAGER in /etc/X11/Xsession.d/55xfce4-session. This way it is possible to first log into GNOME, log out and then log into Xfce. Regards Ronny
From f8d878532359800892a5aa134c9746af2dc033aa Mon Sep 17 00:00:00 2001 From: Ronny Standtke <ronny.stand...@gmx.net> Date: Tue, 20 Aug 2019 19:46:06 +0200 Subject: [PATCH] unset SESSION_MANAGER in 55xfce4-session --- debian/55xfce4-session | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/55xfce4-session b/debian/55xfce4-session index 1d12b3d..475ccb5 100644 --- a/debian/55xfce4-session +++ b/debian/55xfce4-session @@ -16,3 +16,5 @@ case "$BASESTARTUP" in export XDG_DATA_DIRS ;; esac + +unset SESSION_MANAGER -- 2.20.1