Re: Running X apps when logged as su'd as root
Speaking of reasonable defaults, shouldn't this be one?
-chris
"Karsten M. Self" <kmself@ix.netcom.com> writes:
> Rather than exporting xauthority, my preference is:
>
> # As root
> $ xauth merge ~$USER/.Xauthority
>
> ...where $USER is your desired user.
>
> This transfers cookies from $USER's .Xauthority file to root's
> .Xauthority file. Changes to user's .Xauthority file don't effect X.
> X now has access to user's X session, but not vice versa.
>
Reply to: