15 Jan
2004
15 Jan
'04
11:14
On Thursday 15 January 2004 12:04, John Pettigrew wrote:
In a previous message, Anders Johansson <andjoh@rydsbo.net> wrote:
Most problems with sux or (gnome|kde)su are because of $HOME/.Xauthority, either the user's or root's. Deleting them and logging in again usually solves the problem.
Bingo - that was it! Deleting root's ~/.Xauthority means my gnomesu now works again :-)
Any idea what messes this up?
I don't know if there are other causes, but in my case it's usually because I switch between logging in with kdm and using startx from a command line. kdm and startx use different types of X authentication cookies, and suse's sux script doesn't parse the cookie list correctly when it decides which cookie to transfer to the other user