RE: Need Help Beating X11 Into Submission
RE: Need Help Beating X11 Into Submission
- Subject: RE: Need Help Beating X11 Into Submission
- From: "Ray Livingston" <email@hidden>
- Date: Sun, 25 Sep 2005 13:47:05 -0700
Title: Re: Need Help Beating X11 Into Submission
Todd,
After browsing the archives, I'm betting that's the problem,
but won't be able to try it until tomorrow. What's really odd though, is
that *sometimes* it works! Why? I would expect it to either always
work, or always not work, but about one boot out of 10 or 20, it works
fine. Once I shutdown X11, it goes back to not working for the next 10-20
boots. Very odd!
Regards,
Ray L.
Hi Ray,
I’m not an expert, but I had similar
problems. The X11 update that came with Tiger wants you to only use ssh –Y to
connect. But I need to telnet to make our load sharing software work.
So... To make telnet, or rlogin work, somebody sent me the following email and
it fixed the problem:
The parameters of the X Window server have been chosen by Apple to
allow only ssh -Y connexions and remote display. Generally "xhost +hostname" is
not secure. In those cases where the network is secure (or if there is no other
solution), it is possible to activate the traditional method.
All you have to do
is to type the following command, in a X11 xterm on your Mac :
defaults write com.apple.x11 nolisten_tcp -boolean
false
You can check the value of the nolisten_tcp parameter with the
command
defaults read com.apple.x11
You will see the
value "nolisten_tcp" = 0 (the value was "1" before)
Note that if you
change your X11 preferences via the menu X11 -> Preferences... the
parameter nolisten_tcp will be reset to "1" (true); you will have to change it
again.
There is another method which can be used : MIT-Magic-Cookie. You
don't use xhost +, just setenv DISPLAY on the remote host. Both the X11 server
and the X11 client must run xauth.
Once again xauth must be enabled on the
Mac :
defaults
write com.apple.x11 no_auth -boolean false
You must exchange
keys between the Mac and the remote unix station. It is heavier to use, but it
is secure.
I hope your problem will be solved (tell me). I can now use rlogin,
rsh on remote Sun Stations and send the display to my Mac with setenv DISPLAY
myhost:0.
From: Ray Livingston <email@hidden>
Date: Sun, 25
Sep 2005 09:26:58 -0700
To:
<email@hidden>
Subject: Need Help Beating X11
Into Submission
I have a new
Mac mini I'm trying to use purely as an X-server, but I am finding it extremely
frustrating. On first unpacking the system, it booted up and configured
itself flawlessly. I installed X11, and started it, typed "xhost +" and
was then able to start X applications (in particular KDE Desktop) from our
Linux farm with no problems. After a while, I exited X11, and repeated the
same steps, but with no luck. X11 starts and works just fine, the xterm
comes up and works just fine. "xhost +" indicates it will accept
connections from any client, but the Linux farm refuses to acknowledge there is
an X-server present. I have since configured X11 as a Startup item, so it
comes up on boot-up. If I keep rebooting over and over, eventually,
everything will work again, but as soon as I shutdown X11, it goes back to not
working for some random long, usually long, period of time. In all
cases, whether the Linux farm acknowledges the presence of the X-server or not,
I can always ssh into the farm and launch X-applications that display on the Mac
using X-11 forwarding.
Any ideas what's going on?
I'm about at the end of my rope with this
thing.
Thanks!
Regards,
Ray
L.
_______________________________________________
Do not
post admin requests to the list. They will be ignored.
X11-users mailing list
(email@hidden)
Help/Unsubscribe/Update
your Subscription:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden