In order to allow root (on the local machine) to make connections to the X server you will need to type the command "xhost + <localhost name>" as any user other than root. Then you can "su" to root and then make sure your DISPLAY environment variable is set correctly. After that you will be able to use X based applications as root. Matthew R. Hamilton / Senior Associate ENS Installation/Integration Engineer Convergys Corporation On Thu, 15 Jun 2000 Daniel_Casey@mail.jbhunt.com wrote:
If I start an X program as a regular user, it works fine. Kfm and Gentoo for instance all run as a regular user.
If I su to root and type kfm or gentoo, I get the :cannot connect to X server error message.
I have tried to export the DISPLAY variable with IP addr and FQ hostname and run xhost + and I get the error: (ip addr has be changed to protect the inocent).
server01:/usr/local/updates # xhost + Xlib: connection to "xx.xx.xx.xx:0.0" refused by server Xlib: Client is not authorized to connect to Server xhost: unable to open display "xx.xx.xx.xx:0.0"
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/