The call to XkbKeycodeToKeysym always returns zero for me when I run dwm through RealVNC, probably because it sucks. Attached is the patch against tip (reverting 737cf52cd031) for others forced to run dwm on shitty systems.
--Andrew Hills
dwm-keycode-to-keysym-vnc-fix.patch
Description: Binary data