Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-04-30 18:21:14

KBar
Member
Registered: 2021-11-05
Posts: 372

[SOLVED] Thunar fails to start

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

#2 2022-04-30 22:16:55

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,817

Re: [SOLVED] Thunar fails to start

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

#3 2022-05-01 06:11:00

KBar
Member
Registered: 2021-11-05
Posts: 372

Re: [SOLVED] Thunar fails to start

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

#4 2022-05-01 12:16:14

KBar
Member
Registered: 2021-11-05
Posts: 372

Re: [SOLVED] Thunar fails to start

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

#5 2022-05-01 19:57:54

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,817

Re: [SOLVED] Thunar fails to start

It seems to be a problem with ubuntu-based systems? Maybe best to create a bug report.

Offline

Board footer

Powered by FluxBB