AndrewDryga / vagrant-box-osx

Issue tracker for macOS Sierra Vagrant box.
https://app.vagrantup.com/AndrewDryga/boxes/vagrant-box-osx
MIT License
983 stars 106 forks source link

GUI mode? #26

Closed harishworks closed 9 years ago

harishworks commented 9 years ago

How I can run GUI mode?, it fires up console mode and able to ssh into it.

SpaceK33z commented 9 years ago

Take a look at the Vagrant docs.

justinr1234 commented 9 years ago

Setting GUI mode from the vagrant file doesn't bring up anything useful.

image

harishworks commented 9 years ago

I am facing the same issue.

WayneBuckhanan commented 9 years ago

I was stuck there for way too long before I figured out the cpuid and graphics mode to pass in via the Vagrantfile.

See https://gist.github.com/WayneBuckhanan/15de1bb8b3fb3bd4f7af for the various details all collected in one place.

AndrewDryga commented 9 years ago

Hi guys. In new box I've already set cpu, and It worked in GUI mode for me and some other people. You just need to set: vb.gui = true in your Vagrantfile. Also you can try to manually turn 3D acceleration on in VirtualBox (don't forget to turn it off, because box won't work in headless mode.)

@WayneBuckhanan did your customizations solve the problem?

    vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct", "MacBookPro11,3"]
    vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion", "1.0"]
    vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct", "Iloveapple"]
    vb.customize ["setextradata", :id, "VBoxInternal/Devices/smc/0/Config/DeviceKey", "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"]
    vb.customize ["setextradata", :id, "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC", "1"]
AndrewDryga commented 9 years ago

I've updated the box, @harishworks does it work now?

WayneBuckhanan commented 9 years ago

Yes, @AndrewDryga, those customizations solved the problem. I suspect it had been because I was running it on non-standard hardware.

AndrewDryga commented 9 years ago

Awesome. I'll close this issue. Also I've included this customizations to latest box version.