Running Arch in Hyper-V
I run Arch on all my computers. After a year in a windows shop, I've just about gone crazy. Linux in a VM is the best I can do right now at work, so I run Arch in Hyper-V.
I like a tiling wm, this is the largest reason why using Windows at work is so painful, so I use Xorg. Hyper-V is sluggish in the GUI department, so I use VNC, tigervnc and a vnc viewer on the host to access.
My question is, is there a better way? Can I squeeze more out of the machine? Host has 8-cores and 32gb ram.
Its usable, but I'd like the bliss of shoving tiling, with all it's picom glory, down the throats of my coworkers. Tips and tricks much appreciated.
About this post
- Posted
- Archived
- Score
- 2 · 67% up
- Kind
- Text
- ID
- gre2lu
14 comments
You can try using Hyper-Vs "Enhanced Session", which uses xrdp with a special config (vsock). You connect via vmconnect.
Setup can be done using Microsoft's Github page: https://github.com/microsoft/linux-vm-tools
Edit: wording
Yes, I initially tried this and following the arch wiki for Hyper-V, I must have missed something in my configuration because it didn't work for me. But it was late and I was tired, so I should try again. Also had just configured VNC so perhaps there was a conflict.
Is XRDP crashing with something like: port already in use?
I can't comment much on Hyper-V, but I believe the solution you're looking for is related to RemoteFX. I tend to have grade performance on VMware regarding graphics accelerations, as well as Virtual Box.
Ooh, thanks! I was unaware of RemoteFX. Will give it a proper go.
You can try VirtualBox too, if you have a recent Windows version (I think 1803+) and can enable the "hypervisor platform" feature, it will work with Hyper-V as the hypervisor.
There's also various RDP servers for Linux, although I haven't had the best of luck getting them to work properly.
How's the GUI performance? With Hyper-V as the hypervisor, I'd imagine there's no difference between just using Hyper-V directly.
If you can go the other way and run Windows in a vm you might get more preformance with qemu as the hypervisor
That's the dream. But not quite there yet with my freedom at work.
WSL2 that might get released this week with the 20H1 update suppose to have a Wayland compositor so I guess you should be able to run Sway in Windows 10 as it can run as a nested Wayland compositor.
No, the Wayland compositor is on the roadmap. Definitely not in the current WSL2. Probably not for quite some time.
you could get bunch of Rasperri pi and set them up with external hard drives connected to your router at your home. Then you would have Arch farm that you could ssh / vnc into from anywhere