Mercurial > hg > dml-home
comparison etc/setup_as_root.sh @ 84:ead9f95b0f97 dml-dockerised
back to switch
author | wolffd <wolffd.mail@googlemail.com> |
---|---|
date | Mon, 04 Jun 2018 18:36:28 +0100 |
parents | 1936b1b33a38 |
children | 87121da9c651 |
comparison
equal
deleted
inserted
replaced
83:1936b1b33a38 | 84:ead9f95b0f97 |
---|---|
3 | 3 |
4 HAVE_MATLAB=no | 4 HAVE_MATLAB=no |
5 SWI_GUI=no | 5 SWI_GUI=no |
6 SETUP_X=yes | 6 SETUP_X=yes |
7 HEADLESS=yes | 7 HEADLESS=yes |
8 DRY_RUN=no | 8 DRY_RUN=yes |
9 | 9 |
10 #if [ $# -gt 0 ]; then | 10 if [ $# -gt 0 ]; then |
11 # echo "Setting DRY_RUN to $1" 1>&2 | 11 echo "Setting DRY_RUN to $1" 1>&2 |
12 # DRY_RUN=$1 | 12 DRY_RUN=$1 |
13 #fi | 13 fi |
14 | 14 |
15 # If DRY_RUN=yes, then this script will do nothing, but will output the commands | 15 # If DRY_RUN=yes, then this script will do nothing, but will output the commands |
16 # it would have done to stdout. | 16 # it would have done to stdout. |
17 | 17 |
18 # ------------------- END OF CONFIGURATION PART ------------------ | 18 # ------------------- END OF CONFIGURATION PART ------------------ |
84 #$DO dpkg-reconfigure x11-common | 84 #$DO dpkg-reconfigure x11-common |
85 $DO sudo sed -i \ | 85 $DO sudo sed -i \ |
86 's/allowed_users=console/allowed_users=anybody/' /etc/X11/Xwrapper.config | 86 's/allowed_users=console/allowed_users=anybody/' /etc/X11/Xwrapper.config |
87 fi | 87 fi |
88 fi | 88 fi |
89 | 89 echo "ALL DONE" |