Ah, now there's a problem.
I assume you're using the drivers from here:
If not, that's the first thing you should do.
Second, you need to have the VMware Tools installed. At the current time, guest autofit is handled by sticking a lot of modelines into your xorg.conf and the tools installer does this (of course, if it can't detect Xorg 7, then it won't do it. You may want to copy and paste the modeline set from another older guest).
And if you read the driver changelog, you can see that we've got a better system in the works.
I got the drivers built by following the instructions here:
VMware-tools is installed.
All of the extra modelines are included in xorg.conf.
I still get no autofit.
Should I expect the pre-built drivers you referenced to enble correct autofit behavior?
I installed the pre-built drivers and found no improvement.
1 person found this helpful
Ah. You need to explicitly get 'vmware-user' running.
The preferred way to do that for the current tools is to run 'vmware-toolbox' once. It will add 'vmware-user' to your session so that it should start each time you log in.
Thanks for trying to help. But even after running vmware-tools, the FC5 guest still does not autofit.
do you have vmware-user running?
Yes, vmware-user is running. It gets started automatically in my login session.
By the way, has anyone running an FC5 guest gotten their X session to autofit? If so, please post your vmx and xorg.conf files.
1 person found this helpful
Sure, I have it running right here, but it really isn't a matter of anything in the vmx or xorg.conf files (modulo having all the modelines).
Can you change resolutions with the GNOME screen resolution applet? or the 'xrandr' command line utility? How many resolutions does xrandr think you have?
To which GNOME applet are you referring? System->Administration->Display gives me a choice of 15 screen sizes. When I select a new size, I get a message saying that I must restart X for the change to take effect.
xrandr seems more useful. I get a list of 139 screen sizes. When I switch sizes using xrandr -s, the desktop instantly resizes and the vmplayer window changes too.
But I can't get it to work the other way: when I change the vmplayer window size, the FC5 guest desktop does not resize, as it does when I run an FC4 guest. Does that work for you?
No, you want the tool under Desktop -> Preferences ->Screen Resolution, but if xrandr works, then this tool will work too.
But that doesn't matter, I have remembered what the problem is.
Because the old versions of the driver corrupt the screen when you try to resize, vmware-user has to check the driver version before attempting an automatic resize. Unfortunately, there is no programmatic way of doing this - all you can do is grep for the driver version inside the driver file. Sad but true.
Now, the old vmware-user that you have will not know to look in the new Xorg 7 location for the driver, and will consequently fail the test and refust to attempt the resize.
So, you must symlink vmware_drv.so to /usr/X11R6/lib/modules/drivers/vmware_drv.o
Note the .o - that's the only thing vmware-user looks for.
That should do the trick.
(The new vmware-user will query for the VMWARE_CTRL extension from the driver to avoid this kind of problem)
It sounds like we are getting closer to an answer. I will let you know how it goes.
That solved it. Persistence pays.