|Summary:||Connection from remote server refused|
|Product:||xorg||Reporter:||Piero Malcovati <piero.malcovati>|
|Component:||App/xinit||Assignee:||Jeremy Huddleston Sequoia <jeremyhu>|
|Status:||RESOLVED FIXED||QA Contact:||Jeremy Huddleston Sequoia <jeremyhu>|
|OS:||Mac OS X (All)|
|i915 platform:||i915 features:|
Description Piero Malcovati 2016-05-13 09:01:37 UTC
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.
Comment 1 Jeremy Huddleston Sequoia 2016-05-13 20:49:28 UTC
I think I remember seeing that xorg-server was disabling TCP by default. We can probably re-enable it if that's the case.
Comment 2 Piero Malcovati 2016-05-16 14:53:09 UTC
Can you please let me know when a version with this bug fixed will be available (also beta). Thank you.
Comment 3 Piero Malcovati 2016-05-16 15:25:19 UTC
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!!
Comment 4 Jeremy Huddleston Sequoia 2016-05-28 20:48:44 UTC
Comment 5 Jeremy Huddleston Sequoia 2016-05-28 20:49:05 UTC
This should be addressed in XQuartz 2.7.10 beta2 or later (not released yet).
Comment 6 Jeremy Huddleston Sequoia 2016-06-05 19:28:07 UTC
*** Bug 96394 has been marked as a duplicate of this bug. ***