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: Jonas Maebe <email@hidden>
- Date: Tue, 4 Feb 2003 19:57:23 +0100
On dinsdag, feb 4, 2003, at 19:41 Europe/Brussels, Joseph Hartvigsen
wrote:
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
This last part is only necessary if you want to be able to ssh into
your Mac and remotely display X programs running locally on the X
server on your Mac.
reboot the mac
Turning off and back on remote access would be enough.
start x11
xhost remote_hostname
xhost is not necessary in this case.
ssh -X remote_hostname
You don't have to use -X if you already set "ForwardX11 yes" in
/etc/ssh_config. It won't hurt however.
setenv DISPLAY mac_hostname
Don't do this, ssh -X already sets a DISPLAY environment variable with
other contents.
xterm
Then I get the same error. Somehow I don't have the x11 forwarding
setup correctly.
The only steps on a regular Mac OS X box that are necessary to locally
display remotely started X apps are:
a) start X11.app/XDarwin
b) do an "ssh -X remote_hostname" (either from within an xterm, or from
within terminal.app *after* locally doing a "setenv DISPLAY :0")
c) start the remote app.
No editing of config files, opening up of ports or changing firewall
rules is necessary at all.
Jonas
_______________________________________________
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.