The network manager is not running in Ubuntu.

Source: Internet
Author: User
Tags hp probook
I just changed the Host Name and accidentally removed the host name. I found that the network manager was not running. In the end, we found that the host name was missing and found that the missing host name has the following features: 1. when a screen is turned on, there is a screen that does not flash with an underline, but it becomes a prompt: init: hostnamemainprocess (386 sometimes also shows 419) terminatewithstatus12. when the password is logged on, the user name is displayed (none

I just changed the Host Name and accidentally removed the host name. I found that the network manager was not running. In the end, we found that the host name was missing and found that the missing host name has the following features:

1. When a screen is turned on, the system prompts: init: hostname main process (386 sometimes appears 419) terminate with status 1.

2. when you log on to the system, the user name is displayed (none) instead of the host name. When you install Ubuntu, the default host name is related to the user name and computer model. For example, if my user name is ericzhang, the computer model is hp probook 4411 s, and the default installation host name is ericzhang-hp-probook4411s

3. The network connection shows that the network manager is not running and has a red exclamation mark.

4. Run the terminal to find the username @ (none). Normally, the username @ host name is used.

In the above case, you should consider adding the host name again. There are two methods:

1. Use Ubuntu tweak to install sudo add-apt-repository ppa: tualatrix/ppa

Sudo apt-get update

Sudo apt-get install Ubuntu-tweak

Run the three commands on the terminal

Ubuntu Tweak introduction see http://www.linuxidc.com/search.aspx? Where = Nkey & Keyword = Ubuntu + Tweak

Set the host name in "Computer details" in the software.

2. Terminal:

How do I change the host name in Ubuntu? If we enter a host name at will during Ubuntu installation, and the installation may feel bad and want to modify it, what should we do? After some research, the modification method is actually very simple. You only need to open the/etc/hostname file and modify the old host name to your new host name!

Under Terminal, enter gedit/etc/hostname (in the Root permission environment) sudo gedit/etc/hostname (in a non-Root permission environment) to change the Host name. Save and exit! Because it was modified in x-window, you need to restart it and then log on again to make it take effect!

In addition, google chrome cannot be opened if the host name is changed at will, and no impact on other software is found.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.