forked from shaba/openuds
Fixed "smooth fonts".Now works on linux xfreerdp clients also.
This commit is contained in:
parent
f3420a50ac
commit
5909533161
@ -42,7 +42,7 @@ from uds.core.util import connection
|
||||
import logging
|
||||
import os
|
||||
|
||||
__updated__ = '2018-02-15'
|
||||
__updated__ = '2018-03-21'
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@ -100,7 +100,7 @@ class BaseRDPTransport(Transport):
|
||||
wallpaper = gui.CheckBoxField(label=_('Wallpaper/theme'), order=32, tooltip=_('If checked, the wallpaper and themes will be shown on machine (better user experience, more bandwidth)'), tab=gui.DISPLAY_TAB)
|
||||
multimon = gui.CheckBoxField(label=_('Multiple monitors'), order=33, tooltip=_('If checked, all client monitors will be used for displaying (only works on windows clients)'), tab=gui.DISPLAY_TAB)
|
||||
aero = gui.CheckBoxField(label=_('Allow Desk.Comp.'), order=34, tooltip=_('If checked, desktop composition will be allowed'), tab=gui.DISPLAY_TAB)
|
||||
smooth = gui.CheckBoxField(label=_('Font Smoothing'), order=35, tooltip=_('If checked, fonts smoothing will be allowed (windows clients only)'), tab=gui.DISPLAY_TAB)
|
||||
smooth = gui.CheckBoxField(label=_('Font Smoothing'), order=35, tooltip=_('If checked, fonts smoothing will be allowed'), tab=gui.DISPLAY_TAB)
|
||||
|
||||
multimedia = gui.CheckBoxField(label=_('Multimedia sync'), order=40, tooltip=_('If checked. Linux client will use multimedia parameter for xfreerdp'), tab='Linux Client')
|
||||
alsa = gui.CheckBoxField(label=_('Use Alsa'), order=41, tooltip=_('If checked, Linux client will try to use ALSA, otherwise Pulse will be used'), tab='Linux Client')
|
||||
|
@ -39,7 +39,7 @@ from uds.core.util import OsDetector
|
||||
import six
|
||||
import shlex
|
||||
|
||||
__updated__ = '2017-12-21'
|
||||
__updated__ = '2018-03-21'
|
||||
|
||||
|
||||
class RDPFile(object):
|
||||
@ -153,6 +153,9 @@ class RDPFile(object):
|
||||
|
||||
params.append('/bpp:{}'.format(self.bpp))
|
||||
|
||||
if self.smoothFonts is True:
|
||||
params.append('+fonts')
|
||||
|
||||
# RDP Security is A MUST if no username nor password is provided
|
||||
# NLA requires USERNAME&PASSWORD previously
|
||||
forceRDPSecurity = False
|
||||
|
Loading…
Reference in New Issue
Block a user