diff --git a/server/src/uds/transports/HTML5RDP/html5rdp.py b/server/src/uds/transports/HTML5RDP/html5rdp.py index c9ec3258..7e22a86a 100644 --- a/server/src/uds/transports/HTML5RDP/html5rdp.py +++ b/server/src/uds/transports/HTML5RDP/html5rdp.py @@ -456,7 +456,7 @@ class HTML5RDPTransport(transports.Transport): 'create-drive-path': 'true', 'ticket-info': { 'userService': userService.uuid, - 'user': userService.user.uuid, + 'user': userService.user.uuid if userService.user else '', }, } @@ -500,12 +500,11 @@ class HTML5RDPTransport(transports.Transport): ticket = models.TicketStore.create(params, validity=self.ticketValidity.num()) - onw = '' + onw = '&o_n_w={}'.format(transport.uuid) if self.forceNewWindow.value == gui.TRUE: - onw = '&o_n_w={}' + onw = '&o_n_w={}'.format(userService.deployed_service.uuid) elif self.forceNewWindow.value == 'overwrite': onw = '&o_s_w=yes' - onw = onw.format(hash(transport.name)) path = ( self.customGEPath.value if self.useGlyptodonTunnel.isTrue()