Getting this error message: Could not create lock file in /tmp/.tX0-lock
I had problems with my HP desktop machine last night while running Mint 16. The problems resulted in me being forced to do a hard-power button shut down of the machine. When I tried to get back on I got the splash screen and the login screen. Logging in takes me to a black window where only the mouse cursor is visible.
Alt+ctrl+f2 takes me into the terminal. Running "Startx" brings up the following error message: (EE) Fatal server error: (EE) Could not create lock file in /tmp/.tX0-lock xinit: giving up xinit: unable to connect to x server: Connection refused xinit: server error xauth error in locking authority file /root/.Xauthority I have tried to uninstall, reinstall and reconfigure xorg but nothing is working. Any suggestions? |
1) you have a corrupted system... but I'm not sure where the corruption is. One possibility is to "rm -f /tmp/.X*" Be careful when you type this...
This is best done in single user mode, then resume the boot (just use control-d). This may correct the problems. 2) startx by default tries to create display :0.0, this is also the display created by the login - you can't do both. You can try "startx -- -display :1.0", but with some of the other corruption you have (the desktop thing) it may not work any better. |
Quote:
|
Same Error on Debian8
I have the same Errore on Debian8, the solution unfortunatly not work by me.
I give her my solution: Code:
sudo apt-get update Code:
startx sory for my bad English :cry: |
Quote:
Check for & delete that file & you should be able to start X again. |
Quote:
I had similar problems like the op, which led me to this thread. Video editor crashed unexpectedly several times. I rebooted and GUI kept looping my login window even though I used right crendentials. Running "Startx" displayed the same error message as above. I took small steps via Google, tried df -h, noticed full disk and did some cleaning up. Not in a million years I could have guessed that low disk space would create such login symptoms. |
Quote:
The same thing can happen with CLI logins when /var is full. The login/tty cannot add the audit records will cause the login to fail. |
Quote:
I'd move up to an LTS release. |
All times are GMT -5. The time now is 01:17 AM. |