1
0
mirror of https://github.com/fcwu/docker-ubuntu-vnc-desktop synced 2026-08-05 16:12:41 +02:00

Have resolution updates use color depth of 24

This commit is contained in:
Robert Hoffmann
2020-07-06 12:55:16 +02:00
committed by GitHub
parent 3c7b6dd70c
commit beb25ee06a
@@ -65,7 +65,7 @@ class State(object):
'sed -i \'s#' 'sed -i \'s#'
'^exec /usr/bin/Xvfb.*$' '^exec /usr/bin/Xvfb.*$'
'#' '#'
'exec /usr/bin/Xvfb :1 -screen 0 {}x{}x16' 'exec /usr/bin/Xvfb :1 -screen 0 {}x{}x24'
'#\' /usr/local/bin/xvfb.sh' '#\' /usr/local/bin/xvfb.sh'
).format(w, h), shell=True) ).format(w, h), shell=True)
self.size_changed_count += 1 self.size_changed_count += 1