I'm still having the problem after running the commands you suggested. It opens the Xephyr window but it stays black and keeps complaining continiously about the missing wmctrl.