~linuxmint-daily-build-team/linuxmint/+git/cinnamon-session:session-end-fixes

Last commit made on 2024-01-22
Get this branch:
git clone -b session-end-fixes https://git.launchpad.net/~linuxmint-daily-build-team/linuxmint/+git/cinnamon-session

Branch merges

Branch information

Recent commits

9e859b8... by Michael Webster

csm-systemd.c: Disable logout when session type is 'wayland'.

Only allow restarting: This avoids some environment issues
between sessions that need to be worked out still.

Logout is available when running the session manager in debug
mode.

ref:
https://github.com/linuxmint/wayland/issues/42

43a0f1a... by Michael Webster

csm-manager.c: Unset WAYLAND_DISPLAY during shutdown in a wayland
session.

This and others need to be cleared after a wayland session so
systemd doesn't pass them to the next session.

This is performed by others using systemd unit parameters, but we
don't currently use systemd for this.
https://gitlab<email address hidden>?ref_type=heads#L26

947984f... by Michael Webster

main.c: Reset the activation environment at the end of the
session.

Also, skip blacklisted env variables for the user environment.

upstream refs:
https://gitlab.gnome.org/GNOME/gnome-session/-/commit/bb4842dd785dc85bef4c382c391d65700d0b3f64
https://gitlab.gnome.org/GNOME/gnome-session/-/commit/d44888fb304e9d957805bf052bf879b0f50568be

5b967c5... by Michael Webster

csm-manager.c: Stop the user dbus-daemon at the end of the session.

aeed5ba... by Michael Webster

cs-presence.c: Fix CsmPresence idle handling.

Idle detection was broken since 5.4, as gnome-idle-monitor (in
libcinnamon-desktop) was looking for the wrong muffin interface
names.

This file was also adapted incompletely to the new idle-monitor
API.

11f9699... by Michael Webster

session-quit: Use a unique dialog server address for each session.

This was preventing the logout dialog for subsequent users logged
in, as it would attempt to connect to the original user's server
(and be denied).

- A unique address will be generated at startup, and passed to
  the dialog when it is launched.
- Log output from the c-s-owned dialog process when debugging is
  enabled.

Fixes linuxmint/cinnamon#12021

5284f5e... by Fantu

Fix dependencies (#160)

* meson: increase cinnamon-desktop dep. to 6.0

cinnamon-desktop 6.0 is required or fails to build (for missed
gnome-idle-monitor file)

* debian: add strict build-dep and dep to cinnamon-desktop 6.0

* debian: add missed depends for new cinnamon-session-quit.py

38c8fd0... by Clement Lefebvre <email address hidden>

Packaging: Add missing build-dep on cinnamon-desktop

dabce15... by Clement Lefebvre <email address hidden>

6.0.1

4f9683a... by leigh123linux

util: Unset some environment variables on systemd (#159)