[Xquartz-dev] x11 forwarding, El Capitan

John Koren johnkoren14 at gmail.com
Sat Oct 3 15:00:07 PDT 2015


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.

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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/xquartz-dev/attachments/20151003/0ff29cf3/attachment.html>


More information about the Xquartz-dev mailing list