364,111 Members | 2129 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

Kubuntu Write Access to home/<>/.ICauthority

Studlyami
Expert 100+
P: 450
Day 2 of Kubuntu, problem # 2: I'd told you I'd be back :)

Short Version:
When I try to start Kubuntu it freezes when it starts to load the desktop (a.k.a X server right?). It loads up the splash screen and it freezes on the third icon (the globe looking thing). I click on the icon after it freezes and it displays a message that stated that it had no write access to home/studly/.ICauthority.

Longer Version:
I just finished installing my Nivida graphic drivers and i started up the desktop again. I went into the NVidia setting to set up my 2nd monitor. From the Nivida setting i clicked on my second monitor and enabled it. A window came up that stated that it couldn't apply the settings now, but if I save the changes to the X configuration file it would be applied on the next load. I hit the button that said "save to x configuration file". I then restarted the PC and thats when the error message, as stated above, was displayed. I'm new to Kubuntu (or any Linux distro) and I don't have a clue on what commands to use or where to start trying to troubleshoot a problem like this. If you would like more info just let me know what commands to use and what your looking for and I'd be glad to post it. I tried to search google for the error message, but nothing came up for it.
Dec 6 '08 #1
Share this Question
Share on Google+
3 Replies


Nepomuk
Expert 100+
P: 1,734
That's a weird error, but we may be able to solve it quickly:
Change to a terminal window (e.g. with Crtl+Alt+F2) and enter your username and password. Then enter the following command:
Expand|Select|Wrap|Line Numbers
  1. sudo chown -R studly.studly /home/studly/.ICauthority
That should make the user studly (in the group studly) the owner of that file and therefore probably give him (i.e. you) the right to write to it again.

Then, enter
Expand|Select|Wrap|Line Numbers
  1. exit
to logout again and go back to the GUI (normally with Crtl+Alt+F7 or Crtl+Alt+F9, but if those don't work, just check the other F? keys - it will be one of them ^^) and press Crtl+Alt+Backspace to restart the X Server. Then it should load normally.

Greetings,
Nepomuk
Dec 6 '08 #2

Studlyami
Expert 100+
P: 450
Thanks Nepomuk that fixed the problem at hand. I couldn't log in via the console (doing some research now on it), but i was able to run kubuntu in recovery mode. I then ran the commands you said and it fixed the problem. As a side note the error said it couldn't write to .ICauthority, but the actual file was ICEauthoity. Perhaps that was just a typo in the error? Thanks again for the solution.
Dec 8 '08 #3

Nepomuk
Expert 100+
P: 1,734
Weird - normally there shouldn't be any Typos in the errors, as I think the names are retrieved automatically. But then, maybe I'm wrong.

Anyway, I'm glad it works again. :-)

Greetings,
Nepomuk
Dec 9 '08 #4

Post your reply

Help answer this question



Didn't find the answer to your Unix / Linux / BSD question?

You can also browse similar questions: Unix / Linux / BSD