Linux change resolution, restart, invalid

Source: Internet
Author: User
Linux changes resolution, restarts, and becomes invalid-general Linux technology-Linux technology and application information. For more information, see the following. Solution 1: tool Configuration
Ctrl + alt + f1 // switch to the text interface
Setup -- x-Modify ate // modify the configuration

Solution 2: file configuration
Directly operate the configuration file XFConfig. You don't have to worry about it. You only need to modify a little bit of content, and do not need to burn your baby monitor. VI editor is always used.

Step 1: You need to know your video card information. You don't know the specific chip type (let's use the powerful 2.4 kernel or the increasingly powerful X Server probe !), But at least you need to know the video memory (because the principle of low usage during hardware testing is not accurate); and, you need to know the maximum resolution and maximum update rate supported by your monitor. Remember, you must be clear. Otherwise, burning the monitor won't depend on me!

Step 2: Use the configuration tool that comes with Linux to configure it again (you don't need to talk about the specific configuration process !). The purpose of this step is: if the display is normal and the display effect is as expected, you don't need to talk nonsense. If the graphic interface cannot be displayed normally, it means that we get a configuration file that cannot be used normally. Although this configuration file cannot be used normally, it still contains all information about the video card (device), monitor (montior), and screen, the reason for the failure is that some parameters cannot drive the video card and display correctly.

Step 3: You must modify the parameters so that some parameters cannot be displayed normally. The parameters we want to modify here are similar to those for windows, including "Desktop color (Depth)", "desktop resolution (Modes)", and "Vertrefresh. I will not talk about the specific meanings of the above three parameters here.

Use VI to open XFConfig. If you have a rough look at the three screens, you will not be able to understand the content at all. You don't have to worry about it. Although there are a lot of content, there is not much actually working (most of the lines are annotated with #), and you need to make fewer changes, only the three mentioned above. Find its location: VertRefresh in the Monitor field; DefaultDepth in the Screen field; Depth in the Display subfield.

Simple Description: VertRefresh, the update rate, but here is a range, unlike windows, you can set a specific value; Modes, is the resolution; DefaultDepth is the default desktop color.
Here, you probably already think about it. Needless to say, I know.

By the way, you are going to change DefaultDepth, Modes, VertRefresh, and "change" to the default desktop color, resolution, and update rate.

However, there are two things to remind you.

VertRefresh parameter. When the X server is working, one of the values is automatically used within the set range based on the resolution and Desktop color, if you have a table about the resolution, Desktop color, and update rate of your monitor, you can simply change the content in the table. If you don't have one, you have to try it out in a stupid way, note that you only need to change the lower limit value without changing the upper limit value. This ensures that your monitor will not be burned down. In my experience, the graphic interface can be successfully displayed after a maximum of two changes.

Modes and Depth parameters. Note that if the Screen field of the configuration file does not contain the Modes row corresponding to Depth and Depth, you can follow the format of the existing Depth row and Modes row in the file, add these two parameter rows. Of course you want to use the data in the graphic interface.

Remember to save your changes. Restart X.
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.