Re: Technical problem -- please help.
On Wed, Feb 02, 2000 at 10:06:44AM -0600, Jens B. Jorgensen wrote:
> Jérôme Loisel wrote:
> > Hi!
> > I am having a rather technical problem with my GNU/Linux system. I have
> > tried really hard to resolve this on my own, and am out of luck.
> > The sad thing is I'm not running Debian, but RedHat... However, I don't have
> > commercial support, and the people on this list feel like The Most Likely to
> > Actually Be Able to Help Me(TM)... So please help.
> > The RedHat 6.1 installer hiccupped on my mouse, so I had to do the text
> > install. No problem, but the hosts were not configured properly. The
> > /etc/hosts and related files were empty. I filled them as best I could with
> > localhost entries, scrupulously following man pages. But I feel something is
> > still wrong.
> > I almost always use X. Well, eventually, after 5 minutes or one day, I can
> > no longer start new apps. I get an error. (Luckily, it is happening now, and
> > I am not even kidding, so here is a transcript of terminal 1)
> > "AUDIT: [date]: 1515 X: client X rejected from local host AUTH name:
> > MIT-MAGIC-COOKIE-1: ID: -1"
> This authorization is X authorization. Look at the man page for xauth.
Nah, look in /etc/sysconfig or some such (I debianized my RH machine
long ago... :)) and see the goofy junk RH does when you bring up an
interface -- if the system is named 'localhost.localdomain', they check
the reverse DNS on the new IP number and name the machine thusly.
This, of course, breaks xauth which uses the hostname as an index (ie,
you have a cookie for "foo.bar:0", but that's now named
Very very goofy setup. The solution is to give the system a real name
(or at least not localhost.localdomain) or to install Debian and be done
Brian Moore | Of course vi is God's editor.
Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
Usenet Vandal | for it to load on the seventh day.
Netscum, Bane of Elves.