Home > OS >  Sudo nautilus gives Authorization required, but no authorization protocol specified
Sudo nautilus gives Authorization required, but no authorization protocol specified

Time:08-30

I have just updated my OS from Ubuntu 20.04 LTS to 20.04.1 LTS. When I tried to run nautilus as root by using sudo nautilus, I get the error

Authorization required, but no authorization protocol specified

(org.gnome.Nautilus:4410): Gtk-WARNING **: 23:12:51.995: cannot open display: :10.0

This never occurred in Ubuntu 20.04 LTS. I'm trying to avoid reinstalling nautilus as much as possible to avoid breaking more things, but am running out ideas on what is wrong here.

Any suggestions?

CodePudding user response:

Apparently the solution on this thread is able to solve my problem.

xhost   local:
  • Related