public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan@linuxholdings.co.za>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] X11 from another machine
Date: Mon, 21 May 2007 18:57:40 +0200	[thread overview]
Message-ID: <200705211857.40270.alan@linuxholdings.co.za> (raw)
In-Reply-To: <4651C936.4030307@wht.com.au>

On Monday 21 May 2007, Andrew Lowe wrote:
> Hi all,
> 	I'm in the process of setting up a linux box as my desktop machine.
> I've got X up and running, am about to do the kde install, but have a
> question regarding "remote" X windows.
>
> 	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? It wouldn't surprise me if I've got something wrong, it's
> midnight and I've already had way too much chocolate, but I thought I
> would post this question before I go to bed in the hope that someone
> might have an insight.

ssh -X <username>@<host>
from the Linux to the Sun machine. Then run the X-client in that session 
and it'll display on the local Xserver. If you want something a tad 
more secure, replace -X with -Y.

Refer man ssh

When doing it the old way by just telnet/ssh style logins then set 
DISPLAY and use xhost, you will probably run into your Xserver refusing 
non-local connections.... the display manager is responsible for this, 
and you will have to dig into it's configuration and find the line it 
uses to start X proper, then remove this argument:

-nolisten tcp

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2007-05-21 17:02 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
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 ` Alan McKinnon [this message]
2007-05-21 17:01 ` [gentoo-user] X11 from another machine 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=200705211857.40270.alan@linuxholdings.co.za \
    --to=alan@linuxholdings.co.za \
    --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