fix X loading at login