From 3ba424e6ac78c638eab4fc1d1a01ab0c273a21bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 15 Oct 2013 15:02:58 +0200 Subject: [PATCH] Use VM name as argument to qrexec-client This is the only place where ID was used - all other places uses name. Linux qrexec-client accepts both ID and name, but sticking to one option will simplify things (especially Windows qrexec-client/daemon). --- core-modules/000QubesVm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-modules/000QubesVm.py b/core-modules/000QubesVm.py index 15b6f01c..6bf76d44 100644 --- a/core-modules/000QubesVm.py +++ b/core-modules/000QubesVm.py @@ -1429,7 +1429,7 @@ class QubesVm(object): if gui and os.getenv("DISPLAY") is not None and not self.is_guid_running(): self.start_guid(verbose = verbose, notify_function = notify_function) - args = [system_path["qrexec_client_path"], "-d", str(self.xid), "%s:%s" % (user, command)] + args = [system_path["qrexec_client_path"], "-d", str(self.name), "%s:%s" % (user, command)] if localcmd is not None: args += [ "-l", localcmd] if filter_esc: