Hareesh Nagarajan wrote:
> On 5/8/05, Dmitri Vassilenko <[EMAIL PROTECTED]> wrote:
> 
>>On Sunday May 8 2005 22:14, Hareesh Nagarajan wrote:
>>
>>>How do I enable programs which are executed by the root to connect to
>>>the X server?
>>
>>I think if you're doing this locally, you can just copy .Xauthority in the
>>directory of the user currently using the server to /root/ (or whatever
>>root's home directory is).
> 
> Thanks Dimitri and to everyone who replied to this thread.
> 

Maybe a slightly better approach:
I put this in root's .bashrc:
xauth merge ~yoyo/.Xauthority

when the information in .Xauthority changes, this get's it again, and
doesn't destroy any previous (if i connect as root to some other X server)
-- 
gentoo-user@gentoo.org mailing list

Reply via email to