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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1712089

Title:
  Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not
  connect: Connection refused

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/synaptic/+bug/1712089/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to