Ian Murdock wrote:
> [EMAIL PROTECTED] wrote:
>> Yes, this is a known issue with vmware-tools.  I believe the solution
>> is to answer "No" when it asks you if you want to create a "xorg.conf"
>> file.  In order to fix a machine where this has already been installed,
>> you'll need to boot up in single-user mode.  From the grub menu, press
>> "e" when you see the selection for "OpenSolaris Developer Preview" and
>> then another "e" and the add at the end of the line the string " -s"
>> (space, then dash then 's').  Once you've pressed RETURN, you should
>> boot up in single-user mode (you'll need your root password here) and
>> then remove /etc/X11/xorg.conf or rename it to something else.
> 
> Note that the problematic line in xorg.conf is
> 
>    Option "XkbRules" "xfree86"
> 
> in the Keyboard1 section. If you comment that out, the
> VMware xorg.conf works fine--though it's suboptimal
> in other ways, e.g., the scroll wheel doesn't work. For
> that, you want to change the Mouse1 section thusly:
> 
>    Section "InputDevice"
>          Identifier  "Mouse1"
>          Driver      "mouse"
>          Option      "Protocol" "auto"
>          Option      "Device" "/dev/mouse"
>          Option      "ZAxisMapping" "4 5 6 7"
>    EndSection
> 
> (Taken from Xorg -configure.)

I'm very happily running Indiana now in VMware Fusion on my MacBook. A
few other things I had to do to get it all working in addition to what
has been described earlier in the thread:

* Sound doesn't work out of the box because, as David said, the driver
for the audio device VMware emulates isn't redistributable... However,
the OpenSound driver works:

http://www.4front-tech.com/release/oss-solaris-v4.0-1009-i386.pkg

(Hey Dev, how about an IPS repo :-)

* The VMware tools don't work (at least when emulating a 64-bit machine)
because they can't find the 64-bit version of libX11.so.4 and libXi.so.5
To fix this:

# cd /usr/lib/64
# ln -s ../../X11/lib/64/libX11.so.6 libX11.so.4
# ln -s ../../X11/lib/64/libXi.so.6 libXi.so.5

(I'm assuming that's the right thing to do, as there are similar links
in /usr/lib. I'll go file a bug.)

You'll also want to enable time synchronization between host and guest..
To do that, run vmware-toolbox and select "Time synchronization between
the virtual machine and the host operating system" on the "Options"
tab. This fixes the time drift problem others have reported..
It also correctly resynchronizes the time after suspend and resume.

Finally, you'll want to run the script
/usr/dt/config/Xsession.d/9999.autostart-vmware-user.sh whenever you log
in (/usr/dt/... is presumably the location where CDE put its
scripts?). To do this under GNOME, go to System -> Preferences ->
Sessions, click Add, then add the following startup program:

     Name: VMware tools
     Command: /usr/dt/config/Xsession.d/9999.autostart-vmware-user.sh

* GDM comes up with a very large resolution. This could presumably
be fixed by running the VMware tools earlier (?). I ended up fixing
it by changing /etc/X11/gdm/custom.conf to automatically log me in

* Last but not least, if you enable "Pass host power supply to the
guest" (under Battery), the battery applet works.

Voila.. OpenSolaris with suspend and resume, great battery life,
and Mac/Windows applications, cut and paste between all three.. Oh, and
if you enable MacOS X keyboard shortcuts (in VMware preferences), Open
Apple + Tab switches between Mac apps, Alt + Tab switches between
Solaris apps..  Dashboard and Expose work too, and the VM even
gets the focus back afterward, just like they're part of the OS..
Pretty sweet, till we get similar functionality in OpenSolaris. :-)

And now, some annoyances/questions:

* It takes several minutes to go from the GRUB screen to the first
kernel messages. I thought I remembered this being a 32-bit to 64-
bit issue, but changing guestOS from "solaris10-64" to "solaris10"
didn't seem to help.. Any suggestions?

* While sound works with the OpenSound driver, it is very, very soft..
Windows is a bit softer than the Mac applications, but Solaris is
almost inaudible, even with the volume cranked.. Still looking at this

* Finally, when the mouse hits the left, right, or bottom edges of
the screen while running in full screen mode, the OpenSolaris VM
loses focus, which is a major annoyance.. Oddly enough, when it
hits the top edge, the VMware menu drops down, which is quite
convenient, and it gets focus back after you move away from it.

I'd love to package this all up in a VMware image people can easily
download and fire up. Anyone know if the VMware tools are
redistributable? Should be easy enough to figure out, given the
VMware Virtual Appliance Marketplace. I'll go have a look.
We should put together preconfigured VMs for Parallels as well.

-ian
-- 
Ian Murdock
http://ianmurdock.com/

"Don't look back--something might be gaining on you." --Satchel Paige



_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to