If you're logged into a X as a user and su to root in a console, root
won't have the appropriate credentials to access X (~/.Xauthority).  One
way around this is to allow forwarded X connections in sshd and run
        ssh -Y [EMAIL PROTECTED]
instead of su.  the '-Y' parameter sets the DISPLAY variable and
forwards X connections to your running window manager.

any other solutions out there?

--myk

Hareesh Nagarajan wrote:
> How do I enable programs which are executed by the root to connect to
> the X server?
-- 
gentoo-user@gentoo.org mailing list

Reply via email to