J
J
jdoctor2015-04-18 18:01:14
linux
jdoctor, 2015-04-18 18:01:14

Problem installing Ubuntu, most likely related to gdm and lightdm?

Good evening! I decided to learn linux, Ubuntu was chosen as the first distribution.
Here is the order of my actions and the consequences:
Installed ubuntu 14.04 lts. The video card driver was installed from an unofficial repository, but the driver version is the one listed on the official Nvidia website. Installed gnome-shell and gnome-shell-desktop. During installation I chose gnome display manager to use by default. For some reason, it did not suit me, and I set about trying to remove it. Used remove, autoremove, purge gnome-shell commands. It was impossible to remove it completely, and here I made a fatal mistake, namely:
sudo apt-get remove gnome*
After that, the system began to slow down terribly and soon hung. I tried to reboot. But after a short boot of ubuntu, a black screen came out. Reinstalling the system from a USB flash drive did not work, also a black screen after the purple boot of ubuntu. Through the console, I tried to return everything back. Entered the following commands:

sudo apt-get install --reinstall unity-greeter
sudo dpkg-reconfigure lightdm
sudo apt-get install --reinstall gnome

Now ubuntu has booted up and I can login to my account. Now here's what:
2e69a6a23431468ebb101b00d0d23b7d.png6d5a2de12b674691b0725d5aa2414f6e.png
You can't write anything in the terminal, it doesn't seem to work, just like the appearance settings menu.
And most importantly, reinstalling does not work. Still the same black screen. I apologize for the long text, I wanted to immediately write everything in detail. I ask for help, can anyone come across such a problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nazar Mokrinsky, 2015-04-18
@nazarpc

sudo apt-get remove gnome*

And the truth was a mistake.
Apparently, it should have demolished you, including the ubuntu-desktop package, if you return it to its place, most of the necessary should return.
Regarding the terminal - Ctrl + Alt + F1 (as well as 2, 3 .. 6), and here is the terminal for you. If the graphics does not load at all - when booting into GRUB, select additional options, there is a recovery mode. Boot, select root, then:
to put the root file system into write mode, and you can set it, you may optionally need to turn on the network:
service neworking start
service network-manager start

Why did you install Ubuntu 14.04 LTS? What did not fit 14.10? You can also install 15.04, it has a release on the 23rd.
Of the unofficial repositories for graphics, I would recommend either xorg-edgers or oibaf - both ppa.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question