| ||||||||||||
xauth in panther Posted by Custard (Custard), 24 November 2003 I'm having trouble with xauth in MacOS X Panther.If I run xauth list, I get Code:
Which is fine. if I run xauth list $DISPLAY I get... Code:
Which isn't. It's a unix socket entry which if you export to another machine by... Code:
Completely fails to work. Also... Code:
Doesn't work. The only display that seems to match with list or extract is :0 which then lists the timewave.../unix:0 line above Soooooo, I came up with the following get round if anyone has similar problems. (it's a shell script, but I haven't got the hash key working yet. Macs, you gotta love 'em Code:
It's a bit 'hacky' though, but works for me. If anyone has any other bright ideas though, I'd like to hear them.. Incidentally, the reason for this is because Panther changes the cookie in .Xauthority each time it reboots. I'm sure it's not supposed to do that either. B Posted by admin (Graham Ellis), 30 November 2003 Glad the hack worked .... I haven't got Panther yet (an extra Mac laptop for our training fleet is on order as I write will come with 10.3) so haven't been able to experiment with throwing windows across the network yet. That's why I've been unusualy quiet on this thread to date .... remind me mid-December if you want me to play with this (always looking for an excuse to play )Posted by Custard (Custard), 30 November 2003 He he, certainly wil Graham.After a certain amount of 'playing' with some other unix boxes I have access to, I'm not sure it's confined to Panther. (Sorry apple). The docs for xauth say that you can use the rsh method of transferring the cookie, which works in some cases but not others. The 'others' being when there is a /unix:0 display in the list which gets sorted to the tp of the list and returned as the first match for the display. If I echo $DISPLAY it returns :0.0 which only matches the /unix.0 entry. And it changes the cookie on reboot which is annoying as you have to keep copying the key about. Also with respect to NFS on panther... It works, but I get strange errors sometimes (error 150 error copying file), mainly if I transfer a file like Solaris-package-local If I transfer it zipped, it's ok. Weird. Even weirder is that I haven't had one that's corrupt (yet) only the error message. Anyway, those aside, I'm sure you'll like panther for it's other features, and those that have returned from macos9. Take care. B This page is a thread posted to the opentalk forum
at www.opentalk.org.uk and
archived here for reference. To jump to the archive index please
follow this link.
|
| |||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho |