• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: X11 Error: Couldn't find per display information
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X11 Error: Couldn't find per display information


  • Subject: Re: X11 Error: Couldn't find per display information
  • From: Randy Ford <email@hidden>
  • Date: Tue, 4 Feb 2003 13:37:03 -0600

On Tuesday, February 4, 2003, at 12:41  PM, Joseph Hartvigsen wrote:

William and Randy - thanks for the help. The DNS resolves the
various hostnames ok, so that wasn't it. I do have the firewall
on (System Preferences > sharing ).  I created an x11 entry to allow
port 6000 access, (using xhost remote_hostname rather than
xhost + ) and it solved the problem. I also tried the ssh forwarding
as Randy suggested. I turned off the x11 port 6000 in the
firewall, then:
su to root
edited /etc/ssh_config and changed
#  ForwardX11 no
to
Forward X11 yes

edited /etc/sshd_config and changed
# X11Forwarding no
to
X11Forwarding yes

reboot the mac

start x11
xhost remote_hostname
ssh -X remote_hostname
setenv DISPLAY mac_hostname
xterm

Then I get the same error. Somehow I don't have the x11 forwarding
setup correctly. The allowing 6000 through the firewall works, but
I'd like to figure out the ssh approach so I could do this from off site
since I can't (wouldn't) change the company firewall to open port
6000.

Don't change the DISPLAY variable before launching the xterm. Ssh sets up a display proxy on the machine and sets the DISPLAY variable to it. When you change the DISPLAY back, you are no longer trying to use the ssh proxy, but instead are again trying to connect directly back to the server.


randy.
_______________________________________________
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.

References: 
 >Re: X11 Error: Couldn't find per display information (From: Joseph Hartvigsen <email@hidden>)

  • Prev by Date: Re: X11 Error: Couldn't find per display information
  • Next by Date: RE: X11 Terminal at Startup
  • Previous by thread: Re: X11 Error: Couldn't find per display information
  • Next by thread: Re: X11 Error: Couldn't find per display information
  • Index(es):
    • Date
    • Thread