mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-30 20:13:20 +01:00
vncserver: spec creates password file
This commit is contained in:
parent
7cb1ea9ebc
commit
d8bbb9884d
@ -5,6 +5,9 @@ from expects import expect, equal
|
|||||||
|
|
||||||
with description('vncserver') as self:
|
with description('vncserver') as self:
|
||||||
with it('selects passed DE with -s'):
|
with it('selects passed DE with -s'):
|
||||||
|
subprocess.run('echo -e "password\\npassword\\n" | vncpasswd -u docker',
|
||||||
|
shell=True, text=True, executable='/bin/bash')
|
||||||
|
|
||||||
cmd = 'vncserver :1 -select-de mate -cert /etc/ssl/certs/ssl-cert-snakeoil.pem -key /etc/ssl/private/ssl-cert-snakeoil.key -sslOnly -FrameRate=24 -interface 0.0.0.0 -httpd /usr/share/kasmvnc/www -depth 24 -geometry 1280x1050'
|
cmd = 'vncserver :1 -select-de mate -cert /etc/ssl/certs/ssl-cert-snakeoil.pem -key /etc/ssl/private/ssl-cert-snakeoil.key -sslOnly -FrameRate=24 -interface 0.0.0.0 -httpd /usr/share/kasmvnc/www -depth 24 -geometry 1280x1050'
|
||||||
try:
|
try:
|
||||||
completed_process = subprocess.run(cmd, shell=True, capture_output=True,
|
completed_process = subprocess.run(cmd, shell=True, capture_output=True,
|
||||||
|
Loading…
Reference in New Issue
Block a user