Bug 99148

Summary: ssh X forwarding on Sierra
Product: XQuartz Reporter: Wansfell <plinnell>
Component: New BugsAssignee: Jeremy Huddleston Sequoia <jeremyhu>
Status: RESOLVED WORKSFORME QA Contact: Jeremy Huddleston Sequoia <jeremyhu>
Severity: normal    
Priority: medium    
Version: 2.7.11 (xserver-1.18.4)   
Hardware: Other   
OS: Mac OS X (All)   
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.