From 7491c10072ac8a797f1e81b6e2cd26269fd5eb05 Mon Sep 17 00:00:00 2001 From: Simon Gaiser Date: Tue, 15 Oct 2024 01:34:32 +0200 Subject: [PATCH] qvm-start-daemon: Pass KDE specific guid arguments for stubdomain too (cherry picked from commit 886364ee2a15d433daa8b548cd9b7f95e4f7186a) --- qubesadmin/tools/qvm_start_daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qubesadmin/tools/qvm_start_daemon.py b/qubesadmin/tools/qvm_start_daemon.py index 7eda7e06a..57bc24226 100644 --- a/qubesadmin/tools/qvm_start_daemon.py +++ b/qubesadmin/tools/qvm_start_daemon.py @@ -494,6 +494,8 @@ def common_guid_args(self, vm): config_path = self.guid_config_file(vm.xid) self.write_guid_config(config_path, config) guid_cmd.extend(['-C', config_path]) + if self.kde: + guid_cmd.extend(self.kde_guid_args(vm)) return guid_cmd @staticmethod @@ -536,8 +538,6 @@ async def start_gui_for_vm(self, vm, monitor_layout=None): local X server. """ guid_cmd = self.common_guid_args(vm) - if self.kde: - guid_cmd.extend(self.kde_guid_args(vm)) guid_cmd.extend(['-d', str(vm.xid)]) if vm.virt_mode == 'hvm':