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).
This commit is contained in:
parent
def58ab911
commit
3ba424e6ac
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user