How to Set Fedora to enable default entry to text mode

Source: Internet
Author: User

How to Set Fedora to enable default entry to text mode

After the installation is successful, Fedora usually enters the graphic mode by default, but the graphic mode occupies a lot of resources. How to change it to the text mode by default, the general answer for searching online is: Modify the/etc/inittab file: [plain] vi/etc/inittab.
 
Find out entry that read as follows:
Id: 5: initdefault:
 
Set the default runlevel to 3 (text mode)
Id: 3: initdefault:
 
Save and close the file
Reboot
The inittab file is used for configuration in versions earlier than Fedora 15 (excluding 15), but the/etc/inittab file is no longer used in Fedora 15 or later versions, if you use vi, the following result is displayed:



In fact, the/etc/inittab file clearly describes the meaning:
# Ln-s/lib/systemd/system/multi-user.target/etc/systemd/system/default.tar get # text mode
# Ln-s/lib/systemd/system/graphical.tar get/etc/systemd/system/default.tar get # graphic mode
However, if you enter this command, you will be prompted that the file already exists because the default.tar get file already exists in the/etc/systemd/system/directory, you need to add the-f option to the ln command to force the write, that is, the following:
# Ln-sf/lib/systemd/system/multi-user.target/etc/systemd/system/default.tar get # text mode
# Ln-sf/lib/systemd/system/graphical.tar get/etc/systemd/system/default.tar get # graphic mode
If you continue to search for Fedora 15 and later versions, you will get a more detailed description in the Fedora Project Wiki document:


Run [plain] # rm/etc/systemd/system/default.tar get
# Ln-sf/lib/systemd/system/multi-user.target/etc/systemd/system/default.tar get reboot into the system to enter the text mode. Pai_^

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.