Comment 27 for bug 8785

Revision history for this message
zay2 (alan-kesselmann) wrote : Re: [Bug 8785] Re: kdeinit changes ownership of ~/.ICEauthority if run via (a kde program via) sudo

Hello

But how can i fix this? chown the file for my user and group?

Or log in console not kde and run it as kdesduo startx? That will fix the
ownership also?

Alan Kesselmann

2008/12/7 Terence Simpson <email address hidden>

> The real "fix" is to NOT use sudo with GUI/KDE/Gnome aplications, use
> kdesudo/gksudo, this will set up the correct environment for GUI
> applications.
>
> --
> kdeinit changes ownership of ~/.ICEauthority if run via (a kde program via)
> sudo
> https://bugs.launchpad.net/bugs/8785
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "kdelibs" source package in Ubuntu: Fix Released
>
> Bug description:
> I changed the screen resolution in one session. This worked well, with one
> small exception: the background picture was still at the old resolution.
> After
> I logged out I could not login again.
> The error message in /xsession-errors was helpful: "Can't open(?)
> .ICEauthority".
>
> In a aconsole I did
>
> skluth@pcatlas13 ~ $ ls .ICEauthority
> -rw------- 1 root root 332 Oct 4 09:27 .ICEauthority
>
> I did "chgrp skluth .ICEauthority; chown .ICEauthority" and the problem was
> fixed.
>
> Cheers, Stefan
>