Re: X11 Error: Couldn't find per display information
Re: X11 Error: Couldn't find per display information
- Subject: Re: X11 Error: Couldn't find per display information
- From: Joseph Hartvigsen <email@hidden>
- Date: Tue, 4 Feb 2003 12:24:49 -0700 (MST)
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.
Thanks again,
Joe
email@hidden wrote:
>
> Message: 10
> Date: Mon, 3 Feb 2003 19:13:25 -0800
> Subject: Re: X11 Error: Couldn't find per display information
> From: William Julien <email@hidden>
> To: x11-users <email@hidden>
>
> This is probably a DNS problem. Try setting the display to the ip
> address.
> eg: setenv DISPLAY xxx.xxx.xxx.xxx:0
>
> On the hp box, be sure you can ping the address. You can avoid using the
> ip address by adding 'imac-hostname' to dns or in the HP's /etc/hosts.
>
> William
> Message: 11
> Date: Mon, 3 Feb 2003 21:27:16 -0600
> Subject: Re: X11 Error: Couldn't find per display information
> Cc: email@hidden
> From: Randy Ford <email@hidden>
>
> On Monday, February 3, 2003, at 02:30 PM, Joseph Hartvigsen wrote:
>
> > I am trying to run x11 on an iMac (500MHz PPC G3, 10.2.3) which is
> > current on the software updater. I can run local x11 clients fine, but
> > have
> > trouble running a client on another machine and having it display on
> > the iMac x11server. I've run xhost + or xhost remotehostname on the
> > iMac, then on the remote (HPUX) machine shell window done a
> > setenv DISPLAY imac-hostname:0.0 (in csh). However, when I try to
> > launch any client program on the HPUX shell which I've set DISPLAY
> > to the mac, it waits several minutes and quits out with the following:
> >
> > Error: Can't open display: imac-hostname:0.0
> > Error: Couldn't find per display information
>
> It may be the firewall. Do you have it enabled? X uses at least port
> 6000. I don't know if you have to open up anything else. If you use
> xhost + and don't block port 6000, people from outside can do bad
> things.
>
> Most people seem to tunnel X-windows through ssh now; it's a lot more
> secure, and convenient to boot. I had to change /etc/ssh_config and
> /etc/sshd_config to set X11Forwarding to yes. (Just doing ssh -X
> user@host didn't work for me: I had to add X11Forwarding in
> /etc/ssh_config even though sshd was already set to allow it.)
_______________________________________________
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.