trying to get xdmcp to work

Pierre Abbat phma at leaf.dragonflybsd.org
Sat Dec 27 21:28:50 PST 2014


Zyxomma runs DragonFly. Caracal runs Linux. I'm trying to get a Xephyr or 
Xnest window on caracal to run a session on zyxomma. Both have kdm.

kdm.log on zyxomma ends with:
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-
COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key

# tcpdump -i em0 port 177
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on em0, link-type EN10MB (Ethernet), capture size 65535 bytes
05:20:20.168710 IP6 caracal.53230 > zyxomma.xdmcp: UDP, length 7
05:20:22.168724 IP6 caracal.53230 > zyxomma.xdmcp: UDP, length 7
05:20:22.691578 IP6 zyxomma.xdmcp > caracal.53230: UDP, length 61
05:20:22.692564 IP6 caracal.53230 > zyxomma.xdmcp: UDP, length 457
05:20:24.692965 IP6 caracal.53230 > zyxomma.xdmcp: UDP, length 457
05:20:25.084306 IP6 zyxomma.xdmcp > caracal.53230: UDP, length 61
05:20:25.084573 IP6 zyxomma.xdmcp > caracal.53230: UDP, length 52
05:20:25.084638 IP6 zyxomma.xdmcp > caracal.53230: UDP, length 52
05:20:25.085192 IP6 caracal.53230 > zyxomma.xdmcp: UDP, length 29
05:20:27.085849 IP6 caracal.53230 > zyxomma.xdmcp: UDP, length 29
05:20:31.086083 IP6 caracal.53230 > zyxomma.xdmcp: UDP, length 29
05:20:39.086018 IP6 caracal.53230 > zyxomma.xdmcp: UDP, length 29
05:20:55.085212 IP6 caracal.53230 > zyxomma.xdmcp: UDP, length 29
05:21:27.085312 IP6 caracal.53230 > zyxomma.xdmcp: UDP, length 29
05:21:40.127998 IP6 zyxomma.xdmcp > caracal.53230: UDP, length 107
at which point Xephyr quits.

/usr/local/share/config/kdm/kdmrc:
[Xdmcp]
# Whether KDM should listen to incoming XDMCP requests.
# Default is true
Enable=true

Zyxomma is accessible from the outside only by IPv6; to find it one would have 
to sniff packets or break into leaf (or have root on leaf). I'm not immediately 
concerned about leaving the port open, but once I get it working, restricting 
access to my boxes would be nice.

Pierre
-- 
La sal en el mar es más que en la sangre.
Le sel dans la mer est plus que dans le sang.





More information about the Users mailing list