My Linux Mint boots into command interface instead of GUI and asked for login. I typed it and it popped into a terminal thing and wait for input. GUI used to be present untill I try to resolve the problem of update/packages cannot be installed before, which details could be found here. The command I typed attempting to solve the issue of unable to install packages are the following:
sudo rm /var/lib/dpkg/available
sudo touch /var/lib/dpkg/available
sudo sh -c 'for i in /var/lib/apt/lists/*_Packages; do dpkg --merge-avail "$i"; done'
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get clean
sudo apt-get update && sudo apt-get upgrade
It worked fine a few hours ago and just did this after that. I also tried the live usb that i installed mint with and it is fine. Could anyone help?
My computer is a laptop: Fujitsu-AH544, with intergrated graphics:
VGA compatible controller : intel corporation 4th gen core proccessor intergrated graphics controller (rev 06)
startx had popped a lot of (EE)
(EE)
Fatal server error :
(EE) Could not create lock file in /tmp/.tX0-lock
(EE)
(EE)
Please consult the x.org foundation support at http://wiki.x.org for help
(EE)
xinit: giving up
xinit: unable to connect to x server: connection refused
xinit: server error
xauth: error in locking authority file /home/kevin/.Xauthority
and ask me contact https://wiki.x.org for support of a fatal server error and it give up. And sudo systemctl enable gdm gives unit file gdm.service does not exist
And now sudo timeshift --restore or sudo timeshift --list failed:read only file system