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
62 Answers
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 using mc aka Midnight Commander.
If any part of this answer is unclear, drop me a comment and I'll add clarity as necessary.
Install Synaptic Package Manager.
sudo apt-get install synapticStart the program. Search for Nautilus. You will see one of them isn't work correctly. Select for reinstall. Apply it.I had that problem too.
3