Christopher A. Martin wrote:
when I am logged in as myself (i.e., not root) and running X with KDE (though this might happen with all wm's), if I "su root", and try to edit a file, say, by calling xemacs, or even emacs, I cant! I get:
chris@RomperRoom:/home/chris > su root Password: RomperRoom:/home/chris # emacs Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server emacs: Cannot connect to X server :0.0. Check the DISPLAY environment variable or use `-d'. Also use the `xhost' program to verify that it is set to permit connections from your machine.
How do I fix this? What is this '-d'? Thanks in advance,
Before you attempt to open an application that writes to the X display, do Alt-F2 to call up a command window and type in 'xhost +local:' not forgetting the colon at the end. The command window will disappear and you can then run your application. When you are finished, Alt-F2 and type in 'xhost -'. -- rclark@virgosolutions.demon.co.uk Ralph Clark, Virgo Solutions Ltd (UK) __ _ / / (_)__ __ ____ __ * Powerful * Flexible * Compatible * Reliable * / /__/ / _ \/ // /\ \/ / *Well Supported * Thousands of New Users Every Day* /____/_/_//_/\_,_/ /_/\_\ The Cost Effective Choice - Linux Means Business! - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e