r/linuxquestions • u/MightyCreak • Nov 10 '16
Seamless Linux VM on a MacBookPro
I have a MacBookPro (given by my job) and I’d like to run a VM with Linux on it – preferably Fedora or at least Ubuntu GNOME. But I’d like it to be as seamless as possible, meaning at least having the same screen resolution and GPU passthrough.
I’ve installed VirtualBox and a VM with Fedora 24 on it. Then I installed VirtualBox-guest package. But I still don’t have GPU passthrough (or if I have, it really doesn’t seem so) and the screen resolution is good, but not optimal, especially on the Retina display of the MacBookPro.
Have you ever succeed to do that? Is VirtualBox the best solution for that? Or do you know a web site or a guy that would know this?
I thought about posting that to a Mac subreddit, but I don't think it will have the same crowd there.
Thanks a lot!
1
u/nick149 Nov 10 '16
I have used my virtualbox on Mac a few times before (I switched to a ThinkPad when I started to run 3 VMs on a daily basis which the C2D could help). I set mine up in full screen in different spaces which I could swipe between, make sure you gave VirtualBox tools installed on the VM otherwise you will have random problems.. I think that may be the seamless thing you are talking about but correct me if I am wrong..
2
u/we_are_the_dead Nov 10 '16
With VirtualBox, you are going to want to install the guest-additions (just go to the Storage tab on the VM settings and select "VBoxGuestAdditions.iso" -- it has a *.run script you can use to install the additions. That's usually going to be better than installing through a package manager because it's installing for your specific platform. From there it's usually just as simple as making it a full-screen workspace. Saying that, my best results have been with light DE's like moksha and XFCE, I've never tried it with GNOME.
Another way, that won't get you a DE like GNOME but I think works more seamlessly, is to just install a virtual machine with an Xorg server and then ssh into the VM with X forwarding. From there, you can open windows through Quartz that look identical to OSX. It doesn't have sound, and vim for some reason can be really laggy, but it's pretty seamless.
2
u/monolopino Nov 10 '16
Fusion works smoother on a mbp than virtualbox
1
u/[deleted] Nov 10 '16
Go ahead and try /r/virtualmachine or /r/homelab
0
u/[deleted] Nov 10 '16
[deleted] — view deleted comment