Package: lightdm Version: 1.26.0-4 Severity: important After a full-upgrade and reboot recently (my uptime was over 80 days, so I have no idea exactly when this broke, unfortunately), I no longer have a logind session when I open an xterm:
klump:~> loginctl No sessions. This causes all sorts of problems; PulseAudio doesn't start automatically, hotkeys won't work, I can't control settings in network-manager, etc.. It seems that there _is_ a session (ie., libpam-systemd seems to work; it's installed and at version 241-1), but it's somehow ended immediately: mars 04 21:03:25 klump systemd-logind[523]: New session c6 of user lightdm. mars 04 21:03:28 klump systemd-logind[523]: Removed session c6. mars 04 21:03:28 klump systemd-logind[523]: New session 181 of user sesse. mars 04 21:03:28 klump systemd-logind[523]: Session 181 logged out. Waiting for processes to exit. mars 04 21:03:28 klump systemd-logind[523]: Removed session 181. I assume the c6 session is the greeter, and the 181 session is the actual session. I have no idea why it thinks the session logged out. Here are the first lines of .xsession-errors, up until the point where you can clearly see things are starting to complain about the lack of a session. I've tried both Cinnamon and XFCE, and neither have a working session. Xsession: X session started for sesse at ma. 04. mars 21:03:28 +0100 2019 dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument dbus-update-activation-environment: setting DISPLAY=:0 dbus-update-activation-environment: setting XAUTHORITY=/home/sesse/.Xauthority localuser:sesse being added to access control list Smart Common Input Method 1.4.18 Launching a SCIM daemon with Socket FrontEnd... Loading simple Config module ... Creating backend ... Loading socket FrontEnd module ... Starting SCIM as daemon ... Launching a SCIM process with x11... Loading socket Config module ... Creating backend ... Loading x11 FrontEnd module ... GTK Panel of SCIM 1.4.18 Starting SCIM as daemon ... SCIM has been successfully launched. dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument dbus-update-activation-environment: setting QT_ACCESSIBILITY=1 dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument dbus-update-activation-environment: setting USER=sesse dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11 dbus-update-activation-environment: setting HOME=/home/sesse dbus-update-activation-environment: setting DESKTOP_SESSION=cinnamon dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-g4FjbsKo7g,guid=63c0f2f92e4051c1bb5df5325c7d8490 dbus-update-activation-environment: setting GNOME_KEYRING_CONTROL=/home/sesse/.cache/keyring-KT4WXZ dbus-update-activation-environment: setting LOGNAME=sesse dbus-update-activation-environment: setting GTK_IM_MODULE=scim dbus-update-activation-environment: setting PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games dbus-update-activation-environment: setting GDM_LANG=nb_NO.utf8 dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 dbus-update-activation-environment: setting DISPLAY=:0 dbus-update-activation-environment: setting LANG=nb_NO.utf8 dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=cinnamon dbus-update-activation-environment: setting XAUTHORITY=/home/sesse/.Xauthority dbus-update-activation-environment: setting XMODIFIERS=@im=SCIM dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/sesse dbus-update-activation-environment: setting SHELL=/bin/zsh dbus-update-activation-environment: setting GDMSESSION=cinnamon dbus-update-activation-environment: setting QT_ACCESSIBILITY=1 dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 dbus-update-activation-environment: setting QT_IM_MODULE=scim dbus-update-activation-environment: setting PWD=/home/sesse dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/ cinnamon-session[23689]: WARNING: t+0,00945s: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login. GNOME_KEYRING_CONTROL=/home/sesse/.cache/keyring-KT4WXZ GNOME_KEYRING_CONTROL=/home/sesse/.cache/keyring-KT4WXZ SSH_AUTH_SOCK=/home/sesse/.cache/keyring-KT4WXZ/ssh GNOME_KEYRING_CONTROL=/home/sesse/.cache/keyring-KT4WXZ SSH_AUTH_SOCK=/home/sesse/.cache/keyring-KT4WXZ/ssh Connection failure: Connection refused pa_context_connect() failed: Connection refused [cinnamon-settings-daemon-smartcard] Failed to start: fant ingen passende driver for smartkort (csd-media-keys:23784): media-keys-plugin-WARNING **: 21:03:29.566: Unable to inhibit keypresses: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied (csd-color:23801): color-plugin-WARNING **: 21:03:29.582: There is no colord server available (csd-power:23823): power-plugin-WARNING **: 21:03:31.268: Unable to inhibit lid switch: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.26 (SMP w/4 CPU cores) Locale: LANG=nb_NO.utf8, LC_CTYPE=nb_NO.utf8 (charmap=UTF-8), LANGUAGE=nb_NO.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages lightdm depends on: ii adduser 3.118 ii dbus 1.12.12-1 ii debconf [debconf-2.0] 1.5.71 ii libaudit1 1:2.8.4-2 ii libc6 2.28-8 ii libgcrypt20 1.8.4-5 ii libglib2.0-0 2.58.3-1 ii libpam0g 1.3.1-5 ii libxcb1 1.13.1-2 ii libxdmcp6 1:1.1.2-3 ii lightdm-gtk-greeter [lightdm-greeter] 2.0.6-1 pn logind | consolekit <none> ii lsb-base 10.2018112800 Versions of packages lightdm recommends: ii xserver-xorg 1:7.7+19 Versions of packages lightdm suggests: ii accountsservice 0.6.45-1 ii upower 0.99.10-1 pn xserver-xephyr <none> -- debconf information: lightdm/daemon_name: /usr/sbin/lightdm * shared/default-x-display-manager: lightdm
