Comment 10 for bug 1712089

Revision history for this message
Norbert (nrbrtx) wrote :

Just installed Artful x86 on USB-flash.

Without xhost commands Synaptic does not start with
$ synaptic-pkexec
No protocol specified
Unable to init server: Could not connect: Connection refused

(synaptic:1688): Gtk-WARNING **: cannot open display: :0

After setting xhost Synaptic starts.
Gparted and backintime (see 1713313) may be fixed with xhost command.

As I predict zenmap (as root) and other at least 18 applications too (see bug 1713311). They use su-to-root from menu package. Setting "xhost +si:localuser:root" does not help for them (produce another messages: in console "Error copying '/home/artful/.Xauthority' to '/tmp/libgksu-VXhFz5': No such file or directory
" and window with "Failed to run zenmap as user root.
Unable to copy the user's Xauthorization file.").

I'm not an expert, but it seems that `su-to-root` must be changed to `pkexec` anywhere to lower user disappointment.