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 [EMAIL PROTECTED] -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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to