Sol10 + XDMCP + Xmodmap problems

Hi everyone,

I have a Sun T5120 with Sol10-1/13 installed with JDS. XDMCP is enabled. I connect to this machine with a laptop (Debian 8 and Xephyr). I can log in remotely with XDMCP and JDS works fine, except for xmodmap.

This is what my .xmodmaprc file looks like:

$ cat .xmodmaprc
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock

And this is the error I get when I try to change my keymap:

$ xmodmap .xmodmaprc
xmodmap:  please release the following keys within 2 seconds:
    Num_Lock (keysym 0xff7f, keycode 77)
xmodmap:  please release the following keys within 4 seconds:
    Num_Lock (keysym 0xff7f, keycode 77)

And does this until the end of time.

Does anyone know how may I fix this problem?

thanks