Ubuntu Version:
Xubuntu 24.04.1, both minimal install and normal install
Desktop Environment
Xfce
Problem Description:
Problem I think is solved, but
I put this here for the record in case anyone else is having the same problem,
or anyone else has a solution that doesn’t involve using the axe.
After booting or restarting Xubuntu 24.04.1, the first time I open Settings/Desktop,
X11 crashes with messages:
Screenshots or Error Messages:
Feb 28 12:50:17 X247 dbus-daemon[1072]: [session uid=1000 pid=1072] Activating via systemd: service name='org.freedesktop.thumbnails.Thumbnailer1' unit='tumblerd.service' requested by ':1.67' (uid=1000 pid=1606 comm="xfdesktop-settings" label="unconfined")
Feb 28 12:50:17 X247 systemd[1056]: Starting tumblerd.service - Thumbnailing service...
Feb 28 12:50:17 X247 systemd[1]: Starting sysstat-collect.service - system activity accounting tool...
Feb 28 12:50:17 X247 systemd[1]: sysstat-collect.service: Deactivated successfully.
Feb 28 12:50:17 X247 systemd[1]: Finished sysstat-collect.service - system activity accounting tool.
Feb 28 12:50:18 X247 tumblerd[1635]: X connection to :0 broken (explicit kill or server shutdown).
Feb 28 12:50:18 X247 kglobalaccel5[1565]: The X11 connection broke (error 1). Did the X11 server die?
Feb 28 12:50:18 X247 kglobalaccel5[1565]: The X11 connection broke: I/O error (code 1)
Feb 28 12:50:18 X247 kglobalaccel5[1565]: X connection to :0 broken (explicit kill or server shutdown).
Feb 28 12:50:18 X247 systemd[1056]: xfce4-notifyd.service: Main process exited, code=exited, status=1/FAILURE
Feb 28 12:50:18 X247 systemd[1056]: xfce4-notifyd.service: Failed with result 'exit-code'.
Feb 28 12:50:18 X247 at-spi-bus-launcher[1252]: X connection to :0 broken (explicit kill or server shutdown).
Feb 28 12:50:18 X247 polkitd[656]: Unregistered Authentication Agent for unix-session:c2 (system bus name :1.54, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_AU.UTF-8) (disconnected from bus)
Feb 28 12:50:18 X247 systemd[1056]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Feb 28 12:50:18 X247 systemd[1056]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 28 12:50:18 X247 spice-vdagentd[1430]: closed vdagent virtio channel
Feb 28 12:50:18 X247 systemd[1]: Stopping session-c2.scope - Session c2 of User mc...
Feb 28 12:50:18 X247 gvfsd[1612]: Error calling org.gtk.vfs.MonitorClient.Changed(): The connection is closed (g-io-error-quark, 18)
Feb 28 12:50:18 X247 gvfsd[1612]: Error calling org.gtk.vfs.MonitorClient.Changed(): The connection is closed (g-io-error-quark, 18)
Feb 28 12:50:18 X247 systemd[1]: session-c2.scope: Deactivated successfully.
Feb 28 12:50:18 X247 systemd[1]: Stopped session-c2.scope - Session c2 of User mc.
Feb 28 12:50:18 X247 systemd[1]: session-c2.scope: Consumed 4.385s CPU time.
Feb 28 12:50:18 X247 systemd-logind[673]: Removed session c2.
Feb 28 12:50:18 X247 tumblerd[1653]: Invalid MIT-MAGIC-COOKIE-1 key
Feb 28 12:50:18 X247 tumblerd[1653]: Invalid MIT-MAGIC-COOKIE-1 key
Feb 28 12:50:18 X247 dbus-daemon[1072]: [session uid=1000 pid=1072] Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
Feb 28 12:50:18 X247 systemd[1056]: Started tumblerd.service - Thumbnailing service.
Feb 28 12:50:18 X247 lightdm[1666]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=108) by (uid=0)
Feb 28 12:50:18 X247 systemd-logind[673]: New session c3 of user lightdm.
Feb 28 12:50:18 X247 systemd[1]: Created slice user-108.slice - User Slice of UID 108.
(happy to provide full logs, not sure how to do it without making the thread unreadable).
What I’ve Tried:
But then after re-logging in to the new X11 session, clicking Settings/desktop no longer causes X11 to crash. Though it will crash if I reboot.
It seems unlikely to be my settings,
as it happens on 2 separate clean installs, one standard, one minimal,
and before much configuration is done.
I keep the unconfigured standard install around just to be sure the problem isn’t me.
I noted in the above log
that the tumbler service being called immediately after clicking settings/desktop.
Also, in a bigger log of several openings/closing of settings/desktop,
tumblerd was was only being called the 1st time settings/desktop was opened -
not on subsequent opens.
Solution
So, after uninstalling tumbler, the crashes stopped.
when Xubuntu was first installed, settings/desktop did not cause an X11 crash.
One possibility is that when I added user directories (that would be thumbnailed)
tumblerd fell foul of apparmor user namespace restrictions?
Happy to file a bug if anyone else has the same problem.