Just installed gksu to use gksu nautilus
.
When running this command the output after entering password is
(nautilus:13581): Gtk-WARNING **: cannot open display:
Not sure what caused this but i need to edit the usr folder.
Thanks for any help.
EDIT: Running sudo nautilus
output was
error: XDG_RUNTIME_DIR not set in the environment.
(nautilus:15545): Gtk-WARNING **: cannot open display:
This is running in Terminal not over SSH
Best Answer
I can easily duplicate your results by opening a terminal via CTRLAltF1 rather than CTRLAltT from within an Xwindows session.
nautilus
is a graphical application which must run under Xwindows. if you need a file manager to run in a terminal and aren't running Xwindows you might try usingmc
aka Midnight Commander.If any part of this answer is unclear, drop me a comment and I'll add clarity as necessary.