<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="DejaVu Sans Mono">Hi, <br>
      <br>
      I just tried to run Squeak on a server where I don't have root
      access.<br>
      <br>
      I made a patch, in case somebody else need it, it is very short,
      file paste is at the bottom. <br>
      <br>
      Procedure:<br>
      1] Download Squeak for Linux 5.2b (x64) from here:
      <a class="moz-txt-link-freetext" href="https://squeak.org/downloads/">https://squeak.org/downloads/</a><br>
      2] Unzip<br>
      3] Enter into the Squeak5.2-18229-64bit-201810190412-Linux
      directory<br>
      4] create file called squeak-non-root.patch and copy/paste into it
      what is at the bottom.<br>
      5] Run this commands:<br>
      $> cp squeak.sh squeak-original.sh<br>
      $> patch squeak.sh < squeak-non-root.patch<br>
      $> ./squeak.sh<br>
      (create the squeak.conf file locally)<br>
      $> ./squeak.sh<br>
      (finally run squeak)<br>
      <br>
      This was tested in a Linux server of type: <br>
      $> cat /etc/redhat-release<br>
      Red Hat Enterprise Linux Server release 7.6 (Maipo)<br>
      <br>
      <br>
      bye<br>
      Nicola<br>
      <br>
      <br>
      ---------- squeak-non-root.patch ---------------<br>
      --- squeak.sh   2019-08-06 18:10:53.506682095 -0700<br>
      +++ squeak-new.sh       2019-08-06 18:15:25.078089873 -0700<br>
      @@ -10,7 +10,8 @@<br>
       ROOT=$(dirname "${DIR}") #obtain dir of the resolved path<br>
       VM="${ROOT}/bin/squeak"<br>
       RESOURCES="${ROOT}/shared"<br>
      -CONF_FILE="/etc/security/limits.d/squeak.conf"<br>
      +# CONF_FILE="/etc/security/limits.d/squeak.conf"<br>
      +CONF_FILE="${ROOT}/shared/squeak.conf"<br>
       IMAGE=$*<br>
       <br>
       showerror() {<br>
      @@ -52,15 +53,17 @@<br>
       ensure_conf_file() {<br>
         local user_input<br>
         if ! [[ -f "${CONF_FILE}" ]]; then<br>
      -    read -p "${CONF_FILE} is missing. Do you want to create one?<br>
      -This operation requires sudo permissions. (y/N): " user_input<br>
      +    read -p "${CONF_FILE} is missing. <br>
      +Do you want to create one? (y/N): " user_input<br>
           if [[ "${user_input}" = "y" ]]; then<br>
      -      echo "You may be asked to enter your password..."<br>
      -      sudo tee -a "${CONF_FILE}" > /dev/null <<END<br>
      +      # echo "You may be asked to enter your password..."<br>
      +      # sudo tee -a "${CONF_FILE}" > /dev/null <<END<br>
      +      tee -a "${CONF_FILE}" > /dev/null <<END<br>
       *       hard    rtprio  2<br>
       *       soft    rtprio  2<br>
       END<br>
      -      echo "Done! Please log out and log back in before you try
      again."<br>
      +      # echo "Done! Please log out and log back in before you try
      again."<br>
      +      echo "Done!"<br>
           else<br>
      ------------------------------------------------<br>
      <br>
    </font>
  </body>
</html>