How To Run Nautillus As Administrator

HI Guys, I’m trying out EndlessOS on a usb (very nice distro). My question is how do I open nautilus as root. I tried to install gksu but it doesn’t work.
I get the message:
“Unable to lock the administration directory (/var/lib/dpkg/), are you root?”

Thanks for trying Endless OS!

You can’t install packages using dpkg – the OS is distributed as an immutable OSTree. (We assemble the OSTrees from .debs, which is why dpkg and friends are installed, but non-functional.)

I guess the standard advice is “don’t run Nautilus as root!” but, have you tried running sudo nautilus from a terminal?

1 Like

Thanks for getting back. I was always told that:

“You should never use normal sudo to start graphical applications as
root. You should use gksudo (kdesudo on Kubuntu) to run such programs.
gksudo sets HOME=/root, and copies .Xauthority to a tmp directory. This
prevents files in your home directory becoming owned by root.”


Nautilus (root) - sudo su

  1. sudo su
  2. [sudo] password for user: **********
  3. root@endless:/sysroot/home/user# nautilus
  4. Enter