Browse Source

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).
Marek Marczykowski-Górecki 10 years ago
parent
commit
3ba424e6ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core-modules/000QubesVm.py

+ 1 - 1
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: