Solution for normal Centos users to keep black screen

Source: Internet
Author: User

I am ashamed to say that. A long time ago, when I started using Linux. I also like to use the Linux GUI. But I did not do this later, because we all said that it is better to learn Linux on the Character interface.

This is a blog post with memories and experiments. At that time, we also met: in Linux, the root can normally enter the system, and normal users have been blacklisted. . Later, I knew what the reason was, but I didn't like the Linux GUI very much.

In fact, this is a problem with all the user resources in Linux. Root users are the commanding heights. They occupy more system resources than other users. In Linux, graphical interfaces consume resources. This is why the problem is shown in the question.

Now that you know the reason, how can you solve the problem? I am also struggling. There is no graphical interface system for Linux. Online Testing is not feasible. If you are not familiar with the Linux system, you can do the following:

1. ctrl + alt + shift + f1 (open the Super Terminal );

2. usermod-G root zwz (modify the group to which the user "zwz" belongs to improve the user's system resource configuration );

3. reboot or init 6 (restart the system ).

Another method is complex. You need to modify multiple configuration files, including:/etc/profile,/etc/security/limits. conf, And. bash_profile files under the user root directory. I do not know much about it here. Among them,/etc/security/limits. conf is the configuration document that most directly affects system resource allocation.



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.