Linux full screen

Source: Internet
Author: User
If the resolution is not set in Linux under the virtual machine, the full screen will have no effect, but it is still so small. Therefore, you must change the resolution first. The simplest way is to change the system without command ----> preference -----> display. Note that if you change the resolution to the largest one, you cannot change it back. Because you cannot find the display, you have to go to full screen.

If you use the following command, but you haven't fully understood it yet, you can only learn it later.

Method 1:

Go to/etc/X11, open Xorg. conf, and find the last section similar to the following:
Section "screen"
Identifier "screen0"
Device "videocard0"
Defaultdepth 24
Subsection "display"
Viewport 0 0
Depth 24
Endsubsection
Endsection

Add a row of Modes "1024x768" "1280x960" "1152x864" "800x600" "X" "X" under depth 24 and above endsubsection"

I am using a virtual machine. This method does not work. In addition:

Log out, log on to the system as root, modify/etc/X11/Xorg. conf, change 1024*768 to 1280*800, save, and press CTRL + ALT + backspace.

It is recommended to back up one before modification.

Prepare for the black screen.

I have not seen 1024*768 in the file here. The above problem is finally solved! If you have a similar problem with me, you can adjust the "display" under "system settings", adjust the display type to the type that matches your display, and then log out of the computer. my display items cannot adjust the display type by themselves. In addition:
Resolution settings

Okay, it's actually very simple. It's mainly about modifying the ETC/X11/Xorg. conf file. You can add Resolution(If the monitor supports this function ).

  ResolutionIs defined in the modes section (section "Modes") of the Xorg. conf file ").
  ResolutionFor example:

Xmode-R 63-x 1360-y 768
-R is followed by the update rate, but this setting seems to be different from the actual one. Here I set 63, but the update rate is 61 under GNOME/KDE,

Anyway, you can use your monitor to support it. If you use a liquid crystal, you can use it in 60 seconds. The CRT will look at your monitor.

The xmode command displays a line of similar results:

Quote: modeline "1360X768" 87.01 1360 1432 1576 1792 768 769 772 796

Add him to the modes segment of the Xorg. conf file.

Then modify the screen segment of the Xorg. conf file.

The original content may be as follows:

Subsection "display"
Depth 15
Modes "1280x768" "1024x768" "800x600" "768x576" "640x480"
Endsubsection

After the new resolution 1360x768 is added:

Subsection "display"
Depth 15
Modes "1360X768" "1280x768" "1024x768" "800x600" "768x576" "640x480"
Endsubsection

There will be many different depth values, and they are all added.

Restart X to create a new one.Resolution.

If the newly addedResolutionNot Displayed. It may be set in xmode-R.ResolutionThe monitor is not supported. You can refer to the monitoring parameters horizsync and vertrefresh in the Xorg. conf file. You can comment out the parameters for the LCD.ResolutionIf you use CRT and Linux cannot correctly identify your display, you can use xmode to calculate many update rates and add them to the modes segment, for example, 1600x1200 60Hz, 1600x1200
61Hz, 1600x1200 74hz... 1600x1200 85hz, etc., one by one.

In some cases, even if you have a monitor driver, someResolutionSuch as my 23-inch LCD TV.ResolutionIt supports 1360x768, but Linux does not support it. You can only set it on your own.

Ps.23-inch LCD TV is really cool. Use the D4 interface to connect the xbox360 effect to a word, like! It was originally configured for xbox360, and now it is my computer monitor. Unfortunately, the original 17-inch LCD can only be processed at a low price.

In my system, there is no modes segment ******************************* **************************************** * ****** method 2 (for virtual machines):
Adjust the Linux resolution in VMware

After installing Linux in VMware, the default resolution is 800x600.

To adjust the pixel to 1024x768, the process of setting the pixel to millions of pixels is as follows:

1, the VM has install vmare tools first start VMware in/mnt/CDROM there is a software package called: vmware-linux-tools.tar.gz

2. Copy the package to/root, decompress the package in the current directory, and a directory of VMware-tools-distrib will be generated.

# Cp vmware-linux-tools.tar.gz/root

# Tar-zxvf vmware-linux-tools.tar.gz

# Cd/root/vmware-tools-distrib

# Ls

3. Enter init on the terminal. 3. Switch to the command line mode.

4. Run the vmware-install.pl file and press enter all the way down OK! Then, a resolution list is displayed. Select 3, because 3 corresponds to 1024x768 in the resolution list.

#./Vmware-install.pl

5. init 5 to enter the graphical interface. click "configuration" --> "display" in the Start Menu, set it to 1024x768, set the pixel to millions of pixels, and press Ctrl + D to log out quickly,

6. When I came back, I found that your desktop was beautiful ??

7. If the display is abnormal if the depth of the system is 16, you can change it to 24 in/etc/X11/xf86config In the VI editor!

Now, we will introduce how to adjust the Linux resolution of VMware.
In addition:
Tutorial 2 _ installing vmtool (Red Hat Linux 9)
Virtual Machine Software vm5.0.0 build-13124 Chinese version and virtual Linux system Red Hat Linux 9
First, start the Virtual Machine Software VM (the virtual Linux system Red Hat Linux 9 has been installed)
1. Start this VM
2. Log On with the Super User Root
3. After logging on to the system, press CTRL + ALT and click the menu bar. Choose Virtual Machine> install VMware Tools> install
4. after the virtual system is attached with a CD, the CDROM folder will pop up or click to enter/mnt/CDROM. In the folder/mnt/disc, the file package will pop up with the folder vmware-tools-distrib, click the extract button above to browse to the directory to be decompressed. Select the directory in the/root/folder (that is, the "root main directory" on your desktop) and start decompression.
5. Right-click the desktop and choose "New Terminal", type CD/root/vmware-tools-distrib in it, and press Enter. Input again./vmware-install.pl, you can install VMware Tools, press enter all the way, the following everyone understands, restart it.
6. Now, the mouse can freely access the host and virtual machine. The screen size is also adjustable, And the refresh speed becomes faster. The installation is successful !!

The above content is successfully submitted twice. Rf4.1desk
This method has not been tried, because vmtool has not been installed yet. **************************************** * ************************************ Method 3:
Set the resolution of the graphic interface in Linux

The current Linux version can be changed in the display attributes of the graphic desktop.

Execute xconfigurator to display the welcome screen. Select OK and press Enter. The program will automatically find the video card. Click OK. The display list is displayed. Select the display type or select Custom to customize a display. Next, select the video memory size. A window that appears later requires the identification of clock configurations. Select No clockchip setting. Then, OK, and then select three groups of colors and resolutions. Then, select OK and press Enter. Then, test the settings and click OK. The last yes and no are to ask whether you can directly access X at next startup. Click OK again.

Or directly change the/etc/X11/XF86Config-4 and/etc/X11/xf86config file!
Right-click the above file, select the advanced Editor (of course, you can also edit it using the VI command in the command line), and modify the last few lines of the file:
Modes "800x600" --- for explicit resolution
Virtual 800 600 --- the size of the virtual desktop ******************************** **************************************** * ***** method (text mode) 4:
Modify the display resolution in Linux text mode

The original resolution selected when installing Linux is 800*600. Because 1024*768 is required, you cannot change the resolution.
It is said that adding 0x317 to the line in the kernel of grub. conf is OK. I tried it.

Default = 0
Timeout = 5
Splashimage = (hd0, 0)/GRUB/splash.xpm.gz
Title leexoyo's Linux (2.4.20-8)
Root (hd0, 0)
Kernel/vmlinuz-2.4.20-8 Ro root = label =/VGA = 0x317
Initrd/initrd-2.4.20-8.img

Attached display mode table
640x480 800x600 1024x768x1280
256 colors 0x301 0x303 0x305 0x307
32 K color: 0x310 0x313 0x316 0x319
64 K color 0x311 0x314 0x317 0x31a
16 M color 0x312 0x315 0x318 0x31b ------------------------------------------------------- I tested the 2nd types that have passed

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.