You are not logged in.
Pages: 1
In some rare occasions, Thunar fails to start and as a result thunar-tpa also fails to initialize.
.xsession-errors has nothing on it, XFSM_VERBOSE wasn't set beforehand.
journalctl reports this:
hp systemd[920]: thunar.service: start operation timed out. Terminating.
Apr 30 22:12:09 hp systemd[920]: thunar.service: Failed with result 'timeout'.
Apr 30 22:12:09 hp systemd[920]: Failed to start Thunar file manager.
It looks like it is set to retry again in 10 minutes and starts successfully. Can I start the service manually and initialize thunar-tpa as well? gdbus seems very complicated.
Last edited by KBar (2022-05-01 06:11:37)
Xubuntu 20.04
Offline
When it fails to start, to get any further info with:
systemctl --user status thunar.service
Looks like it might be some sort of race condition with dbus. Do you have any dbus errors in your journal around the same time?
Offline
This is what DBus reported:
Apr 30 22:10:39 hp dbus-daemon[965]: [session uid=1000 pid=965] Activating via systemd: service name='org.xfce.FileManager' unit='thunar.service' requested by ':1.27' (uid=1000 pid=1200 comm="/usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 " label="unconfined")
Apr 30 22:12:39 hp dbus-daemon[965]: [session uid=1000 pid=965] Failed to activate service 'org.xfce.FileManager': timed out (service_start_timeout=120000ms)
Apr 30 22:23:38 hp dbus-daemon[965]: [session uid=1000 pid=965] Activating via systemd: service name='org.xfce.FileManager' unit='thunar.service' requested by ':1.92' (uid=1000 pid=3522 comm="gdbus complete gdbus call --session --dest org.xfc" label="unconfined")
Apr 30 22:23:38 hp dbus-daemon[965]: [session uid=1000 pid=965] Successfully activated service 'org.xfce.FileManager'
To restart thunar-tpa I killed its existing process and it was initialized successfully. I will try to get some additional info next time. Marking this as solved for now.
Thank you and have a great weekend.
Xubuntu 20.04
Offline
Got it again.
$ systemctl --no-pager --user status thunar.service
● thunar.service - Thunar file manager
Loaded: loaded (/usr/lib/systemd/user/thunar.service; static; vendor preset: enabled)
Active: activating (start) since Sun 2022-05-01 17:14:08 +05; 45s ago
Docs: man:Thunar(1)
Main PID: 1243 (Thunar)
CGroup: /user.slice/user-1000.slice/user@1000.service/thunar.service
└─1243 /usr/bin/Thunar --daemon
May 01 17:14:08 hp systemd[934]: Starting Thunar file manager...
May 01 17:14:33 hp Thunar[1243]: Failed to register: Timeout was reached
Xubuntu 20.04
Offline
It seems to be a problem with ubuntu-based systems? Maybe best to create a bug report.
Offline
Pages: 1