On Tuesday 23 March 2004 23:38, Vic Ayres wrote:
On 23/3/2004 21:51, Christopher Berthiaume wrote:
Hello,
I recently upgraded KDE in my Suse 9.0 to 3.2 using YOU. After upgrading, 'sux' does not work. It worked fine before.
<snip> I've also occasionally found that sux doesn't work. If Rikard or Scott's suggestions don't work for you, try this :-
Create (or add to) /root/.bashrc if [ ! "$LOGNAME" = "root" ]; then cp /home/$LOGNAME/.Xauthority /root fi
Basically, this means, "If you aren't logged in as root, copy the logged in user's .Xauthority to /root/.Xauthority".
Then, you just 'su' rather than 'sux'. Which also has the advantage that you can use it on any distro and is (I think) more secure than using xhost.
but it has the disadvantage that you can only use it for root, you won't be able to run graphical apps as other users. Better to fix 'sux'