Compile xorg. conf to solve the problem of unadjustable Ubuntu resolution.

Source: Internet
Author: User
I have been using Ubuntu9.04 and have been using it well. Due to compilation, I had to reinstall the system because I had broken the system. Therefore, it is simply upgraded to 9.10. After the upgrade, the maximum resolution is 800x600. Check whether the video card driver is installed and normal. The three-D desktop effect can be enabled normally. I went to the Internet for help. Some netizens pointed out that the system may not be able to correctly identify the display and can compile the xorg. conf file. Ubuntu9.10 does not have the/etc/X11/xorg. conf file by default.

I have been using Ubuntu 9.04 and have been using it well. Due to compilation, I had to reinstall the system because I had broken the system. Therefore, it is simply upgraded to 9.10. After the upgrade, the maximum resolution is 800x600.

Check whether the video card driver is installed and normal. The three-D desktop effect can be enabled normally.
I went to the Internet for help. Some netizens pointed out that the system may not be able to correctly identify the display and can compile the xorg. conf file.

Ubuntu 9.10 does not have/etc/X11/xorg by default. conf file. Without this file, the system can start successfully. However, if this file is wrong, the system may not start properly. That is to say, the file is now set by the user. If not, you do not need to set it. To understand this, we only need to manually create this file and add the required content in the file as needed.
I cannot set the resolution currently, so you only need to set the content in it. Other content can be ignored.

Open the terminal and enter:

========================================

Cd/etc/X11
Sudo touch xorg. conf
Sudo gedit xorg. conf

========================================
The above command is to first create an empty xorg. conf file and then open the file for writing.


I. general compiling rules for xorg. conf:

The xorg. conf file stores various information about X Windows. It consists of several sections/EndSecion
The format is as follows:
Section "Section name"
Option name "option value"
Option name "option value"
......
EndSection

That is to say, a block starts with Section "Section name", ends with EndSection, and is an option in the middle.

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.