After installing XQuartz 2.7.9 on MacOSX 10.11.4, if I start XQuartz, type xhost + and then rlogin to a remote server, setenv DISPLAY to <hostname_of_my_mac>:0.0 and run for example xterm, I get the error: xterm: Xt error: Can't open display: <hostname_of_my_mac>:0.0 Before updating to 2.7.9 (with 2.7.8) the same commands were working fine. In XQuartz preferences both Authenticate Connections and Allow Connections from Network Clients are enabled. I also tried to start XQuartz, type xhost +, setenv DISPLAY localhost:0.0 on my Mac, when launching xterm I get the same error, whereas if I setenv DISPLAY :0.0 it works fine. I tried to delete the .Xauthority file but nothing changed. With ssh -X everything works fine. Help please. Thank you.
I think I remember seeing that xorg-server was disabling TCP by default. We can probably re-enable it if that's the case.
Can you please let me know when a version with this bug fixed will be available (also beta). Thank you.
I was able to fix the problem by adding after line 107 of /opt/X11/bin/startx defaultserverargs="$defaultserverargs -nolisten tcp" the following two lines: else defaultserverargs="$defaultserverargs -listen tcp" Now everything works!!
https://cgit.freedesktop.org/xorg/app/xinit/commit/?id=208a47e0d8f62e7c77fa42137511de890feea7fe
This should be addressed in XQuartz 2.7.10 beta2 or later (not released yet).
*** Bug 96394 has been marked as a duplicate of this bug. ***
*** Bug 96771 has been marked as a duplicate of this bug. ***
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.