Opened 9 years ago

Closed 9 years ago

#48735 closed defect (worksforme)

xorg-server: Macports' Xquartz produces error when using ssh -Y

Reported by: thiagoveloso (Thiago V. dos Santos) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: xorg-server

Description

Trying to ssh my Macbook Pro with X11 enabled generates a warning that prevents any X11 app to load:

thiago@nowhere:~$ ssh -Y thiago@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!

Change History (4)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: X11 forward warning quartz removed
Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Macports' quartz produces error when using ssh -Yxorg-server: Macports' quartz produces error when using ssh -Y

comment:3 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Summary: xorg-server: Macports' quartz produces error when using ssh -Yxorg-server: Macports' Xquartz produces error when using ssh -Y

comment:4 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: newclosed

The changes in http://xquartz.macosforge.org/trac/ticket/2068 landed in MacPorts in February with r132934.

I suspect this is a configuration problem on your end. Please ask for help on the x11-users mailing list if you need it.

Note: See TracTickets for help on using tickets.