Re: BgRegister X server insecure - newbie

Paul Sala <[email protected]>
Newsgroups gmane.mail.exmh.user
Message-ID <OF03B740FD.8A605005-ON85257115.00688B2F-85257115.006C9929@us.ibm.com>
OK, After piecing together suggestions from a few emails, I finally got
this working. Here is what I did on aix.5.2

put these 2 lines in my .profile and .xinitrc files:
  export  DISPLAY=`hostname`:0
  export  XAUTHORITY=$HOME/.Xauthority

cleaned out my .Xauthority file as such;
  xauth list
I deleted all the items it listed like this:
  xauth remove name1 name2 ......

I restearted X and I saw there was no cookie for my display in the xauth
file, hmmm not sure why, it should have been created automaticly. So I
created it manually as shown here:

generated 2 new xauth cookies;
  xauth generate MyHostname.abc.com/unix:0  .  timeout  0
  xauth generate MyHostname.abc.com:0  .  timeout  0

stopped X
started X like this:
    xinit  --  -auth  $XAUTHORITY

started exmh, works fine now, no more xserver error messages!

I am not sure if it was one item or multiple items that fixed it, I just
took the shotgun approach.

Thanks eveyone for all your help......paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.