I have followed instructions to compile and install urbackupclient in Debian 10, it looks like it runs fine, but when I try to access to “Add/Remove backups paths” or “Settings” I got this error in terminal (and no window opens):
Could not load password file!
gksudo: not found
kdesudo: not found
gksu: not found
kdesu: not found
No protocol specified
23:48:54: Error: Unable to initialize GTK+, is DISPLAY set properly?
I guess that since gksu and so on are deprecated it should be run with pkexec?
That or hack about with lxqt-sudo which can substitute for gksu et. al. pulls in various qt deps though, & you may need to manually create a sym-link to make it be triggered in place of one of the other items listed as “not found” if you go that route rather than pkexec.
I don’t know tbh, it’s a couple of years since I last played with policykit & even then it usually took me nine attempts to make anything work, you’ll need someone more up to date with Linux than me I suspect.
Can you start the gui from a terminal?
What about using sudo there?
I’m rusty & somewhat out of my depth, it’s a miracle I remembered lxqt-sudo as a substitute for gksu
Hi there,
working in Ubuntu 21.10 (Ubuntu Default Gnome Desktop Environment) it seems not a to be a Wayland issue because in a Wayland session the tray icon does not show up instead a is thrown at me, see: Client GUI on Ubuntu 21.10 in a Wayland session shows GTK assertion error
With a Xorg session, I can reproduce the "Could not load password file! " error @joe mentioned in the top posting of this thread.
Hi there,
For Ubuntu 21.10 (Ubuntu default Gnome environment) I found a workaround for that daunting "Could not load password file! " error showing up when one tries to open Settings or Backup Paths in the Client GUI tray icon. The workaround is inspiured/based on the zensu package (https://github.com/Chrysostomus/zensu) which is a simple gksu replacement. The zensu package is available for installation on Manjaro or Arch Linux distros but I could not find it for Ubuntu/Debian. With zensu in place, it brings up a Zenity dialog box asking for the root password when selecting Settings or Backup Paths etc. in the tray icon. However, it is a rather straightforward: