mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-16 15:28:38 +00:00
perf: rdp 设置分辨率不生效问题
This commit is contained in:
@@ -87,7 +87,8 @@ class RDPFileClientProtocolURLMixin:
|
|||||||
if width and height:
|
if width and height:
|
||||||
rdp_options['desktopwidth:i'] = width
|
rdp_options['desktopwidth:i'] = width
|
||||||
rdp_options['desktopheight:i'] = height
|
rdp_options['desktopheight:i'] = height
|
||||||
rdp_options['winposstr:s:'] = f'0,1,0,0,{width},{height}'
|
rdp_options['winposstr:s'] = f'0,1,0,0,{width},{height}'
|
||||||
|
rdp_options['dynamic resolution:i'] = '0'
|
||||||
|
|
||||||
# 设置其他选项
|
# 设置其他选项
|
||||||
rdp_options['session bpp:i'] = os.getenv('JUMPSERVER_COLOR_DEPTH', '32')
|
rdp_options['session bpp:i'] = os.getenv('JUMPSERVER_COLOR_DEPTH', '32')
|
||||||
|
Reference in New Issue
Block a user