*BSD News Article 99851


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!uunet!in3.uu.net!207.67.1.2!news.inc.net!feeder.chicago.cic.net!news.radio.cz!news.eecs.umich.edu!nntprelay.mathworks.com!howland.erols.net!infeed2.internetmci.com!newsfeed.internetmci.com!news.wwa.com!news.ucdavis.edu!hchau
From: hchau@curie.cs.ucdavis.edu (Hung Chau)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: xauth doesn't work
Date: 17 Jul 1997 21:26:34 GMT
Organization: University of California, Davis
Lines: 29
Message-ID: <slrn5st3h5.dlf.hchau@curie.cs.ucdavis.edu>
Reply-To: hchau@curie.cs.ucdavis.edu
NNTP-Posting-Host: curie.cs.ucdavis.edu
X-Newsreader: slrn (0.9.3.2 UNIX)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44577

I have rack my brain on this and can't seem to find a solution.   I am
currently running FreeBSD 2.2.

The problem is that I can't get xauth to work

The first problem is that I cannot get xhost to disable all hosts.
<xhost -localhost> does nothing.  Doing an xhost again show that localhost
is still on the access list.

The second problem is that I can't get startx to generate a correct .Xauthority
file.  I have tried

%xhost
xhost> add curie.cs.ucdavis.edu:0.0 . 12345678901234567890123456789012
xhost> add landau.ucdavis.edu:0.0 . 12345678901234567890123456789012
xhost> exit
%

Then I ftp the file over the the remote machine.  I made sure that I used
binary mode and change the file access mode correctly.  But I cannot 
open anything from the remote host.

Has anyone encounter this problem before and came up with a solution for this.

		Thank,
		Hung
-- 
chauhu@cs.ucdavis.edu: /noun/ Hung Chau (2239 EUII Network Lab, UC Davis)
                              http://curie.cs.ucdavis.edu/