From 735788dbd64bc97873ffe5a0a3bc5b4e8e9a2034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 10 Mar 2015 23:59:30 +0100 Subject: [PATCH] appmenus: do not force GUI connection when retrieving appmenus There could be no GUI available - for example at firstboot. --- appmenus-scripts/qubes-receive-appmenus | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appmenus-scripts/qubes-receive-appmenus b/appmenus-scripts/qubes-receive-appmenus index baf47a5..0357f38 100755 --- a/appmenus-scripts/qubes-receive-appmenus +++ b/appmenus-scripts/qubes-receive-appmenus @@ -118,7 +118,8 @@ def get_appmenus(vm): if appmenus_line_count == 0: raise QubesException("Line count limit exceeded") else: - p = vm.run('QUBESRPC qubes.GetAppmenus dom0', passio_popen=True) + p = vm.run('QUBESRPC qubes.GetAppmenus dom0', passio_popen=True, + gui=False) while appmenus_line_count > 0: untrusted_line = p.stdout.readline(appmenus_line_size) if untrusted_line == "":