Skip to content

Commit

Permalink
Swap x11vnc with tightvncserver
Browse files Browse the repository at this point in the history
Basically installed this because it can be used with pyvirtualdisplay as
a backend AND because it brings in the Xvnc tooling which will start an
X11 server as well as a VNC server.
  • Loading branch information
msheiny authored and redshiftzero committed Dec 21, 2018
1 parent d97d728 commit af16906
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion securedrop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apt-get update && \
apt-get install -y devscripts \
python-pip libpython2.7-dev libssl-dev secure-delete \
gnupg2 ruby redis-server git xvfb haveged curl \
gettext paxctl x11vnc enchant libffi-dev sqlite3 wget \
gettext paxctl tightvncserver enchant libffi-dev sqlite3 wget \
libasound2 libdbus-glib-1-2 libgtk2.0-0 libfontconfig1 libxrender1 \
libcairo-gobject2 libgtk-3-0 libstartup-notification0

Expand Down
2 changes: 1 addition & 1 deletion securedrop/bin/dev-deps
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function run_redis() {
}

function run_x11vnc() {
setsid x11vnc -display :1 -autoport 5901 -shared >& /tmp/x11vnc.out || cat /tmp/x11vnc.out
setsid Xvnc -depth 24 -geometry 1024x768 -rfbport 5901 :1 >& /tmp/x11vnc.out || cat /tmp/x11vnc.out
}

function urandom() {
Expand Down
1 change: 0 additions & 1 deletion securedrop/bin/run
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ source "${BASH_SOURCE%/*}/dev-deps"

run_xvfb &
run_redis &
run_x11vnc &
urandom
run_sass --watch &
maybe_create_config_py
Expand Down
1 change: 1 addition & 0 deletions securedrop/bin/run-test
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ set -euo pipefail
source "${BASH_SOURCE%/*}/dev-deps"

run_redis &
run_x11vnc &
urandom
run_sass --force --update
maybe_create_config_py
Expand Down

0 comments on commit af16906

Please sign in to comment.