Windows 11 in Qubes

Difficult to say - I just have the vague impression that the graphics driver is a bit better, and the setup now has an option to configure autologon automatically. At least, it’s not worse than the 4.2.1.

Hello all. How do I install QWT to a Windows AppVM? I installed in a template for now because I was unable to change the install location when using the installer in Windows, and unable to select “Move User Profiles” so hopefully it is the default.

Also, when I resize the VM to full-screen, the taskbar at the bottom disappears, and does not reappear when I resize it. I am also unable to click on anything else in the VM after this, forcing me to restart. It automatically goes full-screen mode when I start the VM as well.

Sometimes instead of only the taskbar disappearing, the whole window goes black and unresponsive.

After installing qubes windows tools in a template, AppVMs become totally unresponsive: they appear to start, but there is no display. I tried removing the windows tools from the template, but the issue persists and my windows qubes are currently unusable.

I have updated the description of the Windows template installation to describe the moving of user directories to the private volume. As this is not yet included in the official documentation (it’s not completely finished), here’s the preliminary version:

Windows_Templates.pdf.gz (41.6 KB)

With regard to the vanishing taskbar and unresponsive windows, see my earlier comment on the role of the qvm-features parameters gui and gui-emulated. It’s still a complete mess and may depend on the hardware. Here, I can just wish you good luck! Maybe you can find a usable state by experimenting with these parameters.

2 Likes

Thank you. The appvms created from the template with QWT do not spawn windows at all. I initially installed and had GUI agent enabled, but (seemingly) after removing the feature, I cannot use the appvms because there is no window. I have tried uninstalling and reinstalling QWT, creating new appvms, but can’t get guests based off templates to work. They were fine before, and I’m not quite sure what part of the process triggered the issue. I also tried moving the home directories by using the method in the literature you provided, but no luck.

Edit: I fixed it by enabling and disabling seamless mode. Windows open in seamless mode, but the desktop is still there. Is that the intended behavior? Also, am I supposed to set both gui-emulated and gui to 1?

If you set gui, the new graphics driver is used, and if you set gui-emulated, the old one is used, showing the desktop. If you have set both, you probably will have both, but you can move the desktop to another workspace, where it is then hidden from normal work.

You will have to test which of the windows will accept inputs. This may vary from one start of the VM to the next one. Generally, AppVMs behave even worse than their Template VMs - I have no idea why this is so. The most unproblematic behavior is if you don’t install the graphics driver and just enable gui-emulated but not gui. But then. of course, you won’t have seamless mode.

Thank you. Unfortunately, my boot drive got corrupted after repeated restarts and removals of QWT. It’s all good though, I only had vscode installed on it.

I created a new windows template as per the instructions, then went through the windows tools installation again after setting script executionpolicy and hibernation off, but it doesn’t seem to be working right. It didn’t move the user directories, and I cannot copy files to it, though I was able to the first time.

I am going to start over one more time with a new template, but I have two questions.

  1. I am using an iso for Windows 11 24H2. On the first template where QWT was working correctly (until I removed GUI agent), I had gone through multiple security updates, and it was fully up to date iirc. Is the current QWT supposed to work on 24H2, or do I need to bring it up to date before installing?

  2. If I am using the most up to date version of QWT and Windows, do I still need to extract relocate_dir.exe and add the registry entry, or will it work if I just check off the option to move User dirs on the installer?

QWT 4.2.2 should be working on W11 24H2. I did not test it, because I don’t have this Windows version anymore, but the previous QWT version 4.2.1 worked there, about as good - or bad - as on 25H2.

If you select the Move users directories option on installing QWT, there is no need to try the manual movement using relocate_dir.exe, because the installation does just that for you on the next reboot of the Windows VM.

1 Like

Anyone know what network driver to use to get Win11 to recognize the presented networking?

I just have the default installation, using the Ethernet driver for a Realtek RTL8139C Fast Ethernet NIC adapter.

It is important to set the IPv4 configuration to use the IP-address shown in the Qube Manager for the W11 VM, and to set the gateway address to that of sys-firewall or sys-net.

Thank you.Any Win11 HVM install doesn’t recognize an eth adapter at all. Possibly this because my laptop doesn’t have a physical network adapter? Any recommended USB-C or thunderbolt eth adapter you know of?

The Ethernet adapter presented to Windows is always Realtek RTL8139C Fast Ethernet NIC, no matter which adapter is physically installed in your system, but it shows up only if a netVM is assigned to the Windows VM.

1 Like

Thanks, this was my original though but have had real issues getting the OS to recognize it. Also have had issues if I clone the VM where it looses connectivity.

I have one question about Windows disposable VMs: Will they work if you are not using the experimental video driver (and gui-emulated)?

I ask because I could make a Windows 11 TemplateVM and AppVM work OK without the experimental GUI driver (it kind of works, but has issues in my computer with some redraws), but when I try a disposable VM it starts and then shutdowns without ever opening the desktop.

I checked and found that disposables based on a Windows 11 template will shut down immediately after starting. So I filed an issue #10554 about it. I’ll follow up.

1 Like