Mailinglist Archive: opensuse (1587 mails)

< Previous Next >
Re: [SuSE Linux] stupid question?
  • From: brauki@xxxxxxxxxx (Juergen Braukmann)
  • Date: Fri, 27 Nov 1998 20:58:46 +0100
  • Message-id: <365F0476.73C30AED@xxxxxxxxxx>



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@xxxxxxxxxx| -o)/ / (_)__ __ ____ __
Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu| /\\ /__/ / _ \/ // /\ \/ /
==========================================_\_v __/_/_//_/\_,_/ /_/\_\
-
To get out of this list, please send email to majordomo@xxxxxxxx with
this text in its body: unsubscribe suse-linux-e


< Previous Next >