Bug 99148 - ssh X forwarding on Sierra
Summary: ssh X forwarding on Sierra
Alias: None
Product: XQuartz
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 2.7.11 (xserver-1.18.4)
Hardware: Other Mac OS X (All)
: medium normal
Assignee: Jeremy Huddleston Sequoia
QA Contact: Jeremy Huddleston Sequoia
Depends on:
Reported: 2016-12-19 19:53 UTC by Wansfell
Modified: 2016-12-21 00:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Wansfell 2016-12-19 19:53:37 UTC
Apologies if this is the wrong place.  On El Capitan, I had no
problems with ssh X11 forwarding, but now now on Sierra 10.12.2

ssh remote
untrusted X11 forwarding setup failed: xauth key data not generated

or ssh -Y remote
No xauth data; using fake authentication data for X11 forwarding

and this doesn't appear to be harmless because
xdvi file
X11 connection rejected because of wrong authentication.
Error: Can't open display: localhost:10.0

and echo $DISPLAY
gives nothing

I have checked that ForwardX11 yes is in both my ssh_config and
sshd_config files
Comment 1 Wansfell 2016-12-20 18:08:36 UTC
Oh dear, I feel rather embarrassed; ssh -Y remote does solve my
problem.  Now when I do echo $DISPLAY, I do get localhost:10.0
and xdvi works fine.  Please accept my apologies.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.