Re: Authority problems...
Re: Authority problems...
- Subject: Re: Authority problems...
- From: P T Withington <email@hidden>
- Date: Fri, 16 May 2003 17:39:24 -0400
From: Jonas Steverud <email@hidden>
Date: Fri, 16 May 2003 19:10:02 +0200
Hello,
I have a little problem with X11.app _3 that I'm hoping the list can
help me with. (I've read the entry about this in the FA
I have a Tibook 10.2.6 connected to the Net via Ethernet and I get IP
and hostname etc. via DHCP. Since I quite commonly disconnects from
the net (that's the whole point with a laptop, isn't it? ;-) ) my
hostname varies between Neocortex.local and <very long, cryptic string
that might change between times, given by the DHCP
server>.bredband.net.
[...]
I really don't want to do a "xhost +", and my experiments with xauth
has failed.
Is there a recommended way of getting rid of this problem? How to make
the X11 server accept all connections from my own computer, from
programs I run myself - regardless of what the hostname currently is?
The reason I disbelieve the xhost program is that I also want some
kind of security - I use OS X' firewall and I think my ISP has
firewalls too (but I'm most uncertain about that) - and I don't know
how secure the xhost program is in this context. Maybe "xhost <my
username>" is sufficent?
Neither "Authenticate connections" nor "Allow connections from network
clients" is checked in the preferences for X11.
I don't think you have a problem with authority. You have a problem
with names.
Most likely your problem is because localhost does not resolve.
localhost is not handled in any special way by the network (contrary to
popular belief) and unless the DNS server you connect to has properly
created a localhost namespace, it is pretty useless.
Are you explicitly setting your DISPLAY? You shouldn't have to, and if
you do, don't use localhost:
If you start xapps from your .xinitrc (or from an app started from
that) they should inherit a DISPLAY of ':0.0' which will correctly be
interpreted as 'connect to the server on the local machine', without
having to do any name lookup (especially handy for working off line).
[Your security settings in the preferences are correct for this mode of
operation. You will have to use ssh if you want to connect to apps on
remote machines however (which is a perfectly reasonable way of doing
that too).]
_______________________________________________
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.