1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-08 21:18:00 +03:00

Fixed X2Go

This commit is contained in:
Adolfo Gómez García 2018-03-22 18:36:43 +01:00
parent 5909533161
commit a6397e9ff6
2 changed files with 4 additions and 2 deletions

View File

@ -45,7 +45,7 @@ import logging
import random
import string
__updated__ = '2018-03-14'
__updated__ = '2018-03-22'
logger = logging.getLogger(__name__)
@ -90,6 +90,7 @@ class TX2GOTransport(BaseX2GOTransport):
width, height = CommonPrefs.getWidthHeight(prefs)
rootless = False
desktop = self.desktopType.value
if desktop == "UDSVAPP":
desktop = "/usr/bin/udsvapp " + self.customCmd.value

View File

@ -40,7 +40,7 @@ from . import x2gofile
import logging
__updated__ = '2018-03-14'
__updated__ = '2018-03-22'
logger = logging.getLogger(__name__)
@ -76,6 +76,7 @@ class X2GOTransport(BaseX2GOTransport):
width, height = CommonPrefs.getWidthHeight(prefs)
rootless = False
desktop = self.desktopType.value
if desktop == "UDSVAPP":
desktop = "/usr/bin/udsvapp " + self.customCmd.value