When I type gksu nautilus (or any application), the password screen appears but I cannot enter password as the password input field is not available. Please see the screenshot below:
The text field is not clickable i.e. cursor doesnot appears when I click in it. Also, sudo returns:
[ali@alipc8100]: ~>$ sudo nautilus [sudo] password for ali: No protocol specified Unable to init server: Could not connect: Connection refused (nautilus:2040): Gtk-WARNING **: cannot open display: :0 [ali@alipc8100]: ~>$
Mod note: Converted oversized image to url. See the CoC regarding acceptable image sizes. -- WorMzy
Last edited by WorMzy (2017-04-21 11:44:58)
I sort of solved my problem from this thread: https://bbs.archlinux.org/viewtopic.php?id=221346.
I went into Nautilus/Files and enter in the location bar (open it with ctrl+L):
A password prompt will open, and after entering your password, you can browse and edit everything with root rights. If you open now for example the /etc/default/grub file from Nautilus/Files, Gedit/Texteditor will ask you for your password again. Now you can edit this file with root rights.
This is a problem with wayland but I still want use gksu or sudo if that's possible. Hope any advance user can explain it better.