Christopher A. Martin wrote:
likely an easy one for you Linux studs:
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,
not realy a stupid question. before doing a "su" try a "xhost +your_machine_name" after that, things should work. btw. if you are networked and want to start i.e. xclock on "mothers_machine" do a xhost +mothers_machine, after telnetting to it try export "export DISPLAY=your_machine_name:0.0". after that "xclock &". Program running on mothers_machine, display on yours. have fun!! (further explanations in your favourite man pages ... ;-)) Juergen -- ========================================== __ _ Juergen Braukmann mail: brauki@cityweb.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu| /\\ /__/ / _ \/ // /\ \/ / ==========================================_\_v __/_/_//_/\_,_/ /_/\_\ - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e