ubuntu desktop installation

Due to the slow startup of ubuntu, I forced to shut it down on impulse, and then I couldn’t access the desktop anymore. The screen went blank and I could only access the tty interface. I had no choice but to reinstall the desktop. Tao Teng added one night in the afternoon. Make a note of it, and leave a way if something goes wrong in the future.

The first problem is that the ping cannot be connected to the Internet. At this time, ping the gateway first. I am 192.168.0.1. If the ping is successful, it means that the router is connected. At least, it is a DNS problem. Otherwise, use my other blog first. Connect to wifi by command, and then enter the command:

sudo vi /etc/resolv.conf

Then change the content of the file to:

 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
search localdomain
nameserver 8.8.8.8
nameserver 8.8.4.4

Finally restart the network

sudo /etc/init.d/netwworking restart

You should be able to network.

Then

Terminal input: sudo add-apt-repository ppa:gnome3-team/gnome3, used to add sources. Then press Enter and
enter sudo apt-get update && sudo apt-get install gnome-shell ubuntu-gnome-desktop to install
 

I encountered a problem during the installation: kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb, if you encounter it, you need it

Use dpkg -r to uninstall: run the command sudo dpkg -r account-plugin-google unity-scope-gdrive, and then use sudo apt install -fit. among themaccount-plugin-google这个具体和错误对应,我用的是account-plugin-facebook

 

Guess you like

Origin blog.csdn.net/wi162yyxq/article/details/106678595