File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,21 @@ RUN git clone https://github.com/BenWibking/Amrvis.git Amrvis3D
3434COPY GNUmakefile Amrvis3D/GNUmakefile
3535RUN cd Amrvis3D && git checkout no-grab-server && make DIM=3 -j`nproc`
3636
37+ # # build window manager
38+ # RUN apt-get --yes -qq update && apt-get --yes -qq upgrade \
39+ # && apt-get --yes -qq install libxrandr-dev libxinerama-dev \
40+ # && apt-get --yes -qq clean \
41+ # && rm -rf /var/lib/apt/lists/*
42+ # RUN git clone https://github.com/alx210/emwm.git && cd emwm && make -j`nproc` && make install
43+ # COPY ./.Xresources /home/vscode/.Xresources
44+
3745# # copy settings
3846COPY .bashrc /home/vscode/.bashrc
3947COPY amrvis.defaults /home/vscode/.amrvis.defaults
4048COPY Palette /home/vscode/Palette
4149
4250# # configure X11 server
4351COPY ./xpra.conf /etc/xpra/xpra.conf
44- COPY ./.Xresources /home/vscode/.Xresources
4552COPY ./start_http_server.sh /home/vscode/start_http_server.sh
4653RUN mkdir -p /run/user/1000 && chown vscode /run/user/1000
4754ENV XDG_RUNTIME_DIR=/run/user/1000
Original file line number Diff line number Diff line change @@ -15,7 +15,11 @@ echo "************************************************************"
1515echo " "
1616echo " "
1717
18- xpra start --start-child=$EXE --bind-tcp=0.0.0.0:$PORT --ssl-cert=/etc/xpra/ssl-cert.pem --exit-with-children --no-daemon > xpra_logfile.txt 2>&1
18+ # use xpra as window manager
19+ xpra start --start-child=$EXE --bind-tcp=0.0.0.0:$PORT --ssl-cert=/etc/xpra/ssl-cert.pem --exit-with-children --no-daemon > xpra_logfile.txt 2>&1
20+ # use emwm as window manager (buggy)
21+ # xpra desktop --start-child=emwm --bind-tcp=0.0.0.0:$PORT --ssl-cert=/etc/xpra/ssl-cert.pem --exit-with-children --no-daemon > xpra_logfile.txt 2>&1
22+
1923wait $!
2024
2125# # open your web browser to http://localhost:$PORT
You can’t perform that action at this time.
0 commit comments