Bug 96362

Summary: Unable to run any X apps despite having X11Forwarding enabled
Product: XQuartz Reporter: Kyle <kylepittman831>
Component: New BugsAssignee: Jeremy Huddleston Sequoia <jeremyhu>
Status: RESOLVED NOTABUG QA Contact: Jeremy Huddleston Sequoia <jeremyhu>
Severity: normal    
Priority: medium    
Version: 2.7.9 (xserver-1.17.4)   
Hardware: Other   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:

Description Kyle 2016-06-04 04:23:22 UTC
I have been trying to ssh and run a program from a linux machine that opens windows on my computer, but I am hit with an error stating that: "X11 connection was rejected because of wrong authentication" and "cannot open display". I have ensured that X11Forwarding is enabled on both my computer and the linux machine. When trying to run something such as xclock for a test I am given these debug messages:

[jaaarnol@unix1 ~]$ xclock
debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 61123
debug2: fd 9 setting O_NONBLOCK
debug3: fd 9 is O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
debug2: X11 auth data does not match fake data.
X11 connection rejected because of wrong authentication.
debug2: X11 rejected 1 i0/o0
debug2: channel 1: read failed
debug2: channel 1: close_read
debug2: channel 1: input open -> drain
debug2: channel 1: ibuf empty
debug2: channel 1: send eof
debug2: channel 1: input drain -> closed
debug2: channel 1: write failed
debug2: channel 1: close_write
debug2: channel 1: output open -> closed
debug2: X11 closed 1 i3/o3
debug2: channel 1: send close
debug2: channel 1: rcvd close
debug2: channel 1: is dead
debug2: channel 1: garbage collecting
debug1: channel 1: free: x11, nchannels 2
debug3: channel 1: status: The following connections are open:
  #0 client-session (t4 r0 i0/0 o0/0 fd 6/7 cc -1)
  #1 x11 (t7 r2 i3/0 o3/0 fd 9/9 cc -1)

Error: Can't open display: localhost:10.0
Comment 1 Jeremy Huddleston Sequoia 2016-06-04 04:55:21 UTC
debug2: X11 auth data does not match fake data.
X11 connection rejected because of wrong authentication.

I suggest you ask on the xorg mailing list for help.

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.