14

After upgrading my Ubuntu desktop from 17.10 to 18.04, everything went smooth until I restarted my PC.

The first suspicious thing I noticed was that it has the same grub with 17.10 - it selected the old grub from the menu (auto-select) and then showed me the boot screen. But afterwards instead of GUI I got terminal access (tty1) only.

How can I fix that? I tried running:

sudo update-grub

but with no luck and the initial grub is still the same. How can I fix this problem?

Zstack
  • 4,046
  • 1
  • 19
  • 22
Mr.P
  • 1,182
  • 3
  • 20
  • 44
  • @KhaledE I didn't mate... I have just reinstalled it from scratch (the only drawback was to configure everything all over again) – Mr.P Aug 25 '18 at 06:01

5 Answers5

35

I experienced the same problem and solved it by installing ubuntu desktop using this commandsudo apt-get update then sudo apt-get install ubuntu-desktop N.B Your computer should be connected to the internet, for my case just plugged in an internet cable and used the commands above

Onen simon
  • 750
  • 1
  • 13
  • 17
6

Try startx. I had the same problem but it worked for me. The solution is to start lightdm by yourself. The installation is indeed broken in some systems. startx command starts the GUI process for you.

Check status of display manager by executing - sudo systemctl status lightdm

Try restarting display manager by executing - sudo systemctl restart lightdm

If this doesn't work, then you should try reinstalling Ubuntu.

aunlead
  • 985
  • 2
  • 9
  • 17
Arvind
  • 730
  • 10
  • 20
  • 1
    Same problem here but no networking on tty. Selecting Enable Networking from the recovery menu does nothing so can’t install anything. Short of reinstalling, which is really not a good option, how does one move forward? – DonP Sep 16 '18 at 01:15
  • in case of you still have the GUI it works but when it broken you have to re-install the gui – getName Nov 29 '18 at 13:46
5
sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity
sudo shutdown -r now

Try this it will work.

eyllanesc
  • 235,170
  • 19
  • 170
  • 241
3

Solution 1: See if this works for you First, open terminal by

 CTRL+ALT+F1
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade -y
sudo reboot

Solution 2: If the above doesn’t work, try this First, open the terminal by

CTRL+ALT+F1
sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity
sudo shutdown -r now 

Solution 3: If none of the above work for you, try this: None of the above worked for me, however, so I upgraded my Ubuntu from 14.04 to Ubuntu 16.04. All my previous files were preserved. First, open the terminal by

 CTRL+ALT+F1 
 
sudo do-release-upgrade
1

I just used

sudo apt-get autoremove
sudo apt-get autoclean

And installed the nvidia graphics from terminal

It worked for me.

Restored the grub config to same file. "quite splash"

Plus my ubuntu was 20.04 LTS

eyllanesc
  • 235,170
  • 19
  • 170
  • 241
Mav
  • 11
  • 1