At 09:42 PM 4/27/2003 -0500, Todd Pytel wrote:
On Sun, 27 Apr 2003 22:14:04 -0400 Hall Stevenson <hallstevenson@mindspring.com> wrote: > ... what happened that causes this > > # allow root to run programs when another > # user is in X > if [ ! "$USER" = "root" ]; then > export XAUTHORITY=/home/$USER/.Xauthority > fi > > to no longer work for me ?? Are you getting root with "su -" maybe? That would set $USER to root.
No, I'm just doing "su". Should I be using "su -" instead ?? I just saw a message from Paul Johnson who said "Use su -m instead." Not being at my Debian box at the moment, what's that do ??
What does env say before you start kedit?
What do you mean ?? After typing "su", but before "kedit", do you want to see what "echo $ENV" says ??
Regards Hall