@@ -74,29 +74,29 @@ def _get_random_alphanumeric_string(length):
74
74
75
75
# create command
76
76
cmd = [os .path .join (HERE , 'share/launch_xpra.sh' ),
77
- 'start' ,
78
- '--html=on' ,
79
- '--bind-tcp=0.0.0.0:{port}' ,
80
- # '--socket-dir="' + socket_path + '/"', fixme: socket_dir not recognized
81
- '--server-idle-timeout=86400' , # stop server after 24h with no client connection
82
- '--start=xterm' ,
83
- # '--start-child=xterm', '--exit-with-children',
84
- # '--tcp-auth=file:filename=' + fpath_passwd,
85
- # '--tcp-encryption=AES',
86
- # '--tcp-encryption-keyfile=' + fpath_aeskey,
87
- '--clipboard-direction=both' ,
88
- '--no-bell' ,
89
- '--no-speaker' ,
90
- '--no-printing' ,
91
- '--no-microphone' ,
92
- '--no-notifications' ,
93
- '--dpi=96' ,
94
- # '--sharing',
77
+ 'start' ,
78
+ '--html=on' ,
79
+ '--bind-tcp=0.0.0.0:{port}' ,
80
+ # '--socket-dir="' + socket_path + '/"', # fixme: socket_dir not recognized
81
+ '--server-idle-timeout=86400' , # stop server after 24h with no client connection
82
+ '--start=xterm' ,
83
+ # '--start-child=xterm', '--exit-with-children',
84
+ # '--tcp-auth=file:filename=' + fpath_passwd,
85
+ # '--tcp-encryption=AES',
86
+ # '--tcp-encryption-keyfile=' + fpath_aeskey,
87
+ '--clipboard-direction=both' ,
88
+ '--no-bell' ,
89
+ '--no-speaker' ,
90
+ '--no-printing' ,
91
+ '--no-microphone' ,
92
+ '--no-notifications' ,
93
+ '--dpi=96' ,
94
+ # '--sharing',
95
95
]
96
96
logger .info ('Xpra command: ' + ' ' .join (cmd ))
97
97
98
98
return {
99
- 'environment' : { # as '--socket-dir' does not work as expected, we set this
99
+ 'environment' : { # as '--socket-dir' does not work as expected, we set this
100
100
'XDG_RUNTIME_DIR' : socket_path ,
101
101
},
102
102
'command' : cmd ,
0 commit comments