Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - nautilus-admin

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: nautilus-admin 0.2.4-1

Git Clone URL: https://aur-dev.archlinux.org/nautilus-admin.git (read-only)
Package Base: nautilus-admin
Description: Extension for Nautilus to do administrative operations
Upstream URL: https://github.com/brunonova/nautilus-admin
Licenses: GPL3
Submitter: brunonova
Maintainer: brunonova
Last Packager: brunonova
Votes: 19
Popularity: 1.400702
First Submitted: 2015-05-15 19:52
Last Updated: 2016-10-31 21:29

Dependencies (7)

Required by (0)

Sources (1)

Latest Comments

brunonova commented on 2016-11-06 22:08

That's strange.

The extension uses the "pkexec" command from polkit to start nautilus/gedit/gnome-terminal as root.
By default, pkexec and polkit don't allow GUI applications to run. But this can be overridden per application with a correct ".policy" file, which is installed by this package.
Something else must be wrong.

I'm not an Arch Linux user, and I don't know a lot about polkit, so I can't be of much help.

Is polkit only failing in this extension, or is it also failing in other GUI applications?
Run this in a terminal to have an idea which other applications run pkexec with GUI: "grep org.freedesktop.policykit.exec.allow_gui /usr/share/polkit-1/actions/*"
Search the Internet to see if you can find anything about this error in pkexec.

Good luck!

David-UPCT commented on 2016-11-05 11:44

It's strange, I have 3 computers with fully updated archlinux and gnome (2 PC and 1 tablet). nautilus-admin works in 1 of the PC, but it doesn't work in the other PC and the tablet. However, it worked well in all of them some weeks ago.

Any idea what I should check, Bruno? Thanks.

brunonova commented on 2016-10-31 21:52

Is this issue still occurring?

It sounds like something misconfigured or missing in polkit or something.

David-UPCT commented on 2016-10-25 14:42

It used to work like a charm, but something has broken recently and it doesn't work at this moment (nautilus 3.22.1-1, nautilus-admin 0.2.3-1). I get this error message when I try to Edit a file as Administrator:

No protocol specified
Unable to init server: Could not connect: Connection refused

(gedit:1325): Gtk-WARNING **: cannot open display: :0

And a similar message when I try to Open a folder as Administrator:

No protocol specified
Unable to init server: Could not connect: Connection refused

(nautilus:1331): Gtk-WARNING **: cannot open display: :0

TheChickenMan commented on 2016-04-05 21:36

No worries. Thanks for your work.

David-UPCT commented on 2016-04-05 20:58

I've just updated it and the Spanish translation works like a charm. Thanks, Bruno.

brunonova commented on 2016-04-05 20:34

Oops, forgot to change the md5sum. It should be fixed now.

TheChickenMan commented on 2016-04-05 20:30

MD5SUM in PKGBUILD is incorrect. Should be: "0cf5f8d941856424a5762b6611b56c14"