[MacPorts] #48735: Macports' quartz produces error when using ssh -Y

MacPorts noreply at macports.org
Wed Aug 26 15:25:38 PDT 2015


#48735: Macports' quartz produces error when using ssh -Y
-------------------------------------------+-------------------------------
 Reporter:  thiagoveloso@…                 |      Owner:  macports-
     Type:  defect                         |  tickets@…
 Priority:  Normal                         |     Status:  new
Component:  ports                          |  Milestone:
 Keywords:  X11, forward, warning, quartz  |    Version:  2.3.3
                                           |       Port:  xorg-server
-------------------------------------------+-------------------------------
 Trying to ssh my Macbook Pro with X11 enabled generates a warning that
 prevents any X11 app to load:


 {{{
 thiago at nowhere:~$ ssh -Y thiago at localhost
 Password:
 X11 forwarding request failed on channel 0
 Last login: Wed Aug 26 17:07:40 2015 from localhost
 }}}

 Notice the line: '''X11 forwarding request failed on channel 0'''

 Apparently, xauth is not able to get the correct $DISPLAY variable, thus
 generating the error message.

 The solution has been already applied to XQuartz. It is described in the
 answer to this question:
 http://apple.stackexchange.com/questions/169657/ssh-x-does-not-work-on-
 yosemite

 Or, more specifically, here:
 http://xquartz.macosforge.org/trac/ticket/2068

 As of now, the solution to this issue would be installing XQuartz from
 xquartz.macosforge.org. However, since quartz is also installed by
 MacPorts along with the '''xorg-server''' (or '''xorg-server-devel''')
 package, it would be convenient to avoid two redundant packages installed
 on the computer.

 Applying this fix to MacPorts's quartz would avoid the need to also
 install XQuartz to solve this issue. Thanks!

-- 
Ticket URL: <https://trac.macports.org/ticket/48735>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list