WINDOWS 11 Virtual Machine with USB pass through, SHARED folders & RDP. KVM/QEMU and Virt-Manager

Поділитися
Вставка
  • Опубліковано 22 лис 2024

КОМЕНТАРІ • 73

  • @mylinuxforwork
    @mylinuxforwork  Рік тому +3

    Don't miss PART 1 of the video about the installation of Windows 11 in a KVM, Virt-Manager based VM: ua-cam.com/video/WmFpwpW6Xko/v-deo.html
    If you like this video, please subscribe to my channel: 👉 www.youtube.com/@mylinuxforwork/?sub_confirmation=1

    • @RyanWalker-z4t
      @RyanWalker-z4t 4 місяці тому

      Im following your guides in Manjaro. When it comes to installing xfreerdp, error: target not found: xfreerdp. Instead it installs xfreerdp3, but then I get the following errors when running xfreerdp3: xfreerdp3 -grab-keyboard /v:192.168.122.68 /u:[Username] /p:[password] /size:100% /d: /dynamic-resolution /gfx-h264:avc444 +gfx-progressive
      [17:16:56:629] [9630:0000259e] [ERROR][com.winpr.commandline] - [log_error]: Failed at index 8 [/gfx-h264:avc444]: Unexpected keyword

  • @eherlitz
    @eherlitz 11 місяців тому +3

    Great video, I got a couple of additions to this.
    1: Sharing a folder using virtiofs will prevent virtual machines from entering save mode, so if you want to save your virtual machine as it was when rebooting the host this isn't an option
    2. While I love xfreerdp there's also remmina that is a bit more user friendly.

    • @mylinuxforwork
      @mylinuxforwork  11 місяців тому +1

      Thanks for sharing your feedback. This is very helpful.

  • @jasond.valentine5931
    @jasond.valentine5931 3 місяці тому +2

    This is incredible. Such a huge amount of information, perfectly paced and illustrated. This man is an absolute treasure.

  • @FirstLast-ml7yf
    @FirstLast-ml7yf 18 днів тому

    Thanks...really great tutorial...it works...it is considerably more complicated than just the windows install on virtmanager and its no wonder I couldn't figure it out until now, so I kept using virtualbox. Now there is no reason not to use virtmanager and KVM instead...greetz from Canada...works great on my old Xeon workstation server from 2017 with Linux Mint. Sp many different drivers and such needed...

  • @why1194
    @why1194 22 дні тому

    Shared storage still works! Thank you very much!

  • @CaratacusAD
    @CaratacusAD 2 місяці тому

    Fantastic video. You might want to consider running win11 on a directly attached disk like a SATA SSD rather than a Virtual Disk file. I think this can give you a real performance boost.

    • @mylinuxforwork
      @mylinuxforwork  2 місяці тому

      Yes. This setup would be more powerful.

  • @jamescolby1543
    @jamescolby1543 Рік тому

    Wow, 7 days ago. Thx a lot. Vbox stopped working on me, so had to switch. Even reinstall & upgrading to Linux Mint 21.2 didn't fix it. Luckily after that install QEMU/KVM all of a sudden was visible in apps list (earlier the install didn't reveal it). Seemed so simple - until folder sharing & the GPU driver stuff! Other YT tutorials were only partially useful, but you helped me out BIG TIME. Still no dedicated GPU, but it works.

    • @mylinuxforwork
      @mylinuxforwork  Рік тому

      Thank you so much for your feedback. The video about GPU passthrough will come.

    • @StephanRaabeVideos
      @StephanRaabeVideos Рік тому

      @@jamescolby1543 I can see it.

  • @KennyBentley7
    @KennyBentley7 2 місяці тому

    It should be noted that remote desktop will only work on Windows 11 Pro, not on Windows 11 Home, so I can't use that. :( Also, if you install Windows 10 first, then Windows 11, you can bypass the Microsoft Account requirement altogether.
    Other than the fact that I can't use the rRDP feature, these two videos were great and helped me a lot. Thanks for posting these.

    • @mylinuxforwork
      @mylinuxforwork  2 місяці тому

      You’re right. Windows 11 Pro is required. Thank you so much for your feedback.

  • @MrNemonsteri
    @MrNemonsteri 3 місяці тому

    Herzlichen Dank für Ihre großartigen Tutorien.

  • @flameforge
    @flameforge 7 місяців тому +2

    Found this very useful, thank you.

  • @Zetornator
    @Zetornator Рік тому +1

    This is what i needed! but now i am wondering, it would have been a nice idea to show us how to connect with SMB to make the video complete (not sure how different it would have been to RDP)

    • @mylinuxforwork
      @mylinuxforwork  Рік тому

      Thanks for your comment. Where do you see the benefits of SMB?

  • @danieldiaz2093
    @danieldiaz2093 Рік тому +1

    Thank you very much, I wanted to do this for a long time.

  • @onred_
    @onred_ Рік тому +2

    I have a question. You mentioned that you can use your Linux hotkeys while using the rdp windows. Does this cause conflicts in case there are similar hotkeys within windows that you want to use? Or is there a way to switch between which system is listening to hotkeys?
    I’m asking because I want to get a better idea of the advantages/disadvantages between this way or just using Virt-Manager. Thank you for the video!

    • @mylinuxforwork
      @mylinuxforwork  Рік тому

      Good question. I can use my Qtile key bindungs, like SUPER+F for fullscreen, SUPER+1,2,3 for switching workspaces even if the focus is on the RDP window. So I can work on Windows 11 in RDP and switch immediately to another workspace in Qtile if required.

    • @onred_
      @onred_ Рік тому

      @@mylinuxforwork what happens when you do super+r, which is run in both qtile and windows. Does the windows run prompt just not show?

    • @mylinuxforwork
      @mylinuxforwork  Рік тому

      @@onred_ For Super+r nothing happens on my configuration. When I have the focus on my Win11 VM and I press Super, the Windows start menu opens. When I press Super+1, it moves to the first workspace on Qtile. And this happens with any other key bindings. If a key binding exists in Qtile, the system reacts first on that. Hope I could help?!

  • @hanshofman
    @hanshofman Рік тому

    Very welcome addition for me. Thanks. What about sharing with a Linux host?

    • @mylinuxforwork
      @mylinuxforwork  Рік тому

      Thank you. Please also see my video about Gnome in a VM. On minute 7 I cover the shared clipboard. ua-cam.com/video/KvjEsXDP1jk/v-deo.html

  • @Sudoakado
    @Sudoakado 5 місяців тому

    Hey mate if you get time any chance you could make a video on NixOS setting up QEMU, KVM as you did here maybe using configuration file etc or more on Home Manager and Flakes? Cheers!

    • @mylinuxforwork
      @mylinuxforwork  5 місяців тому +1

      Thanks for your request.

    • @Sudoakado
      @Sudoakado 5 місяців тому

      @@mylinuxforwork I’d like to suss both OSX-KVM and win 11 with configuration file setups. Meaning once setup repeatable and reproducible. That’s the thought process anyway! Cheers for the response!

  • @Mastter00TNT
    @Mastter00TNT 7 місяців тому

    Thank you for this tuto, that very was helpful

  • @roylopez6673
    @roylopez6673 Рік тому

    Wow nice tutorial thanks. I will try this on new setup Arch.

    • @mylinuxforwork
      @mylinuxforwork  Рік тому

      Thank you. Just write a comment in case of questions.

  • @claudiocamilli5867
    @claudiocamilli5867 6 місяців тому

    Hi there! I appreciate the video. The changes don't take effect when I restart my machine after installing the Spice Guest tools. Paste and copy doesn't work... Exists another option? I appreciate your tutorials.

    • @mylinuxforwork
      @mylinuxforwork  6 місяців тому

      Have you added the Guest Agent Channel in virt-manager?

  • @japanskaveverica7456
    @japanskaveverica7456 2 місяці тому

    Curious to know, does quick assist app from windows work ? And will Teams take control feature work including sound and recording ?

    • @mylinuxforwork
      @mylinuxforwork  2 місяці тому

      Quick assist should work. And you can pass through an audio interface or microphone to the VM.

  • @MrEarbuckets
    @MrEarbuckets 7 місяців тому

    Great video.

  • @javagamesfanclub5650
    @javagamesfanclub5650 6 годин тому

    Im getting gfx h264 avc44 unexpected keyword error

  • @horatioh5469
    @horatioh5469 Рік тому

    very nice job. thank you😊

  • @Mikidu-b6v
    @Mikidu-b6v Рік тому

    Nice one...but how do i pass through my second drive inside the machine

    • @mylinuxforwork
      @mylinuxforwork  Рік тому

      This should be possible with Virt-Manager. Never done this before.

  • @E-Cyber-S
    @E-Cyber-S Рік тому +1

    What is the use of doing RDP when you can access the system directly from the virt manager menu and toggle between the screens using the tab+shift keys?

    • @mylinuxforwork
      @mylinuxforwork  Рік тому

      Great question. I had a better graphical performance with RDP especially with GPU passthrough. You cannot access virt viewer when you passthrough a GPU.

    • @E-Cyber-S
      @E-Cyber-S Рік тому

      @@mylinuxforwork how much memory and processors you are assigning for passthrough.

    • @mylinuxforwork
      @mylinuxforwork  Рік тому

      @@E-Cyber-S 8GB ram and 12 cores. But will also work with less. You need to try it out.

    • @E-Cyber-S
      @E-Cyber-S Рік тому

      @@mylinuxforwork I have 8 cores processor and I am assigning 6 core and 16gb memory still I feel lag while playing videos. So my question is will it gets a boost in RDP.

    • @E-Cyber-S
      @E-Cyber-S Рік тому

      Also I have another question which is unrelated to this topic but you are a Linux expert so I think you can help me.
      I am trying to install VMware ESXI 8 on kvm and I am trying to do nested virtualization. I have AMD Ryzen 7 processor and my ESXI is working but I am unable to do nested virtualization.
      I have turned on AMD virtualization on my processor but still ESXI is not detecting it and giving error that the virtualization is not on.
      Can you help me what am I messing?

  • @yndolokoppavel3329
    @yndolokoppavel3329 9 місяців тому

    Please, show how to add printer to guest machine and print from win11? No info online. Tried through redirect usb, but no result. There is smth place additional configuring needed.

    • @mylinuxforwork
      @mylinuxforwork  9 місяців тому +1

      You have to passthrough the USB adapter to the VM.

  • @hameggs2737
    @hameggs2737 9 місяців тому

    Danke!

  • @juts89
    @juts89 16 днів тому

    qemu-hw-usb-host was not installed following the earlier video for me. Installing this package resolved errors with usb-host.
    I then had to add hardware manually for
    Graphic: Spice server
    Channel: spicevmc
    controller: virtio-serial
    And 2x usb redirect devices to give enough channels to redirect and allow the menu option to not be grayed out.
    I think this video should insist on installing qemu-full instead of qemu-base.

    • @mylinuxforwork
      @mylinuxforwork  14 днів тому

      Thank you so much for testing. I will record a new video later this year.

  • @kyledupont7711
    @kyledupont7711 5 місяців тому

    Would it be possible to run W11 thru a virtual machine and to print to a printer on my network?

  • @azmr111
    @azmr111 8 місяців тому

    @mylinuxforwork Great video, but for some reason my Audio in Windows 11 is not working, i have selected HDA in virt manager and the volume icon in taskbar does show its working but I can't hear any thing. Any idea why?
    Thanks

    • @mylinuxforwork
      @mylinuxforwork  8 місяців тому

      This is difficult to find out. Maybe this article helps bugfixing mathiashueber.com/virtual-machine-audio-setup-get-pulse-audio-working/

  • @claqyagami6914
    @claqyagami6914 6 місяців тому

    Finally someone showed USB passthrough.

  • @invalid-m2e
    @invalid-m2e 3 місяці тому

    that s good its work but when system startup a few second after boot freeze after can use.:(((

    • @mylinuxforwork
      @mylinuxforwork  3 місяці тому

      Cannot help without more information.

    • @invalid-m2e
      @invalid-m2e 3 місяці тому

      @@mylinuxforwork i fix my laptop I add grup only Nvidia id gpu not other any working perfect 😍ty so much for reply 😍😍

  • @SalimPradhan-n7w
    @SalimPradhan-n7w 2 місяці тому

    WSL ❌
    LSW ✅