This bug report is completely wrong, logging into X once doesn't solve the problem. DISPLAY is not being set anywhere, and the .Xauthority file is empty. Very weird.