LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-13-2010, 06:04 AM   #1
noony123
Member
 
Registered: Oct 2010
Posts: 167

Rep: Reputation: 0
Centos resolution in vmware


Hi all. I am using windows XP as host machine with vm workstation 6.

I want my Gui resolution to be changed to 1024x768 but i am not getting any idea as how to solve it. According to my research, following are the relevant results for you guys to look into

[root@WAN-Admin ~]# cat /var/log/Xorg.0.log | grep -i x11
Build ID: xorg-x11-server 1.1.1-48.76.el5
(==) Using config file: "/etc/X11/xorg.conf"
(==) RgbPath set to "/usr/share/X11/rgb"
[root@WAN-Admin ~]#

[root@WAN-Admin ~]# cat /etc/X11/xorg.conf
# Xorg configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "vmware"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection

[root@WAN-Admin ~]#

In my .vmx file, i also entered the following

svga.vmSize= "33554432"

But no result. When i restarted the machine (vm machine) and checked the logs, this is what i got

[root@WAN-Admin ~]# cat /var/log/Xorg.0.log | grep 1024
(II) VMWARE(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) VMWARE(0): Not using default mode "1024x768" (hsync out of range)
(II) VMWARE(0): Not using default mode "1024x768" (hsync out of range)
(II) VMWARE(0): Not using default mode "1024x768" (hsync out of range)
(II) VMWARE(0): Not using default mode "1024x768" (hsync out of range)
(II) VMWARE(0): Not using default mode "1280x1024" (hsync out of range)
(II) VMWARE(0): Not using default mode "1280x1024" (hsync out of range)
(II) VMWARE(0): Not using default mode "1280x1024" (hsync out of range)
(II) VMWARE(0): Not using default mode "1600x1024" (hsync out of range)
(II) VMWARE(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) VMWARE(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) VMWARE(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) VMWARE(0): Not using mode "1280x1024" (no mode of this name)
(II) VMWARE(0): Modeline "800x600" 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync
[root@WAN-Admin ~]#

Kindly guide me, what shall i do
 
Old 12-13-2010, 08:22 AM   #2
noony123
Member
 
Registered: Oct 2010
Posts: 167

Original Poster
Rep: Reputation: 0
Ok guys, solved this one too

After searching over the net, i found the working xorg.conf file. I am writing the solution here so whoever finds it can benefit from it.

Note- All the following steps are performed under Gnome. If you are in shell mode, type gdm to start gnome

1) Vmware workstation 6.0.2
2) Vmware Tools NOT installed
3) Following is the xorg.conf file in /etc/X11/

------------------------------------------------------------
[root@WAN-Admin ~]# cat /etc/X11/xorg.conf
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
Identifier "vmware"
VendorName "VMware, Inc"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 1.0 - 10000.0
VertRefresh 1.0 - 10000.0
ModeLine "640x480" 100.0 640 700 800 900 480 500 600 700
ModeLine "800x600" 100.0 800 900 1000 1100 600 700 800 900
ModeLine "1024x768" 100.0 1024 1100 1200 1300 768 800 900 1000
ModeLine "1152x864" 100.0 1152 1200 1300 1400 864 900 1000 1100
ModeLine "1280x1024" 100.0 1280 1300 1400 1500 1024 1100 1200 1300
ModeLine "1600x1200" 100.0 1600 1700 1800 1900 1200 1300 1400 1500
EndSection

Section "Device"
Identifier "VMware SVGA"
Driver "vmware"
EndSection

Section "Screen"
Identifier "Screen0"
Device "VMware SVGA"
Monitor "vmware"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 4
Modes "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "800x600" "1024x768" "1280x1024" "1600x1200"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "800x600" "1024x768" "1280x1024" "1600x1200"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "1024x768" "1280x1024" "1600x1200"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

[root@WAN-Admin ~]#

---------------------------------------------------------------

I would recommend taking the backup of original xorg file.

4) type gdm-restart
5) Now type system-config-display. This shall open the display window. Now you should be able to see different resolutions in drag-down menu. Choose the one thats suits you :-) After choosing, type gdm-restart to make it take effect.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos 5.5 Vmware 2 dexznrl Linux - Virtualization and Cloud 2 11-13-2010 02:02 AM
Help Centos - vmware Andromeda05 Linux - Server 2 03-20-2010 12:10 PM
Centos and Vmware Centos_user Linux - Virtualization and Cloud 16 03-02-2010 01:23 AM
Resolved: VMWare - how to change screen resolution CentOS or Fedora guest taylorkh Linux - Software 5 11-14-2009 10:42 AM
[SOLVED] Screen Resolution reverts when not root - CentOS guest on VMWare ESXi Sean1e Linux - Software 2 10-22-2008 11:54 AM


All times are GMT -5. The time now is 10:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration