Ubuntu does not enter the graphical interface but can access the console solution

Source: Internet
Author: User
Keywords Ubuntu console graphical interface
Tags access apt console default directory etc file graphical interface

General into the system after the black screen, press ctrl+alt+f1 into the console (do not restart XP, so that others teach you how to operate, you do not have the means to respond immediately)
You can enter recover mode.
Log
Networking (for ADSL, performing sudo pppoeconf)
about other internet problems to solve

Set source

Can be like me (see attachment) using other systems to prepare sources files, this is the source of 704 feisty
My default is the CN99 source, others in the front with "#" annotation, when you need other, the "#" can be removed, and comment CN99
Leave only one of the groups
Backs up the current source list so that it can be recovered after the day

sudo cp/etc/apt/sources.list/etc/apt/sources.list_backup

Copy your source list to the appropriate folder, assuming I put it on my U disk (ZMCBB30)
Usually, enter the/media directory or Windows directory, LS, you can see the directory of your U disk

sudo cp&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; /media/zmcbb30/sources.list/etc/apt/sources.list

Editor Sources.list, I like the nano.

sudo nano/etc/apt/sources.list

Press CTRL to exit (remember to save)
Of course you can use other editors like Vim
Update

sudo apt update

In view of the zhuqin_83, the console did not open the framebuffer, may be used zhcon caused by the black screen, now add this part
Note: This step is not necessary, please decide according to your own situation

Turn on the framebuffer and change the console resolution to 1024x768

Edit the/boot/grub/menu.lst file, edit the following paragraph (that is, a section of the kernel you used to start), plus the following red words

Reference:
Title Ubuntu, kernel 2.6.15-23-386
Root (hd0,9)
kernel/boot/vmlinuz-2.6.15-23-386 root=/dev/hdb10 ro Quiet Splash vga=791
Initrd/boot/initrd.img-2.6.15-23-386
Savedefault
Boot

Note: vga=791 is for my 1024x768 resolution, the other resolution please find the appropriate screen for their own parameters
With the VGA parameter, splash (ie boot progress bar) may lead to a smaller resolution relationship, no impact on the system, do not worry about

Chinese support for installing consoles

sudo apt install Zhcon

When used, enter Zhcon--utf8 under the console. See for yourself

Man Zhcon

Install w3m

sudo apt install w3m w3m-img-y

Start Zhcon

Zhcon--utf8

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.