On Wed, 2 Aug 2000, faisal wrote:

> I get an error when i log into host through telnet 
> you are not authourised to run X server !!
> I can run X win when logged in locally how to grant permission ??? 

  You don't run X when you're telnetted in.  If you need to run X
applications, then you need an X server running on the local machine (the
one running telnet), that will allow connections from the remote host (the
one you're telnetting into).

  How to do this?  If your local host is UNIX or UNIX-like, you're
probably already running X.  Open another shell (besides the one running
telnet) and run `xhost +remote.host` where, of course, "remote.host" is
the hostname (or IP address) of the other computer.  In your telnet
session, you need to run `export DISPLAY=local.host:0` where, of course,
"local.host" is the hostname (or IP address) of the machine you're sitting
behind.

  This is the insecure way to do it.  Other people logged into the remote
host can now jack with your X server.  The secure way is to have SSH
forward your X connection (which, under Mandrake, takes some
configuration), or to use xauth, which I'm not familiar with.

-Matt Stegman
<[EMAIL PROTECTED]>


Reply via email to