The script (pm_test) used to perform reboots was trying to reactivate the checkbox systemd service from an x-terminal-emulator. But such command when invoked as root crashes:
Error constructing proxy for org.gnome.Terminal: /org/gnome/Terminal/Factory0:
Failed to execute child process "dbus-launch" (No such file or directory)
On wayland session, dbus-launch is not supproted.
The proposed patch ensures the respawn checkbox commands are always executed.
The script (pm_test) used to perform reboots was trying to reactivate the checkbox systemd service from an x-terminal- emulator. But such command when invoked as root crashes:
Error constructing proxy for org.gnome.Terminal: /org/gnome/ Terminal/ Factory0:
Failed to execute child process "dbus-launch" (No such file or directory)
On wayland session, dbus-launch is not supproted.
The proposed patch ensures the respawn checkbox commands are always executed.