[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#935194: xfce4-session: Xfce session fails to start when previously logged into GNOME



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Tue, 2019-08-20 at 20:39 +0200, Ronny Standtke wrote:
> 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.

Hi, at first sight that doesn't look like a good idea. I have no idea why
SESSION_MANAGER is already set when you start Xfce the second time, but it
looks like a bug in either gdm or gnome. Just ignoring the fact that a manager
might be running doesn't look sound.

Can you get in touch with gnome and gdm people about this?

Regards,
- -- 
Yves-Alexis
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAl1c8V4ACgkQ3rYcyPpX
RFtjtQgAikyBZkkdLfYxQ0LgkP7HqJbejd2wj7Me5LjtIVxZ9SqWpAElaWiX1YV9
T+Cwr3aIxb4dwn0gGCtUGoStTb0eDJjsjIVIWrdCo9GMTvOEPKcKiuhWFr63XNQe
cJuNr8BGz03tIJnTdcP7CGl4oboMASt7Zj37W9xL4wmD50tAFb1jeZeY8RQcjR6a
OPDEhcxdRzWi3m8g5FW1eyFTk4toQ59n+Rb9JUcLT4Jdd636JtuVJZlqk+ed6eTw
Oi/gwuspIUwZ5C77F+bjBcEQRFuiF0BjEUdua/vxIJFSRrmZG4eDwDzrkXBKpnKc
OBs4yQqaXSh73HcdP/zjp53qsLJXyA==
=Qo1t
-----END PGP SIGNATURE-----


Reply to: