[Bug 1212932] New: sddm 0.20 puts $XAUTHORITY in /tmp instead of $XDG_RUNTIME_DIR
https://bugzilla.suse.com/show_bug.cgi?id=1212932 Bug ID: 1212932 Summary: sddm 0.20 puts $XAUTHORITY in /tmp instead of $XDG_RUNTIME_DIR Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: opensuse-kde-bugs@opensuse.org Reporter: arvidjaar@gmail.com QA Contact: qa-bugs@suse.de CC: fabian@ritter-vogt.de Target Milestone: --- Found By: --- Blocker: --- user@uefi:~> rpm -q sddm sddm-0.20.0-1.1.x86_64 user@uefi:~> env | grep XAUTHORITY XAUTHORITY=/tmp/xauth_srfSMD user@uefi:~> This is likely due to commit eb4a7d564cd9385d089ec9ff4ce68042d31ee93c Author: Fabian Vogt <fabian@ritter-vogt.de> Date: Sat Feb 4 21:11:53 2023 +0100 Use QTemporaryFile with xauth_XXXXXX ih XAuth Use proper temporary files instead of UUIDs. This makes the file's purpose more obvious and also takes care of cleanup. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1212932 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1213452 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1212932 https://bugzilla.suse.com/show_bug.cgi?id=1212932#c4 Juha Virtanen <jiivee@iki.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jiivee@iki.fi --- Comment #4 from Juha Virtanen <jiivee@iki.fi> --- When $XAUTHORITY file is in /tmp, it is subject to automated system-wide /tmp cleanup. For example in Tumbleweed file is removed after 10 days causing inabillity to start new applications within that session after 10 days. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1212932 https://bugzilla.suse.com/show_bug.cgi?id=1212932#c6 --- Comment #6 from Juha Virtanen <jiivee@iki.fi> --- For me it seems like /usr/lib/tmpfiles.d/sddm.conf is ignored: 5 systemd-analyze cat-config tmpfiles.d | grep " /tmp/" x /tmp/systemd-private-%b-* X /tmp/systemd-private-%b-*/tmp R! /tmp/systemd-private-* D! /tmp/.X11-unix 1777 root root 10d D! /tmp/.ICE-unix 1777 root root 10d D! /tmp/.XIM-unix 1777 root root 10d D! /tmp/.font-unix 1777 root root 10d r! /tmp/.X[0-9]*-lock $ cat /usr/lib/tmpfiles.d/sddm.conf # Home dir of the sddm user, also contains state.conf d /var/lib/sddm 0750 sddm sddm # This contains X11 auth files passed to Xorg and the greeter d /run/sddm 0711 root root # Sockets for IPC r! /tmp/sddm-auth* # xauth files passed to user sessions r! /tmp/xauth_* I think, like Github discussion also seems to do, that sddm.conf should also have line X /tmp/xauth_* - - - - -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com