After a Windows AppVM running in Seamless Gui mode crashes it often fails to 
connect to qrexec agent at subsequent boot causing the user to be forced to 
kill the AppVM which causes the machine to fail to connect co qrexec agent 
which causes a spiral of misery. Here's how to fix that:

1. Disable Seamless GUI and enable debug mode of Windows VM
2. Start Windows VM
3. In the VM window You'll see the Safe Mode prompt. This prompt is the real 
cause of the issue as the 30 second timer prolongs the boot process which in 
turns causes qrexec to timeout. Select "Start Windows normally.
4. In Windows AppVM launch Command Prompt as Administrator
5. Use following commands in the Commands Prompt: "bcdedit /set {bootmgr} 
displaybootmenu no" (no quotes) and "bcdedit /set {default} bootstatuspolicy 
ignoreallfailures" (no quotes)
6. Shutdown Windows machine
7. (optionally) change how long the qrexec waits for connection from the 
default 60 seconds to 120 seconds
8. Enable Seamless GUI back and disable debug mode

Your Windows VM should start normally after a crash now.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/ba542940-7b14-4df4-ad88-189fc833bbaa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to