[Fwd: Re: Xauth, how to get rid of it?]
Sorry, I didn't CC the group. Here is my reply to 'Pollywog':
> I think what you need to do is type:
> export XAUTHORITY=/home/<user_running_X>/.Xauthority
> after you have su'ed. You can also add this to your root/.bashrc, if
> the only time you use X as superuser is from inside an X-session run
> by that user.
> HTH
> Rich
> Pollywog wrote:
>>
>> I get those annoying MAGIC COOKIE warnings when I su from a regular user and
>> this even happens when I use vim after 'su'. I am still able to edit stuff,
>> and the only problem is when I need to run some X program as superuser.
>> I saw somewhere how to deal with this Xauth stuff, but I don't remember where.
>>
>> --
>> Andrew
>>
>> [PGP5.0 Key ID 0x5EE61C37]
>>
>> --
>> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: