Browse Source

Merge pull request #11123 from jumpserver/pr@dev@fix_rdpfile

feat: rdp file 支持设置多屏显示
pull/11128/head
老广 1 year ago committed by GitHub
parent
commit
39d651dd9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      apps/authentication/api/connection_token.py

4
apps/authentication/api/connection_token.py

@ -64,6 +64,10 @@ class RDPFileClientProtocolURLMixin:
'use redirection server name:i': '0', 'use redirection server name:i': '0',
'smart sizing:i': '1', 'smart sizing:i': '1',
} }
# 设置多屏显示
multi_mon = is_true(self.request.query_params.get('multi_mon'))
if multi_mon:
rdp_options['use multimon:i'] = '1'
# 设置磁盘挂载 # 设置磁盘挂载
drives_redirect = is_true(self.request.query_params.get('drives_redirect')) drives_redirect = is_true(self.request.query_params.get('drives_redirect'))

Loading…
Cancel
Save