Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 1997 14:10:16 -0500
From:      Al Johnson <Al.Johnson@AJC.State.Net>
To:        "Jeffrey M. Metcalf" <metcalf@NOSPAM.snet.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Q: How do I run remote xterm on my local X11 server??
Message-ID:  <342D5A18.91216F07@AJC.State.Net>
References:  <342D3824.2208@snet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
One quick but insecure method is to do:
xhost +{hostname}
to allow anyone on this host access.

You can also do xhost +user@host to be a little
more restrictive.

I haven't jumped into the xauth stuff yet
since I didn't relish the thought of moving cookies
about.

 -- Al

Jeffrey M. Metcalf wrote:

> Hello,
>
> I was hoping someone could give me direction on
> my problem.  I have X11R6 installed on my
> FreeBSD machine and I would like to run
> X applications (xterm, etc) from a remote
> machine having them appear on my monitor.
>
> I have a dynamically assigned IP address over
> PPP with and ISP (28.8 modem so I know it'll
> be slow).  Apparently setting the DISPLAY
> environment variable in my remote telnet
> session wasn't enough.  When I attempt
> to start an xterm remotely, I get
>
> Xlib: Cannot connect to remote server: permission denied.
>
> I guess I have some more setting up to do ( xauth ??)
> among other things.  However, I found the manpages
> inadequate and there is no FAQ on this at www.XFree86.org
>
> Can anyone describe which steps I am missing??  I presume
> that what I am attempting to do is possible.
>
> Thank You for any help,
>
> JM
>
> Jeffrey M. Metcalf
> metcalf@snet.net






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?342D5A18.91216F07>