<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Is possible to install CShell in Docker in Endpoint</title>
    <link>https://community.checkpoint.com/t5/Endpoint/Is-possible-to-install-CShell-in-Docker/m-p/174678#M6707</link>
    <description>&lt;P&gt;xhost is a CLI command used to control access to the underlying X windows server on Linux systems.&lt;BR /&gt;Since cshell ultimately displays a Window, the xhost command is run to ensure it can do so.&lt;BR /&gt;This command is not returning the expected result when run inside your Docker container.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2023 23:21:49 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2023-03-13T23:21:49Z</dc:date>
    <item>
      <title>Is possible to install CShell in Docker</title>
      <link>https://community.checkpoint.com/t5/Endpoint/Is-possible-to-install-CShell-in-Docker/m-p/174547#M6697</link>
      <description>&lt;P&gt;Is it even possible to install CShell (&lt;FONT face="andale mono,times"&gt;cshell_install.sh&lt;/FONT&gt;) inside Docker on build stage?&lt;/P&gt;&lt;P&gt;My &lt;FONT face="andale mono,times"&gt;Dockerfile&lt;/FONT&gt; 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:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FROM scottyhardy/docker-remote-desktop:ubuntu-20.04

# Install SNX required dependencies
RUN dpkg --add-architecture i386 \
    &amp;amp;&amp;amp; apt-get update \
    &amp;amp;&amp;amp; 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 \
    &amp;amp;&amp;amp; 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&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 12:25:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Endpoint/Is-possible-to-install-CShell-in-Docker/m-p/174547#M6697</guid>
      <dc:creator>araksik</dc:creator>
      <dc:date>2023-03-13T12:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is possible to install CShell in Docker</title>
      <link>https://community.checkpoint.com/t5/Endpoint/Is-possible-to-install-CShell-in-Docker/m-p/174636#M6704</link>
      <description>&lt;P&gt;Pretty sure this is not a scenario that has been QAed.&lt;BR /&gt;What are the precise errors that occur?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 17:29:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Endpoint/Is-possible-to-install-CShell-in-Docker/m-p/174636#M6704</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-03-13T17:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is possible to install CShell in Docker</title>
      <link>https://community.checkpoint.com/t5/Endpoint/Is-possible-to-install-CShell-in-Docker/m-p/174641#M6705</link>
      <description>&lt;P&gt;Error from Docker build:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; &amp;gt; [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&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 13 Mar 2023 17:49:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Endpoint/Is-possible-to-install-CShell-in-Docker/m-p/174641#M6705</guid>
      <dc:creator>araksik</dc:creator>
      <dc:date>2023-03-13T17:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is possible to install CShell in Docker</title>
      <link>https://community.checkpoint.com/t5/Endpoint/Is-possible-to-install-CShell-in-Docker/m-p/174678#M6707</link>
      <description>&lt;P&gt;xhost is a CLI command used to control access to the underlying X windows server on Linux systems.&lt;BR /&gt;Since cshell ultimately displays a Window, the xhost command is run to ensure it can do so.&lt;BR /&gt;This command is not returning the expected result when run inside your Docker container.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 23:21:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Endpoint/Is-possible-to-install-CShell-in-Docker/m-p/174678#M6707</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-03-13T23:21:49Z</dc:date>
    </item>
  </channel>
</rss>

