What is qvm-run --gui | --nogui

what does the --gui and --nogui option do in qvm-run? i can’t find an explanation to what “gui forwarding” means in qubes os.

Maybe related to GUI domain | Qubes OS

1 Like

qvm-run with --gui (the default) waits for the VM to become ready to launch graphical programs. With --nogui that’s not guaranteed to work if qvm-run has just started the VM: It might run the program too early in this case.

4 Likes

Also, if the VM has no guivm (headless, like stripped of its installation of X, terminal access only through “Open console in qube” / qvm-console-dispvm) then --no-gui is mandatory, every qvm-run call will stall and time out otherwise.

3 Likes

Exactly. This has been reported in this Github issue:

It also completely breaks the r4.3 upgrade tool if the UpdateVM has no GUI:

3 Likes