Hi,

I’m considering transitioning completely to Linux for my main workstation. However, due to the nature of my work I rely extensively on a few Autodesk products (namely AutoCAD, Revit) as well as Ms OneDrive to coordinate with clients. I did some research and these applications are not available natively and can’t run through Wine. So I was thinking setting up a virtual machine with a windows image in order to run these two programs. They don’t need extensive GPU. I was wondering if there are any obstacles / issues I should be aware if I chose to go this route? Thanks!

  • CubitOom@infosec.pub
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 days ago

    I think there are ways to do that but I didn’t research it.

    Here are my docs for whati did to get it working in arch.


    Install virt-manager on Arch

    install the required pkgs

    sudo pacman -Syu --needed virt-manager qemu-desktop libvirt edk2-ovmf dnsmasq vde2 bridge-utils iptables-nft dmidecode libguestfs
    

    update /etc/libvirt/libvirtd.conf

    sudo sed -i 's|#unix_sock_group = "libvirt"|unix_sock_group = "libvirt"|' /etc/libvirt/libvirtd.conf
    sudo sed -i 's|#unix_sock_rw_perms = "0770"|unix_sock_rw_perms = "0770"|' /etc/libvirt/libvirtd.conf
    

    sdd your user account to libvirt group

    sudo usermod -a -G libvirt $(whoami)
    newgrp libvirt
    

    start & enable libvirt daemon

    sudo systemctl enable libvirtd.service
    sudo systemctl start libvirtd.service
    sudo systemctl status libvirtd.service
    

    run the following

    sudo virsh net-autostart default
    

    reboot

    run virtual machine manager (virt-manager)

    Windows 11

    sudo pacman -Syu swtpm edk2-ovmf
    
    # Libtpms-based TPM emulator
    tpm_path=~/Documents/windows11/
    swtpm socket --tpm2 --tpmstate dir="${tpm_path}" --ctrl type=unixio,path="${tpm_path}/swtpm-sock" &
    cp -f /usr/share/edk2/x64/OVMF_VARS.4m.fd ~/Documents/windows11/OVMF_VARS.4m.fd
    

    https://johnsiu.com/blog/win-kvm/