gksudo nautilus authenication rejected

Asked by Don Bradford

When issuing the command "gksudo nautilus" and after entering my password, I get a message "nautilus:5297): GnomeUI-warning**. While connecting to session manager. Authentication rejected, reason: None of the authentication protocols specified are supported and host-based authentication failed. Initializing gnome-mount extension".

I have reinstalled the operating system several times. gksudo nautilus works up until I install Samba and smb to connect to my Windows local network and it seems that sometime after that, I start getting this message. sudo and sudo -s still work, but would like the ability to use nautilus as root.

Don

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Don Bradford
Solved:
Last query:
Last reply:
Revision history for this message
Don Bradford (dbradford) said :
#1

Forgot to indicate that I am using version 7.04

Don

Revision history for this message
Rouben (rouben) said :
#2

Can you just use sudo nautilus?

Revision history for this message
Don Bradford (dbradford) said :
#3

Apparently so - seems that I can use it and edit files that are normally restricted, but I am too new at this to know if this is OK.

Revision history for this message
Rouben (rouben) said :
#4

Yeah don't worry about it. gksudo is only useful if you absolutely need a GUI password prompt. If you're using the terminal, it makes more sense to just use sudo.

Question: when you try to run any of the administrative utilities (e.g. user & group manager, or trying to install/fetch new updates), do you get a GUI password prompt? If not, can you try deleting the file names .Xauthority from your home directory? In other words, in a terminal try typing the following:
rm ~/.Xauthority

Revision history for this message
Don Bradford (dbradford) said :
#5

Rouben:

Thanks a lot for your help. It is getting pretty late here and I need to
button it up for the night. I will have to try your suggestion and answer
your question later. I did an installation an hour or so ago and updated
sharing, users and groups. I was not asked for a password that I can
recall. One of the installations was Advantix and through it I downloaded
an option to allow right-click access to gksudo as root. I haven't
experimented much with that yet, but that utility may have solved the
problem I was having. I will experiment more tomorrow and if my problem
went away or if I have worked around it, I will let you know. Thanks again
for your responses.

Don

Revision history for this message
Don Bradford (dbradford) said :
#6

Rouben:

I am going to call this issue solved. After I installed Advantix and downloaded a couple of its utilities, I now have right-click access to Nautilus as root and it does require a password. The original issue is still there, but I don't need it now since the Advantix utility gives me a better solution. Thanks again for your response. This is my first week of trying out any form of Linux and I am obviously easily confused.

Don

Revision history for this message
Rouben (rouben) said :
#7

Have fun learning Linux, and please be careful when using nautilus as root, or for that matter, when you do anything as root. Cheers!