- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Is it even possible to install CShell (cshell_install.sh) inside Docker on build stage?
My Dockerfile currently looks like this, SNX has been installed without any issues, but CShell installation gives errors, so is it even possible to install it like this:
FROM scottyhardy/docker-remote-desktop:ubuntu-20.04
# Install SNX required dependencies
RUN dpkg --add-architecture i386 \
&& apt-get update \
&& DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
libpam0g:i386 \
libx11-6:i386 \
libstdc++6:i386 \
libstdc++5:i386 \
libnss3-tools \
xterm \
curl \
default-jdk \
&& rm -rf /var/lib/apt/lists/*
# Install SNX
ADD scripts/snx_install.sh /root
RUN bash -x ./root/snx_install.sh
# Install CShell
#ADD scripts/cshell_install.sh /root
#RUN bash -x ./root/cshell_install.sh -s
Thank you!
xhost is a CLI command used to control access to the underlying X windows server on Linux systems.
Since cshell ultimately displays a Window, the xhost command is run to ensure it can do so.
This command is not returning the expected result when run inside your Docker container.
Pretty sure this is not a scenario that has been QAed.
What are the precise errors that occur?
Error from Docker build:
> [6/6] RUN bash -x ./root/cshell_install.sh:
#10 0.176 + ARCHIVE_OFFSET=884
#10 0.176 + FULL_PRODUCT_NAME='Check Point Mobile Access Portal Agent'
#10 0.176 + SHORT_PRODUCT_NAME='Mobile Access Portal Agent'
#10 0.176 + INSTALL_DIR=/usr/bin/cshell
#10 0.176 + INSTALL_CERT_DIR=/usr/bin/cshell/cert
#10 0.176 + BAD_CERT_FILE=/usr/bin/cshell/cert/.BadCertificate
#10 0.176 + PATH_TO_JAR=/usr/bin/cshell/CShell.jar
#10 0.177 + AUTOSTART_DIR=
#10 0.177 + USER_NAME=
#10 0.177 + CERT_DIR=/etc/ssl/certs
#10 0.177 + CERT_NAME=CShell_Certificate
#10 0.177 + LOGS_DIR=/var/log/cshell
#10 0.178 + trap cleanupOnTrap 2
#10 0.178 + trap cleanupOnTrap 3
#10 0.178 + trap cleanupOnTrap 13
#10 0.178 + trap cleanupOnTrap 15
#10 0.178 + CLEAN_ALL_ON_TRAP=0
#10 0.179 ++ GetUserName
#10 0.179 +++ who
#10 0.179 +++ head -n 1
#10 0.180 +++ awk '{print $1}'
#10 0.181 ++ user_name=
#10 0.181 ++ echo
#10 0.181 + USER_NAME=
#10 0.182 ++ xhost
#10 0.182 ++ grep -Fi localuser:
#10 0.183 xhost: unable to open display ""
#10 0.184 + line=
#10 0.184 + '[' -z '' ']'
#10 0.184 + xhost +si:localuser:
#10 0.185 + res=1
#10 0.185 + '[' 1 '!=' 0 ']'
#10 0.185 + echo 'Please add "root" and "" to X11 access list'
#10 0.185 + exit 1
#10 0.185 Please add "root" and "" to X11 access list
------
executor failed running [/bin/sh -c bash -x ./root/cshell_install.sh]: exit code: 1
xhost is a CLI command used to control access to the underlying X windows server on Linux systems.
Since cshell ultimately displays a Window, the xhost command is run to ensure it can do so.
This command is not returning the expected result when run inside your Docker container.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 8 | |
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY