Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2002 21:56:27 -0500 (EST)
From:      John Mills <jmmills@telocity.com>
To:        Rotaru Razvan <roti_343@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: remote X
Message-ID:  <Pine.LNX.4.21.0211172149270.10113-100000@otter.mills-atl.com>
In-Reply-To: <20021116011939.45738.qmail@web11208.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Rotaru -

On Fri, 15 Nov 2002, Rotaru Razvan wrote:

> Is it possible to use the local X11 Server for remote applications? For
> instance via ssh. I have my XWindows started, i log myself in via ssh
> on a remote host, and I want to run a graphical application on the
> remote host. Or is it possible the other way (a local application on a
> remote server)? Or is there any other way I can run a graphical
> application on a remote host that i am logged on via ssh?

I expect it depends on your SSH client, but on my systems you open a
console session on the local X-server, invoke 'ssh <user@host> -X' and
then whatever remote X-windows application to project its display back to
your host:

% ssh bozo@circus.org -X
 [... login dialog ...]
% emacs &
%
 [another session is opened on my screen running 'emacs', and since I
"backgrounded" the remote app, the console remains live for further
commands.

Check 'man ssh'.

Depending on what type of X authorization you use, you may have to put the
remote login on a list of permitted users of your local display (xauth or
whatever).

 - John Mills


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0211172149270.10113-100000>