Okay, here is what I promised: http://people.freebsd.org/~jkim/patch-sentinel With these fixes, both Gnome and XIM work on amd64. Please test. Cheers, Jung-uk Kim