LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kubuntu, sudo, .ICEauthority etc. (https://www.linuxquestions.org/questions/linux-newbie-8/kubuntu-sudo-iceauthority-etc-374080/)

Floating Point 10-17-2005 07:37 PM

kubuntu, sudo, .ICEauthority etc.
 
I was doing some stuff with my video drivers and finally ended up in a console with X that couldn't start. I fixed the issue with the video drivers (using apt-get install) and was able to start X again. I did it with "sudo startx" (I suppose that's the source of my problem) because "startx" didn't work. After "sudo startx", the X started. I did some configuration, software install etc.

After computer reboot, the X started ok, but after logging in as a "user", KDE had not been able to start (reporting ".ICEauthority" error). Googling inspired me to chown ".ICEauthority" from "root" to "user". After restarting X, I logged in as a "user", KDE started up, but there was 'red background' (like it was 'root mode' and, really, there was another login window to enter the root password). But in this mode, I can't do almost anything. For example, I can't start OpenOffice.

If I start the X system with "sudo startx", everything is ok again.

But, how to return "user" to normal state? This situation is a problem, because you have to go to console first before starting X (and I also think that it is not so clever to work in system logged through 'sudo', although it wasn't on my mind when I had done that for the first time :-)).

h4ck3r 10-18-2005 05:32 PM

I have had this problem and you might try 'rm .ICEauthority'. Tell me if that works and click thanks if it does :) .

Thanks
h4ck3r

Floating Point 10-18-2005 06:29 PM

Quote:

I have had this problem and you might try 'rm .ICEauthority'. Tell me if that works and click thanks if it does :) .
Yes, it worked :-) I also removed .Xauthority and .xsession-errors (the advice I was given on the Usenet).
But something still doesn't work as it should. I can't start OpenOffice (probably because it was installed while the X was running by "sudo startx"). If I start OO with "sudo ooffice2" it starts normally.


All times are GMT -5. The time now is 08:08 PM.