qubes.ShowInTerminal needs a graphical session running

This specifically fixes qvm-console-dispvm tool, which uses
qubes.ShowInTerminal to show the actual console. This service uses
xterm, so it needs X session running already.

Fixes QubesOS/qubes-issues#5805
This commit is contained in:
Marek Marczykowski-Górecki 2020-05-09 05:13:14 +02:00
parent bb1a6eb62e
commit 707d4cad8b
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
3 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,7 @@ etc/qubes/rpc-config/qubes.OpenInVM
etc/qubes/rpc-config/qubes.OpenURL etc/qubes/rpc-config/qubes.OpenURL
etc/qubes/rpc-config/qubes.SelectFile etc/qubes/rpc-config/qubes.SelectFile
etc/qubes/rpc-config/qubes.SelectDirectory etc/qubes/rpc-config/qubes.SelectDirectory
etc/qubes/rpc-config/qubes.ShowInTerminal
etc/qubes/rpc-config/qubes.StartApp etc/qubes/rpc-config/qubes.StartApp
etc/qubes/rpc-config/qubes.InstallUpdatesGUI etc/qubes/rpc-config/qubes.InstallUpdatesGUI
etc/qubes/rpc-config/qubes.VMShell+WaitForSession etc/qubes/rpc-config/qubes.VMShell+WaitForSession

View File

@ -0,0 +1 @@
wait-for-session=1

View File

@ -602,6 +602,7 @@ rm -f %{name}-%{version}
%config(noreplace) /etc/qubes/rpc-config/qubes.OpenURL %config(noreplace) /etc/qubes/rpc-config/qubes.OpenURL
%config(noreplace) /etc/qubes/rpc-config/qubes.SelectFile %config(noreplace) /etc/qubes/rpc-config/qubes.SelectFile
%config(noreplace) /etc/qubes/rpc-config/qubes.SelectDirectory %config(noreplace) /etc/qubes/rpc-config/qubes.SelectDirectory
%config(noreplace) /etc/qubes/rpc-config/qubes.ShowInTerminal
%config(noreplace) /etc/qubes/rpc-config/qubes.StartApp %config(noreplace) /etc/qubes/rpc-config/qubes.StartApp
%config(noreplace) /etc/qubes/rpc-config/qubes.InstallUpdatesGUI %config(noreplace) /etc/qubes/rpc-config/qubes.InstallUpdatesGUI
%config(noreplace) /etc/qubes/rpc-config/qubes.VMShell+WaitForSession %config(noreplace) /etc/qubes/rpc-config/qubes.VMShell+WaitForSession