check for file /tmp/.X0-lock
ls -A /tmp/

if present X will load at priority 11 instead of 10 and X will fail