() mark.d.wit...@gmail.com () Sun, 03 Mar 2013 23:18:32 -0500 Using writev() gets rid of the broken pipe error and I successfully write my connection initiation request to the X server.
If you can prove this, then perhaps you have found a bug in the server. but I probably need to take a break from this for a while Another idea is to restart X. I remember that helped sometimes. In theory, failed connection attempts should not leave persistent changes in the server state (modulo incremented counters), but it's also true that the vast majority of client interactions are via Xlib (et al), so there might be some shared quirks (both server and Xlib are wrong somehow but that's OK because they are "compatibly wrong") in play. Anyway, the point is: killing X is a good excuse to take a break. :-D -- Thien-Thi Nguyen GPG key: 4C807502
pgpKPpTlNaaj9.pgp
Description: PGP signature