Description of problem:
When install Fedora 25, Sudo supports run GUIs. But after update it doesnt!!
This is message for (sudo nautilus):
>[moceap@localhost ~]$ sudo nautilus
>[sudo] password for moceap:
>No protocol specified
>Unable to init server: Could not connect: Connection refused
>(nautilus:3749): Gtk-WARNING **: cannot open display: :0
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install Fedora 25
2. Update by (dnf update)
3. Run any GUI by sudo like (sudo nautilus)
GUI not run!!!
GUI run with sudo rules.
I asked for Wayland bugs, they said it's not from Wayland.
It seems like it is working now in latest fedora.
*** Bug 1403041 has been marked as a duplicate of this bug. ***
My Fedora is 26 , up to date ..
Anf bug still found .
So tell me what are you using.
Is it default sudoers or not?
It is working for me. I have default sudoers/Xorg/awesome windows manager. It's Fedora26 x86_64.
should resolve this issue.
It's not enough
Here is an explanation why is that so:
I'm closing this bugzilla as NOTABUG.
If you want to use Nautilus and access root-owned files, you can use the `admin:` URI
It'll do a privilege escalation without running the whole app as root
Additionally, any GTK application will be able to open root-owned files when using the `admin:` URI