Re: allowing root X apps
Set the environment variable XAUTHORITY=$HOME/.Xauthority, and then su
or sudo, and then you should be able to run X apps on the local machine
as root.
M
On Sun, Oct 28, 2001 at 10:08:48PM -0500, Justin R. Miller wrote:
> What is the best, most secure way to allow root to run X-based apps
> while I'm logged in as my non-privileged user? I've tried xhost
> +localhost and that does not seem to do the trick.
>
> --
> Justin R. Miller <incanus@codesorcery.net>
> PGP/GnuPG Key ID 0xC9C40C31 (preferred)
Reply to: