Public bug reported: I have installed Nautilus-Admin to enable opening nautilus and gedit as administrator. But it does not work. On the terminal I get the following error:
$ pkexec nautilus No protocol specified Unable to init server: Could not connect: Connection refused (nautilus:2524): Gtk-WARNING **: cannot open display: :0 Thanks ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: policykit-1 0.105-18 ProcVersionSignature: Ubuntu 4.11.0-13.19-generic 4.11.12 Uname: Linux 4.11.0-13-generic x86_64 ApportVersion: 2.20.6-0ubuntu5 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Tue Aug 15 12:09:19 2017 InstallationDate: Installed on 2017-08-09 (5 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170807) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: policykit-1 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: policykit-1 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug artful wayland-session -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1710918 Title: pkexc nautilus error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1710918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs