Hi, Nick Rout wrote: >On Sun, 08 May 2005 19:51:15 -0700 >Myk Taylor wrote: > > > >>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? >> >> > >sux does the same as su but transfers whatever is needed for >authentication. > > Could use 'sux' or do it manually: "DISPLAY=":0.0" run-your-command HTH. Rumen
> > > > >>--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 >> >> > > > -- gentoo-user@gentoo.org mailing list