From: Hans-Werner Hilse <hilse@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] X11 from another machine
Date: Mon, 21 May 2007 18:45:26 +0200 [thread overview]
Message-ID: <20070521184526.04311d8e.hilse@web.de> (raw)
In-Reply-To: <4651C936.4030307@wht.com.au>
Hi,
On Tue, 22 May 2007 00:30:46 +0800 Andrew Lowe <agl@wht.com.au> wrote:
> I have the situation where I have to connect to a remote,
> it's still in my office but X will be running across the network, Sun
> server so that I can run a CAD system. In the past I've done this
> from Windows using telnet and an X emulator, exporting the DISPLAY
> variable etc, but now I want to be able to do this from the linux
> box. I've tried what I've done under Windows in the past but the Sun
> machine can't find my X server, even though I'm in a graphical X
> window when I type the commands to initiate the remote X session.
>
> My question is, is there anything "special" that I have to do
> so that the linux X server is listening to "the outside world" so
> that the Sun box can create the connection and get X displaying on my
> linux box?
Yes. Usually, the X server is supposed to only listen on localhost
(127.0.0.1), if at all on TCP ports, that is (it might be listening
only on a UNIX socket).
That's only one part, though. The other is X Authorization. It depends
a bit on the way you use to start X, but it should be active. You
probably need to transport your auth cookie to the target. See XAUTH(1)
for all the details.
However, the usual way to use remote X-based programs is just to let
SSH do that. It can provide a tunnel for X. This is especially easy if
the remote SSH server daemon has set its "X11Forwarding" configuration
setting set to "yes" (otherwise, it is really a bit harder and not
suggested). Then, you just would connect using "ssh -X user@host" and
that's it, SSH will care for creating a socket on the remote machine
and set the DISPLAY variable accordingly.
-hwh
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-05-21 16:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-21 16:30 [gentoo-user] X11 from another machine Andrew Lowe
2007-05-21 16:45 ` Hans-Werner Hilse [this message]
2007-05-21 17:22 ` [gentoo-user] " Grant Edwards
2007-05-21 17:37 ` Hans-Werner Hilse
2007-05-21 18:25 ` Grant Edwards
2007-05-29 15:00 ` [gentoo-user] Re: X11 from another machine [SOLVED] Andrew Lowe
2007-05-29 17:47 ` Alan McKinnon
2007-05-21 16:57 ` [gentoo-user] X11 from another machine Alan McKinnon
2007-05-21 17:01 ` Alex Schuster
2007-05-21 17:58 ` Neil Bothwick
2007-05-21 18:15 ` [gentoo-user] " james
2007-05-21 21:54 ` [gentoo-user] " Guillermo A. Amaral
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070521184526.04311d8e.hilse@web.de \
--to=hilse@web.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox