http://xorg.freedesktop.org/releases/X11R6.9.0/patches/x11r6.9.0-geteuid.diff Please apply the above patch: Reference: http://www.metasploit.com/users/hdm/tools/xmodulepath.tgz