VMware
1 2 Previous Next 23 Replies Last post: Jan 25, 2008 8:22 AM by Jae Ellers  

VMware Tools problem - Screen resolution only 800x600 - CentOS 5 posted: Apr 25, 2007 8:40 AM

Click to view spdivr's profile Novice 17 posts since
Aug 30, 2006
Hello,
I'm new to Linux and I am trying to get a CentOS 5 server running. The server seems to be up with no problems, and I ran the VMware tools install and configuration. It said that it was not compatible with the kernel, but offered to recompile, and it seems to have worked. After that, it initially had a problem starting X, then reconfigured and X runs, but I can only run the screen in 800x600 or less. This makes it tough to work with some of the graphical boxes.

Anyone have any ideas?

Thanks!
Click to view KevinG's profile Guru 16,980 posts since
Jan 8, 2004
Post your xorg.conf file
Click to view RDPetruska's profile Guru 15,877 posts since
Jan 11, 2005
Yes. That config file looks WAY too short. There are no modelines at all. Search the forum for a (about 2 page long) xorg.conf file KevinG has posted numerous times.
Click to view RDPetruska's profile Guru 15,877 posts since
Jan 11, 2005
Some versions of X seem to require that the vmware-toolbox applet be running for the mouse grab/ungrab and clipboard sharing to work.
Click to view RDPetruska's profile Guru 15,877 posts since
Jan 11, 2005
When you are logged in and have an X session running, open a new terminal and type 'vmware-toolbox &'. This will launch the toolbox in a separate process, so that you can close the terminal. Yes, you can add this command to your X startup (how will depend on your distro, version of X, and window manager).
Click to view RDPetruska's profile Guru 15,877 posts since
Jan 11, 2005
You can minimize the window, but you can't close it or the applet is unloaded.
Click to view RDPetruska's profile Guru 15,877 posts since
Jan 11, 2005
This is normal?

Normal for what? If you want the toolbox process to be running, it must be running. On Windows guests, you will see an icon for the toolbox process running in the system tray of the guest. On Linux guests, you can minimize/iconify the toolbox... but I don't think too many (if any) Linux window managers understand the concept of the system tray.
Click to view KevinG's profile Guru 16,980 posts since
Jan 8, 2004
My mouse moves freely between the host(Windows XP) and (CentOS 5)guest OS and NO vmware-toolbox is running.
The real solution is to use a correctly modified xorg.conf file and the correct mouse driver loaded.
It's the mouse driver that handles the grab & ungrab, the vmware-toolbox process handles the copy / paste

[code]
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "XWorkAround"
InputDevice "Mouse[0]" "CorePointer"
EndSection

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

Section "InputDevice"
Identifier "Mouse[0]"
Driver "vmmouse"
Option "Device" "/dev/input/mice"
Option "Name" "VMware Point Device"
EndSection

Section "InputDevice"
Identifier "XWorkAround"
Driver "void"
EndSection

Section "Monitor"
Identifier "vmware"
VendorName "VMware, Inc"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 1.0 - 10000.0
VertRefresh 1.0 - 10000.0
EndSection

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

Section "Screen"

# Don't specify DefaultColorDepth unless you know what you're
# doing. It will override the driver's preferences which can
# cause the X server not to run if the host doesn't support the
# depth.
Identifier "Screen0"
Device "VMware SVGA"
Monitor "vmware"
DefaultDepth 24
SubSection "Display"

# VGA mode: better left untouched
Viewport 0 0
Depth 4
Modes "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "832x624" "800x600" "720x400" "640x480" "640x400" "640x350"
EndSubSection
EndSection

[/code]

Message was edited by:
KevinG

Message was edited by:
KevinG

Message was edited by:
KevinG

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities