How to set Fedora to enable default entry to text mode
Source: Internet
Author: User
How to set Fedora to enable Ora to enter the text mode by default? after Ora is successfully installed, it usually enters the graphic mode by default. However, the graphic mode occupies a large amount of resources. how to change it to the text mode by default, the general answer for searching on the Internet is: modify the/etc/inittab File :... 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_^
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.