Re: X11 Server on Mac, X11 Client on linux
Re: X11 Server on Mac, X11 Client on linux
- Subject: Re: X11 Server on Mac, X11 Client on linux
- From: Trevor Merritt <email@hidden>
- Date: Thu, 27 Feb 2003 15:31:32 -0500
What is DISPLAY set to just *before* you 'ssh -X' to the linux box?
(You didn't show that in your previous listing.)
[Trevor-Merritts-Computer:~] pepsis% echo $DISPLAY
:0.0
[Trevor-Merritts-Computer:~] pepsis% ssh pepsis@zeus
pepsis@zeus's password:
Linux zeus 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 unknown
<snip>
pepsis@zeus:~$ echo $DISPLAY
pepsis@zeus:~$ export DISPLAY=192.168.2.65:0
pepsis@zeus:~$ echo $DISPLAY
192.168.2.65:0
pepsis@zeus:~$ xclock
Error: Can't open display: 192.168.2.65:0
<ON Trevor-Merritts-Computer>
[Trevor-Merritts-Computer:~] pepsis% xhost +
access control disabled, clients can connect from any host
[Trevor-Merritts-Computer:~] pepsis%
<BACK TO ZEUS>
pepsis@zeus:~$ xclock
Error: Can't open display: 192.168.2.65:0
*checked on the linux server and X11Forwarding was set to no. i
fixed that and restarted the sshd - didn't resolve the issue
*DISPLAY variable is not set on login, thats not a big deal for me, i
set it when i login if im going to run an X11 app, otherwise its not
needed.
OK, the above two statements should be mutually exclusive...
<snip>
sorry for this misunderstanding, they were 2 separate things.
*i have the firewall turned off
Hmmm, odd that it can't see port 6000...
On your linux box, what happens if you type "telnet 192.168.2.65 6000"?
If port 6000 is open, you should see a line that says "Connected to
192.168.2.65" (or something), followed by a line about the escape
character. (Press return a few times to get it to close the
connection.)
If port 6000 is not open (which is what I expect), you should get an
error saying that the connection was refused.
Note that X11.app now has a preference to prevent remote connections,
so this may be where your problem lies (for xhost and xauth, anyway -
'ssh -X' should still work whatever...) - check the "Allow connections
from network clients" option in the Security tab of the prefs dialog.
pepsis@zeus:~$ telnet 192.168.2.65 6000
Trying 192.168.2.65...
telnet: Unable to connect to remote host: Connection refused
pepsis@zeus:~$
<END>
on the prefs tab, i have security turned off (both checkboxes are
unchecked).
this have others made this work?
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.