Linux Mint Boots into Command Line After Restart

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
donamin
Level 1
Level 1
Posts: 1
Joined: Thu Jul 11, 2019 11:12 am

Linux Mint Boots into Command Line After Restart

Post by donamin » Thu Jul 11, 2019 11:15 am

Hi

I was using my linux mint for a few days. Last night I wanted to shut down my laptop, but instead it got restarted and booted into the command line. After that, I haven't been able to log in into my desktop GUI. The only way to access desktop GUI, is to log in in the command line and then enter

Code: Select all

startx
. Anyone know how to fix it?

Cheers
Amin

deck_luck
Level 3
Level 3
Posts: 108
Joined: Mon May 27, 2019 6:57 pm
Location: here

Re: Linux Mint Boots into Command Line After Restart

Post by deck_luck » Thu Jul 11, 2019 4:50 pm

Please post the output from the following commands.

Code: Select all


cat /proc/cmdline

systemctl get-default

💡Give a man a fish, and you feed him for a day. Teach a man to fish, and you feed him for a lifetime. ✝️

User avatar
Pjotr
Level 21
Level 21
Posts: 12624
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Linux Mint Boots into Command Line After Restart

Post by Pjotr » Thu Jul 11, 2019 5:07 pm

Please generate an overview of your system like this:
- Launch a terminal window (this is how to launch a terminal window);
- make the terminal window full screen, to avoid chopped lines;
- Copy/paste this command into the terminal:

Code: Select all

inxi -Fxz
(if you type: the letter F is a capital letter)

Press Enter.

Copy/paste the output in your next message.
Tip: 10 things to do after installing Linux Mint 19.1 Tessa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Post Reply

Return to “Newbie Questions”