Do it via SSH, and by the way that should be run _outside the chroot_. At the moment I'd prefer to debug and get feedback about xmim at the moment, not think about how you can do it wihout SSH and on your weird setup (why are you not using -fullscreen for example?).