"Protocol not supported by server"

mark.d.witmer at gmail.com mark.d.witmer at gmail.com
Sat Mar 2 13:21:13 PST 2013


Hi all,

I hope I'm targeting the right list with this question. I'm writing an X
client library (for Guile scheme, using the XML/XCB files to generate
code) and I'm at the point where I'm actually connecting to the X
server.

I keep getting the message "Protocol not supported by server" when I
send my connection data and I can't figure out why. I get the
authentication method name and data by calling XauGetBestAuthByAddr() in
Xau just like xcb does.

My Xorg version is 1.13.2.901 running on Arch linux.

Here's the initial data I'm sending to the server:

108  # Byte-order
0    # Padding
11 0 # Major version
0 0  # Minor version
36 0 # Length of auth name + padding
32 0 # Length of auth data + padding
0 0  # padding

# Auth name (MIT-MAGIC-COOKIE-1)
77 73 84 45 77 65 71 73 67 45 67 79 79 75 73 69 45 49 
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0  # Auth name padding

# Auth data (varies, provided by Xau)
136 196 190 238 28 102 95 228 40 107 163 241 102 91 217 126
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # Auth data padding

The response includes major version 11 and minor version 0 as well.

Any ideas what I might be doing wrong?

Thanks,

-- 
Mark Witmer


More information about the xorg mailing list