Re: Got it: SSH & X11 forwarding
- Date: Fri, 23 Nov 2018 09:48:03 -0500
- From: Roberto C. Sánchez <roberto@xxxxxxxxxx>
- Subject: Re: Got it: SSH & X11 forwarding
On Fri, Nov 23, 2018 at 03:16:31PM +0100, Martin wrote:
> Stupid as it can be: X is running with -nolisten.
> Thanks good it's Friday, cheers.
If you are not logging in with 'ssh -X ....' or 'ssh -Y ....' then you
are not X forwarding over ssh. In particular, X forwarding does not
require the Xserver to listen for any connections. As others have
pointed out, you should be able to ssh in then execute the command for
graphical application and that application should present itself on your
desktop, from where you initiated the ssh connection.
It sounds like what you are doing is using ssh to access the remote
machine and then launching whatever X application you need in such a way
that it simply connects back directly to the X server on your machine
rather than traversing the ssh tunnel.
Roberto C. Sánchez