XFree 4.0.1 and xauth: X protocol error

XFree 4.0.1 and xauth: X protocol error

Post by Baptiste Malgu » Wed, 11 Oct 2000 04:00:00

Hi all !

My problem seems to be with xauth using XFree86 4.0.1 (don't have
tried with 4.0):

let's do a simple "startx". Two xterms are automatically launched.
Look at this piece of shell session:

indiana:/etc/X11# xauth list
indiana:/etc/X11# emacs            # All is ok. I leave emacs with C-x
indiana:/etc/X11# xauth generate indiana/unix:0
indiana:/etc/X11# xauth list
indiana/unix:0  MIT-MAGIC-COOKIE-1  296b11632b37215c035301321c3f4f35
indiana:/etc/X11# emacs
X protocol error: BadWindow (invalid Window parameter) on protocol
request 38

The "X protocol error" happened when I click in the emacs window (at the
1st or
2nd simple click).

Ok, in this case, I don't need to use a MIT-MAGIC-COOKIE, but I need it
to run
remote programs using my local display (so I would do "xauth generate
And the same error happens. I also got this problem with other X
programs such as

I use a Debian Woody. I notice this problem using compiled versions of
(the .tar.gz) and compiling by myself (about 70 minutes of CPU time, wow

It seems nobody has had this problem before. Somebody has an idea ?


Baptiste Malguy - http://babou.org

Elve-Ingnieur ENSERB - Filire Informatique (Universit Bordeaux I)
Postiche d'Administrateur Systme pour l'ABUL (lsm.abul.org)


1. using xauth when using XFree Xserver and SLIP link?

After reading the man pages and doing some experimenting, I still can't
figure this out.  I have a Linux box at home running the XFree 2.0
Xserver.  I set up a SLIP link to my school's terminal server, and then log
in to a machine at school, REPULSE.rutgers.edu.  I set the DISPLAY in my
shell on REPULSE to WALLER-slip-02.rutgers.edu:0.0 (WALLER-slip-02 is the
line on a Cisco terminal server through which I've connected to REPULSE).
My question is, when using xauth on REPULSE to add display names, should I
add the display  name "WALLER-slip-02:0" (with some key)?  And then when I
run xauth on my Linux box, what display name should I add?  Should it also
be WALLER-slip-02:0, since WALLER-slip-02.rutgers.edu is the IP address
I'm allocated when dialing in to the terminal server?  I tried this and am
having problems related to my local Xserver refusing connections from the
remote machine, so I figure I must be doing something wrong.  I'd
appreciate any suggestions.  Thanks.


2. ATI RAGE 3D LT + LCD monitor

3. How do I get xauth to work under Xfree 2.0???

4. Slow Download Speeds

5. Matrox Mystique ands X.

6. EXT2 problem with 1.2.5

7. XFree 4.1.0, Intelli on cua0, protocol?

8. end of line character problem

9. send/xauth errors under Linux/xdm

10. Protocol-Reject for unsupported protocol 0xc001

11. demuxprotrej: Unrecognized Protocol-Reject for protocol 0x94f1

12. TCP, UDP protocols vs. Unix domain protocols

13. Protocol-Reject for unsupported protocol