startx xauth errors

Robert Watson rwatson at freebsd.org
Tue Oct 12 01:53:22 PDT 2004


On Mon, 11 Oct 2004, Doug White wrote:

> On Fri, 8 Oct 2004 jmarquez at telenetwork.com wrote:
> 
> > When I execute startx, xauth gives me the following error twice in a row.
> >
> > xauth: (stdin):1:  bad "add" command line
> 
> Make sure your machine can resolve its own hostname.  THere's a couple
> of name lookups in the xauth path and it'll spit this out if the lookup
> fails.  Make sure the system's hostname is fully qualified and listed in
> /etc/hosts, DNS, or both :) 

And/or use the neat trick of using 'localhost' as your hostname, which I
believe Apple uses at times.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Principal Research Scientist, McAfee Research




More information about the freebsd-current mailing list