Friday, June 30, 2017

xorg - startx doesn't work


Let's see, I cannot log in in Lubuntu 12.04. On the shell I get when typing startx:


  _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener()  failed
_XSERVTransMakeA11C0TSServerListeners: server already running
Fatal server error:
Cannot establich any listening sockets - Make sure an X server isn't already running
...
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
ddxSigGiveUp: Closing log
Server terminated with error (1). CLosing log file
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyxinit: giving up
xinit: unable to connect to X server: Resource temporarily unavailable
xinit: server error

Before I had only read-right on the file-system with sudo autoremove I got my write-rights back. I removed the .Xauthority* files in /home/username. Still cannot login back



I found a solution for me: Well, I hope someone can use my answer:


I changed my password, reinstalled xserver-xorg by typing: sudo apt-get install --reinstall xorg


After a reboot it worked for me. Notice: I removed the .XAuthority files in /home/username by: sudo rm /home/username/.XAuthority*


to get a shell try Strg-Alt-F1 when you turn on your computer. I actually got my write-rights back by using clear in recovery mode.


Hopefully, this answer can help others as well.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...