PDA

View Full Version : odd nautilus error



lime4x4
March 4th, 2010, 02:09 AM
when issueing the following command in a terminal sudo nautilus
in get the following error

Nautilus could not create the required folder "/root/Desktop".
Before running Nautilus, please create the following folder, or set permissions such that Nautilus can create it.

Any ideas on how to fix it? running 64 bits all updates installed

cariboo907
March 4th, 2010, 02:20 AM
Open a terminal, then type:


sudo -i

this will drop you to /root, where you than create the Desktop directory:


mkdir Desktop

mdurham
March 4th, 2010, 03:36 AM
when issueing the following command in a terminal sudo nautilus

I think you should, for some reason, use 'gksu nautilus' I don't know if it would make any difference though.

lime4x4
March 4th, 2010, 03:38 AM
Won't let me make the dir

mkdir: cannot create directory `Desktop': File exists

alexmurray
March 4th, 2010, 03:40 AM
Why do you want to run nautilus as root anyway?

If you want an easy way to open files as root from nautilus, you could just use something like this: http://www.pendrivelinux.com/how-to-open-files-as-root-via-a-right-click/

VMC
March 4th, 2010, 03:51 AM
I think you should, for some reason, use 'gksu nautilus' I don't know if it would make any difference though.

That's the problem. The OP tried to find /root/Desktop using nautilus. If you instead use the above command 'gksu nautilus', you will see the root folder.

mc4man
March 4th, 2010, 04:48 AM
If you want an easy way to open files as root from nautilus, you could just use something like this
There is already a package for that available, (and probably preferable to running gksu nautilus


sudo apt-get install nautilus-gksu

(I'd be inclined to use the above to open /root and ck. the perm.'s of Desktop ( or do fron cli