[pve-devel] vncpropxy question
Dietmar Maurer
dietmar at proxmox.com
Thu Jun 30 13:02:03 CEST 2022
in qemu-server, I wonder why we set $ENV{LC_PVE_TICKET} conditionally? Does not make any sense to me, because it make all other connection failing...
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 99b426e..c6a3ac1 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -2102,7 +2102,7 @@ __PACKAGE__->register_method({
} else {
- $ENV{LC_PVE_TICKET} = $password if $websocket; # set ticket with "qm vncproxy"
+ $ENV{LC_PVE_TICKET} = $password;
$cmd = [@$remcmd, "/usr/sbin/qm", 'vncproxy', $vmid];
More information about the pve-devel
mailing list