mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-25 09:33:50 +01:00
Rpm: run xterm w/o WM in CentOS 7 barebones test
This commit is contained in:
parent
5159cb9ae1
commit
6575bbe1b3
@ -1,7 +1,6 @@
|
|||||||
FROM centos:centos7
|
FROM centos:centos7
|
||||||
|
|
||||||
RUN yum install -y epel-release && yum install -y openbox xterm
|
RUN yum install -y xterm
|
||||||
RUN yum erase -y pm-utils xscreensaver*
|
|
||||||
RUN yum install -y vim less
|
RUN yum install -y vim less
|
||||||
|
|
||||||
ARG KASMVNC_PACKAGE_DIR
|
ARG KASMVNC_PACKAGE_DIR
|
||||||
@ -12,8 +11,7 @@ RUN useradd -m foo
|
|||||||
|
|
||||||
USER foo:kasmvnc
|
USER foo:kasmvnc
|
||||||
|
|
||||||
RUN mkdir -p ~/.config/openbox && echo xterm > ~/.config/openbox/autostart && chmod +x ~/.config/openbox/autostart
|
RUN mkdir ~/.vnc && echo '/usr/bin/xterm &' >> ~/.vnc/xstartup && \
|
||||||
RUN mkdir ~/.vnc && echo '/usr/bin/openbox-session &' >> ~/.vnc/xstartup && \
|
|
||||||
chmod +x ~/.vnc/xstartup
|
chmod +x ~/.vnc/xstartup
|
||||||
RUN echo bar | kasmvncpasswd -f > $HOME/.kasmpasswd && chmod 0600 $HOME/.kasmpasswd
|
RUN echo bar | kasmvncpasswd -f > $HOME/.kasmpasswd && chmod 0600 $HOME/.kasmpasswd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user