[Xquartz-dev] x11 forwarding, El Capitan

Jeremy Huddleston Sequoia jeremyhu at apple.com
Sat Oct 3 21:54:03 PDT 2015


> On Oct 3, 2015, at 15:00, John Koren <johnkoren14 at gmail.com> wrote:
> 
> I got it working. Turns out I did not have x11forwarding enabled in sshd_config, only in ssh_config. Enabling x11forwarding in ssh_config only was sufficient before.

No, you always need to enable support on the server.  If the server doesn't support it, there's nothing you can do on the client side to force it.

--Jeremy


> 
> Thanks for your help. It was helpful to know that you got it running.
> 
> On Sat, Oct 3, 2015 at 11:27 AM, John Koren <johnkoren14 at gmail.com> wrote:
> Martin
> 
> As I have indicated in my original note, adding xauth paths to /etc/ssh/ssh_config and /etc/ssh/sshd_config did not solve my issue. I wonder, could you post your /etc/ssh/ssh_config and /etc/ssh/sshd_config files? It's possible that I am missing some other detail.
> 
> Thanks ---John
> 
> 
> On Sat, Oct 3, 2015 at 6:31 AM, Martin Costabel <costabel at wanadoo.fr> wrote:
> On 3/10/15 12:38, John Koren wrote:
> 
> After upgrading to El Capitan, my macs are not able to do x11forwarding.
> 
> Same here.
> 
> []
> I noticed that in El Capitan system-wide ssh configuration files are now
> in /etc/ssh.
> 
> Xquartz doesn't seem to have noticed this. It creates a file /etc/sshd_config containing the 2 lines
> 
> # XAuthLocation added by XQuartz (http://xquartz.macosforge.org)
> XAuthLocation /opt/X11/bin/xauth
> 
> This file is no longer used, so the XAuthLocation line is forgotten.
> Add it to /etc/ssh/sshd_config, and X11 forwarding will work (it did for me, anyway).
> 
> I enabled X11forwarding and included
> 
> 
> # XAuthLocation added by XQuartz (http://xquartz.macosforge.org
> <http://xquartz.macosforge.org/>)
> Host *
>     XAuthLocation /opt/X11/bin/xauth
> 
> in the ssh_config and sshd_config files in /etc/ssh.
> 
> Has anybody faced this issue with El Capitan and found a solution to it?
> 
> Adding it to sshd_config worked for me, without the Host * line though, which seems to be a ssh_config thing.
> 
> -- 
> Martin
> 
> 
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/xquartz-dev
> 
> 
> 
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/xquartz-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4109 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/xquartz-dev/attachments/20151003/1ed3a796/attachment.p7s>


More information about the Xquartz-dev mailing list