-
Setting Screen Resolution to 1024 x 768 on a Red Hat Enterprise Linux 5 Virtual Machine
If you using Redhat Enterprise Linux on a vmware console than you can change the resolution of the console running Linux according to your need by simply editing the configuration file xorg.conf . You can find more about Vmware in my previous post here. Installing Rhel5 on Vmware here.
Although when you run the vmware-tools script it makes all the necessary changes for you. But if you need to change the screen resolution to more than “800×600″ , you need to do it manually by editing the configuration file. To change the resolution simply follow the steps:
- open the configuration file /etc/X11/xorg.conf mode and make sure you have included 1024 x 768 mode as shown below
——————————————
Section “Screen”Identifier “Screen0″
Device “Videocard0″
Monitor “Monitor0″
DefaultDepth 24
SubSection “Display”
Viewport 0 0
Depth 24
Modes “1024×768″
EndSubSection
——————————————
# vi /etc/X11/xorg.conf
You should have configuration file now as shown in above screenshot. Than save it and exit.
- You need to restart the X server. To do this simply press Ctrl+Alt+Backspace or log out and login in again.
- Now you can change the resolution of screen by simply switching to full screen mode.
(ST)
