1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/docker/scripts/xstartup_metacity.sh

11 lines
332 B
Bash
Raw Normal View History

#!/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} &