Skip to content
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

qvm-run --gui waits indefinetly for GUI application even if gui feature is disabled #9789

Open
ben-grande opened this issue Feb 20, 2025 · 0 comments
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: core needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.

Comments

@ben-grande
Copy link

Qubes OS release

Qubes OS 4.2

Brief summary

I have qubes with the gui feature disabled, but qvm-run --gui (default is to use GUI), waits indefinitely when I try to open a GUI application. It does not print stdout or stderr, but waits for the session first, therefore not even returning if the command failed.

Steps to reproduce

  1. qvm-features disp-sys-usb gui ''
  2. qvm-start disp-sys-usb
  3. Try to run commands that require a GUI
$ qvm-run -p -- disp-sys-usb xterm
^C%
$ qvm-run -p --no-gui -- disp-sys-usb xterm
xterm: Xt error: Can't open display: :0

Expected behavior

  1. Don't wait for GUI when gui feature is disabled.
  2. Exit when subprocess terminates

Actual behavior

Waits for GUI even though it doesn't have one.

Additional information

I don't how it should consider also gui-emulated or emulated VGA.

@ben-grande ben-grande added the P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. label Feb 20, 2025
@andrewdavidwong andrewdavidwong added C: core needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. affects-4.2 This issue affects Qubes OS 4.2. labels Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: core needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.
Projects
None yet
Development

No branches or pull requests

2 participants