Examples of X servers are XQuartz for Mac and Xming for. To run X11 Forwarding on Mac: Run XQuartz.app Applications. 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.Īpplying this fix to MacPorts's quartz would avoid the need to also install XQuartz to solve this issue. In order for this to work, your local desktop machine must be running appropriate X server software. It is described in the answer to this question: Īs of now, the solution to this issue would be installing XQuartz from. The solution has been already applied to XQuartz. Notice the line: X11 forwarding request failed on channel 0Īpparently, xauth is not able to get the correct $DISPLAY variable, thus generating the error message. Last login: Wed Aug 26 17:07:40 2015 from localhost On the host Pc I see the following in auth. Since the other day when I connect to the PC I receive the message 'X11 forwarding request failed on channel 0' and X forwarding no longer works. Edit /.ssh/config to define the correct XAuthLocation and X11 forwarding now works. The problem is that ssh is looking for xauth in /usr/X11R6/bin and on macOS with XQuartz it is in /opt/X11/bin. Trying to ssh my Macbook Pro with X11 enabled generates a warning that prevents any X11 app to ssh -Y forwarding request failed on channel 0 By default, X11 forwarding is not enabled on Mac Leopard, and from Mountain Lion on, Apple decided not to ship X11 with the OS. I have a PC with SSH server installed and often connect to it from my netbook (both running Sid) with X forwarding enabled. Best answer shepster Author Level 1 13 points I found the solution.
0 Comments
Leave a Reply. |