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
-- 
[EMAIL PROTECTED] mailing list

Reply via email to