PDA

View Full Version : [kubuntu] No write access to /home/user/.ICEauthority



Linux Lover
August 29th, 2009, 05:32 AM
I am using Kubuntu 9.04.

While I am going to log into my machine I am getting an error after giving my log in name and password,


The following installation problem was detected while trying to start KDE:

No write access to '/home/user/.ICEauthority'
KDE unable to start


I logged in to console and used the following command,

$ ls -al /home/user/.ICEauthority
-rw------- 1 root root 0 2009-08-28 12:18 /home/user/.ICEauthority

What is the problem? How do I log into my desktop? Please help. I am a newbie.

ptn107
August 29th, 2009, 05:37 AM
The problem is that it is owned by root instead of the user of the home directory where it resides. You can fix it this way:

sudo chown $USER.$USER /home/user/.ICEauthority

For example, mine is:

-rw------- 1 phil phil 2736 2009-08-28 23:22 .ICEauthority

tal007
August 29th, 2009, 06:01 AM
See, if you can bring up the system using the Live CD. You may have some supper user administrative tools to manipulate user account. You probably will be able to reset the user password from the administrative tool bar. But, one caution - do not try to edit or try to change anything without logging on to the system as root(Super User). If you do, it will make the system inoperable. You may have to mount your drive too. I use Unix. Not so familiar with Linux. As a matter of fact, I started using Linux not long ago.

Also, make sure to check the user read/write privileges.

rwx rwx rwx user ---------------------------------

Linux Lover
August 29th, 2009, 06:07 AM
The problem is that it is owned by root instead of the user of the home directory where it resides. You can fix it this way:

sudo chown $USER.$USER /home/user/.ICEauthority

For example, mine is:

-rw------- 1 phil phil 2736 2009-08-28 23:22 .ICEauthority

Thank you for your response. I tried and used the following command,


sudo chown $user.$user /home/user/.ICEauthority

after that I restarted the machine. But again I am facing the same problem. Hope I am missing something. Please help me.

Linux Lover
August 29th, 2009, 06:27 AM
I used ls -al command again, and for your information, it failed to transfer ownership of .ICEauthority from root to user. I don't know why that happened. I can only confirm you that I did not miss sudo in this case. :confused:

Soley
August 29th, 2009, 07:48 AM
Thank you for your response. I tried and used the following command,


sudo chown $user.$user /home/user/.ICEauthority

after that I restarted the machine. But again I am facing the same problem. Hope I am missing something. Please help me.

I'm probably wrong on this, but shouldn't it be:


sudo chown $user:$user /home/user/.ICEauthority

Where the "user" (in /home/user/...) is your username and there's a colon between the two "$user".

So, for example, mine would be:


sudo chown $user:$user /home/soley/.ICEauthority

I think that's right. I hope. :)

Soley
August 29th, 2009, 07:58 AM
Also, if you can't login to your main account & have to use a livecd, I believe you can also set the name manually.


sudo chown soley:soley /home/soley/.ICEauthority

I've used that before & it's worked fine.

Linux Lover
August 29th, 2009, 01:12 PM
Hello Soley,


Great feedback............ it worked :):):)

There is no requirement for the $ symbol. So, at last this code worked for me,


sudo chown user:user /home/user/.ICEauthority

Thank you friend. :)

Linux Lover
August 29th, 2009, 01:13 PM
Thanks all

Soley
August 29th, 2009, 01:43 PM
Hello Soley,


Great feedback............ it worked :):):)

There is no requirement for the $ symbol. So, at last this code worked for me,


sudo chown user:user /home/user/.ICEauthority

Thank you friend. :)

I wasn't entirely sure that first one would work, but I was pretty sure the second one would.

Glad to hear you got it working! :D

cblanquer
February 24th, 2011, 01:50 PM
Thanks guys,
I had the same issue after I disconected my box for a physical reinstallation (just changing USB devices and wires).
Now I am in!:)

Kubuntu 10.10 on Shuttle XS36GT & OCZ-Vertex 2 SSD

billbr
March 10th, 2012, 03:09 PM
I ran into the same problem and, once I figured out that I needed to do a console login, everything worked fine.

I'm am pretty sure that on the day the owner of the .ICEauthority got switched, the only sudo I did was KMyFirewall. It complained about a compatibility problem, so I exited before doing any updates. I had some trouble getting the program started and did an "su -" somewhere along the way. That may have done the deed.

Anyway, Kubuntu is up and running now.

oldos2er
March 10th, 2012, 08:40 PM
Closed, necromancy.