ICEauthority message after logon

Asked by William Pabon

 Immediately after I do logon I get the following message:

Could not update ICE Authority file /home/williepabon/.ICEauthority. What did I do to cause it? Thanks for the help.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu lightdm Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

Try:

sudo chown williepabon:williepabon /home/williepabon/.ICEauthority

Should help

Revision history for this message
William Pabon (williepabon) said :
#2

Thanks actionparsnip, that solved my question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Do you run commands like:

sudo gedit
sudo nautilus

?

Revision history for this message
William Pabon (williepabon) said :
#4

Andrew:
 NOrmally I use the GUI. I've tried sudo gedit with no problems. With sudo nautilus I get a share issue like:

williepabon@WP-WrkStation:~$ sudo nautilus
Initializing nautilus-dropbox 0.7.1
Initializing nautilus-gdu extension

** (nautilus:2597): WARNING **: Unable to add monitor: Operation not supported
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

But I still get the file browser window.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

That's what causes the file to become damaged. If you need to run a GUI app with elevated access, use:

gksudo nautilus

or

gksudo gedit

and you won't damage your ICEauthority file. Sudo is NOT suitable for GUI based apps and is why gksudo exists.

Revision history for this message
William Pabon (williepabon) said :
#6

Andrew:

Thanks. You're absolutely right. The ICEauthority file got damaged again when I used sudo to run klamav. Something I didn't know. Glad you clarified. Hope I won't forget it. I will run klamav with gksudo to see what happends. Thanks agn.