X-Server accepting connections

Need new test, action, option? Post request here.
Post Reply
Guest

X-Server accepting connections

Post by Guest »

Hi,

I'm trying to set up a test checking that our linux box is accepting connections via xdm/kdm. I have found that xdmcp listens on udp port 177. However, I can't find what packet to send to that port to get an ack.

Maybe you can help and/or provide that test in a new version...
KS-Soft
Posts: 12887
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Could you please point me to protocol specification? I spent couple of hours trying to find it :-(
What the correct name of protocol? I think "X Display Manager Control Protocol"?

Regards
Alex
Guest

Post by Guest »

Yes, that is correct...

I found this protocol spec that should help:

http://ftp.doc.cs.univ-paris8.fr/pub/XF ... /xdmcp.TXT

Thanks...
KS-Soft
Posts: 12887
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If I understand that specification correctly, you may send "Query" packet %00%01%00%02%00%01%00
Any reply from the host will be "good" condition.

Regards
Alex
Guest

Post by Guest »

Thanks so much. That appears to work...
Post Reply