Hi,
Months ago, i had to switch to dbus-x11 (instead of dbus) to have custom actions with pkexec working in Thunar (to edit files or folders as root, for instance).
Now, it has changed, several weeks ago, i had to go back to dbus. Indeed, default installation of the latest release (XFCE) comes with dbus-X11, but in that case, custom actions with pkexec takes about 20 secondes.
→ Right click on your desktop → Thunar Root : it takes about 20 secondes for Thunar pop up as root.
With, dbus, no problem at all. I made those tests on my current system and also with the latest stable xfce iso on another bare metal machine.
Sure there are several possibilities to make customs actions to open Thunar as root, but pkexec is, in my opinion, the best one because it puts a large orange band at the top of Thunar as a warning you are root, so it’s safer.
This is not the case if you use thunar admin:%d
Look with dbus-x11, i have the following in journalctl
20:02:02 chris dbus-daemon[218696]: [session uid=0 pid=218694] Successfully activated service 'org.freedesktop.FileManager1'
20:01:37 chris org.freedesktop.FileManager1[218758]: Failed to register: Unable to acquire bus name 'org.xfce.Thunar'
There is more than 20 seconds between those two contiguous entries above.
Does anybody have an idea on what is happening and what are the differences between dbus and dbus-x11 ?
Thanks