ICEauthority message after logon

Asked by William Pabon on 2012-01-15

 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:
2012-01-16
Last query:
2012-01-16
Last reply:
2012-01-15

Try:

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

Should help

William Pabon (williepabon) said : #2

Thanks actionparsnip, that solved my question.

Do you run commands like:

sudo gedit
sudo nautilus

?

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.

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.

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.