Quoting Ian C. Sison ([EMAIL PROTECTED]): > Start X-windows by running the command: startx > This assumes you've got Xwindows correctly configured with the hardware > you have. > > Then run a terminal (command prompt) and then run your program.
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. -- Cheers, The difference between common sense and paranoia is that common sense Rick Moen is thinking everyone is out to get you. That's normal; they are. [EMAIL PROTECTED] Paranoia is thinking they're conspiring. -- J. Kegler _ 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]
