How to open terminal in VM using qvm-run

Hello qubes community,

I’m wondering if it possible to run the terminal using the qvm-run command.

e.g. qvm-run qube xfce-terminal

Thanks

I’m wondering if it possible to run the terminal using the qvm-run command.

e.g. qvm-run qube xfce-terminal

Have you given it a go? On my Fedora 32 AppVMs xfce-terminal isn’t
installed, but either xterm or gnome-terminal work.

Have a look at the -p flag to qvm-run. That will give you the
commandline output for what you are running. Should tell you if there is
some other issue stopping it.

Im also using fedora and gnome-terminal is the command I was after!

Being a noob it slipped over my head after typing in 50 different variations of the word terminal.

For the xfce terminal when using whonix the command is xfce4-terminal

Thanks Jarrah!

If you use the -p flag to qvm-run, then you will see any output from
the qube.
In this case you would have seen the helpful message - “command not
found”
Always useful for debugging.

1 Like

qvm-run domU qubes-run-terminal