[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: jessie: unable to run remote graphical program with sudo [SOLVED]



"D. R. Evans" <doc.evans@gmail.com> writes:

> D. R. Evans wrote on 05/26/2015 04:52 PM:
>
>> 
>> If I understand you correctly, I think that you are saying that:
>>   n7dr@shack:~$ AUTHORITY=/home/n7dr/.Xauthority HOME=/root sudo -E xterm
>
> I probably misunderstood you.
>
> Anyway, after some more experimenting, I discovered that this works:
>
> sudo XAUTHORITY=/home/n7dr/.Xauthority xterm

I just have my /root/.Xauthority be a symbolic link to my user
~/.Xauthority, and that seems to work without specifying XAUTHORITY.

-- 
Carl Johnson		carlj@peak.org


Reply to: