On Tue, 28 May 2002, Rick Moen wrote: > Sometimes, the error quoted results from the need to run a program > as the root user (which can't communicate with the user's X server > process, without some fiddling). The traditional advice, in such > situations, is to do "su -" followed by adjusting the DISPLAY variable > and running "xhost +" -- which is truly dreadful for system security. > > It's much smarter to do "ssh -X root@localhost" instead of the other > stuff. ssh takes care of X11 forwarding without creating a security > hole, and takes care of the X11 MIT magic cookie, the DISPLAY variable, > and so on automatically. > > Probably not relevant to the problem described, but just a tip to > remember for later.
Understatement. This should be done SOP if you have ssh. Otherwise, xhost and $DISPLAY combo. regards, --- Andre M. Varon, SCSA http://andre.lasaltech.com _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
