How to enable the (new) GUI VM?

thanks

after I use ```
sudo qubesctl top.disable qvm.sys-gui

well done 

but after reboot usb mouse can`t connect to dom0 anymore

What is the current status of the GUI-VM , is it stable? Is there a summary of issues that will be
encountered when applying the saltstack formula?

1 Like

Is it enough to follow the instructions in GUI domain | Qubes OS

to get the hybrid GUI-VM working?

1 Like

I cannot answer your question regarding the current status.
The saltstack formula is working for me in 4.2 without errors.

For sys-gui-gpu to work I have to attach the gpu, the HDMI/Display port and the HDMI audio device (I am not 100% sure about the HDMI audio device anymore but I think I got a black screen without it)
It doesn’t matter much getting a black screen because adding the “qubes.skip_autostart” option to GRUB allows you to try it out without much trouble.

The menus might have to be refreshed in order to show up in the new GUI-VM once you set the default guivm to sys-gui-gpu.

I am having trouble updating my qubes but I guess this is just a policy issue. Also, the keyboard localization is set to US. Waking from suspend does not work for me.

For now I went back to dom0 sessions but I am also very interested in where this is going.

What do you mean “went back to dom0 sessions”?

I was referring to the Hybrid GUI domain (sys-GUI).

How is the GUI-VM used, do you need to be logged into it directly? Or is it active when using the non-xfce user account?

I meant that I disabled sys-gui-gpu, detached the devices etc. and logged in like before. Since the GUI is in dom0 I called it a dom0 session. It may not be the right wording, I don’t know.

Sorry for referring to sys-gui-gpu. I did try sys-gui as well a few weeks ago and what I wrote about sys-gui-gpu does apply pretty much to sys-gui. There are no errors in the saltstack formula but I had the same problem running the updater. I didn’t have time to take a closer look at the policy files and there is a lot of half knowledge involved on my part so I’d rather have someone really knowing what they’re doing explaining what to do.
I had problems with the screensaver, I couldn’t unlock it. Other than that it looks like it’s working.

1 Like

Are you required to stay logged in to the xfce account? When you log into the xfce account you don’t have access to other VMs only the sys-gui.

A good introduction regarding the GUI-VM is here. If you haven’t read it yet it helps understanding what it does and how it works.

Usually you log into sys-gui or sys-gui-gpu because that is the default guivm now. Of course, this means your apps are set to the new guivm. When logging in to dom0 you’d have to set the guivm back to dom0 in order to get access.

For sys-gui you could start via dom0 running

qvm-run -p --no-gui --service sys-gui qubes.GuiVMSession

This is all explained in this thread (and a few others) .

1 Like

But once you login to the sys-gui domain using the command that you mentioned, you no longer have access to the AppVMs you would normally have access to. You’re saying you need to login to the xfce sys-gui domain, but connect to the dom0 domain to get access to your usual AppVMs?

When I login to sys-gui and try to sync templates with the older monolithic VMs, I get an error message
saying the VMs were not found.

Is there a way to copy over the templates used in the previous monolithic dom0?

Please read this and the other topics regarding the gui-domain.
You don’t need to copy anything.

You either set the default guivm to sys-gui via

qubes-prefs default_guivm sys-gui

in dom0.

Or, if you want to test single apps then run

qvm-prefs work guivm sys-gui

In order to go back to how things were you have to set default_guivm to dom0 or the single appVM to dom0 respectively.

Please take your time reading the posts in this and the other threads.

2 Likes

Is there any particular reason that a Whonix workstation wouldn’t work with the sys-gui as the default GUI-VM?

After having made it the default, the Whonix workstation apps will not launch properly.

What worked for me was to have the desired AppVM apps launched while in the xfce account and then
log in to the sys-gui account and then run the command you mentioned:

qvm-prefs work guivm sys-gui

But the app needs to be running in the xfce account already

The command is for the specific app called “work”. Of course, you have to replace it with the names of your apps.

I did not use Whonix in sys-gui but it should work if not only the workstation is set to sys-gui but also gateway and sys-whonix.

Good luck!

The command requires the VMNAME value, which is the name of the appVM

Currently DispVMs do not appear to crossover from xfce into sys-gui.

In the Xfce user account the AppVMs and TemplateVMs and their related applications are listed in the “Q”
GUI dropdown menu in the upper left corner, is this possible in the sys-gui account?

Overall the sys-gui looks pretty promising, there are a few kinks to iron out.