Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'cje-production/dockerfiles/ubuntu-gtk3-metacity/18.04-gtk3.22/scripts/xstartup_metacity.sh')
-rw-r--r--cje-production/dockerfiles/ubuntu-gtk3-metacity/18.04-gtk3.22/scripts/xstartup_metacity.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/cje-production/dockerfiles/ubuntu-gtk3-metacity/18.04-gtk3.22/scripts/xstartup_metacity.sh b/cje-production/dockerfiles/ubuntu-gtk3-metacity/18.04-gtk3.22/scripts/xstartup_metacity.sh
new file mode 100644
index 000000000..eef5b2c61
--- /dev/null
+++ b/cje-production/dockerfiles/ubuntu-gtk3-metacity/18.04-gtk3.22/scripts/xstartup_metacity.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env /bin/sh
+
+[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
+[ -r ${HOME}/.Xresources ] && xrdb ${HOME}/.Xresources
+
+Xvnc ${DISPLAY} -geometry 1440x900 -depth 16 -dpi 100 -PasswordFile ${HOME}/.vnc/passwd &
+sleep 2
+xsetroot -solid grey
+vncconfig -iconic &
+xhost +
+metacity --replace --sm-disable --display=${DISPLAY} & \ No newline at end of file

Back to the top