-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HVM Standalone Qubes GUI Not Spawning in sys-gui Session #9385
Comments
This seems to happen in sys-gui-vnc as well. Also, some people have reported it happening in sys-gui-gpu: https://forum.qubes-os.org/t/win-qubes-and-sys-gui-gpu/28077 |
Just tested: A HVM that uses seamless mode does successfully display in sys-gui. @MerrierWinter : were all your standalone HVM qubes set up to be seamy? (I.E. not seamless (I.E. showing one big desktop instead of individual windows)). If so the conflict appears to be sys-gui and "lack of seamless mode", not HVM or standalone. |
Thanks for testing! I think If there's any OS that can't have seamless mode where seamless mode is not planned for it, then I expect it to be able to show a GUI without seamless mode so that it can be accessed when logged in sys-gui. It's good to know that seamless mode is able to resolve it when you tested and it seems related. I didn't understand whether you meant that providing seamless mode is the solution in general or for windows VMs (which are vital for sure) Update : okay I think I understood you now, if it supported 'seamy mode' as in showing one big window then all would work, yes that's what i implied initially when i filed the bug report, thanks |
I was just adding information to help people diagnose the situation. I'm not claiming to have a solution. I have a new procedure confirming it:
Notes:
Then to make sure they make it into your menu:
(restarting sys-gui or sys-gui-vnc is done to make sure the main menu and other widgets acknoledge the new qubes for sys-gui/sys-gui-vnc) Then either:
Possibly optional:
The terminal should display. if it does not, try shutting down standalone-test-01 then running the terminal again. This is a standalone hvm, with all the qubes drivers installed, that does display. However, I just tried windows 7 seamless mode and it did not work, so that complicates things. Anyone know if there is a way to try disabling seamless mode on debian templates (or other official templates) to see if that causes the problem? quick side note: debugging can happen much faster using sys-gui-vnc then using sys-gui (because #1 you dont need to log out every time you need to go back and run a command under dom0, and #2 you will actually see policy permission errors when they happen). If you become interested in using sys-gui-vnc for this, there are comments on it at: https://forum.qubes-os.org/t/how-to-use-the-qubes-admin-policies-api-despite-the-lack-of-documentation-wip/29863#p-137862-sys-gui-vnc-for-debugging-ie-with-no-networking-14 |
Follow up: A hvm standalone made from a "official" debian template, given to sys-gui-vnc and put into debug mode will show the terminal window, but not the "boot window". The only thing that seems to display in sys-gui's are graphics that use the qubes seamless driver for linux. (I don't know the drivers name... maybe xserver-xorg-video-dummyqbs?) @marmarek is the cause of the problem obvious to you? or would spending (my) time on further tests to narrow down the cause be helpful? |
I'm not sure what exactly went wrong, but the guivm setting for the proper gui agent is done differently than for the VGA window ("boot window" as you call it). The former goes through qubesdb ( As for Windows, the Qubes Windows Tools as you can find right now do not support guivm at all. The upcoming build hopefully will. |
How to file a helpful issue
Qubes OS release
Qubes OS R4.2.2
Brief summary
virtual machines in HVM mode don't get their GUI screen spawned when sys-gui is setup as default_guivm , I tested that inside GUI Domain session , different standalone HVMs (windows, ubuntu etc ) the problem persisted on all 3 devices after following the GUI domain documentation , the same VMs work well in normal xfce session before setting up GUI Domain functionality .
Steps to reproduce
1-Set sys-gui as the default GUI domain.
2-Start an HVM (e.g., Windows, Ubuntu).
3-Observe the behavior. (No GUI).
Expected behavior
The GUI should appear for the HVM.
Actual behavior
The GUI does not appear, but the VM can be accessed via “Open console in qube” from Qubes Manager in dom0 , then switching back to GUI Domain.
Note 1 : I can supply the logs if needed but I couldn't tell whether these are relevant.
Note 2 the issue doesn't apply to VMs running in pvh mode, those are integrated And their GUI appears.
The text was updated successfully, but these errors were encountered: