Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Guacamole TOTP/2FA

    Guacamole
    5
    10
    879
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Beionuo last edited by girish

      I want to install the totp extension for guacamole using the guide linked below.

      guide TOTP

      So i went to the cloudtron terminal and figured that the
      /etc/guacamole/extensions/ folder is actually the app/code/extensions/ folder.

      The filesystem is write-only and therefore I am unable to move the totp .jar file there.

      I am new to unix-based systems and afraid to break anything. I read about unmounting the filesystem and mount it with read-write permissions. After installing the extension I would unmount it again and mount it with read-only configured.

      Is this the right way to do it ?
      If not please provide me with advice on how to properly install the extension for cloudtron guacamole.

      Thank you all in advance and my apologies if this is a repeated question in the forum.

      nebulon 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @ptahbe last edited by girish

        @ptahbe

        1. https://apache.org/dyn/closer.lua/guacamole/1.4.0/binary/guacamole-auth-totp-1.4.0.tar.gz?action=download . Extract this file , it will contain a guacamole-auth-totp-1.4.0.jar .

        2. Open File manager and upload guacamole-auth-totp-1.4.0.jar into the extensions directory.

          a84abe6c-48e0-4371-a669-4006c96e7e04-image.png

        3. Restart the app. You can also do this from the "..." button above.

        4. Then, when you login, you will see:

          7a940d14-8ac0-423d-8be5-ad91774a1b1b-image.png

        1 Reply Last reply Reply Quote 0
        • nebulon
          nebulon Staff @Beionuo last edited by

          @beionuo I don't think the current Cloudron package supports extensions for guacamole to be installed as mentioned in your linked article. We have to see how common this is and if it makes more sense to maybe include a few common extensions into the package itself or if we make those possible to be installed later. Ideally we try to keep things as out-of-the-box as possible to avoid future breakage during updates.

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            Actually, extensions should work. Have you seen https://docs.cloudron.io/apps/guacamole/#extensions ?

            1 Reply Last reply Reply Quote 0
            • girish
              girish Staff last edited by

              There's also a threads in https://forum.cloudron.io/category/99/guacamole where I have explained how to setup 2FA.

              P 1 Reply Last reply Reply Quote 0
              • N
                n8johnson last edited by

                The extension isn't working for me. I've uploaded it and restarted the app. I still don't see the option.

                girish 1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff @n8johnson last edited by

                  @n8johnson are you still facing this problem?

                  1 Reply Last reply Reply Quote 0
                  • B
                    Beionuo last edited by

                    I totally forgot that i had a post here untill i screwed up my server by accident with no good backups and i had to do this all over again. (i had 2fa working before)

                    I started from scratch

                    For basic understanding
                    /app/data/extensions folder contains syslink files (shortcut) to read-only directories in -> /app/code/extensions/

                    The latter is where i wantto upload the totp jar file, but we cant because the filesystem is read-only.

                    #cd into /app/data/extensions

                    #download tarball
                    wget http://apache.mirror.digionline.de/guacamole/1.0.0/binary/guacamole-auth-totp-1.0.0.tar.gz

                    #extract the tarball
                    tar xvzf guacamole-auth-totp-1.0.0.tar.gz

                    here i lost it, i deleted the excessive folder containing files
                    and i am left with

                    /app/data/guacamole.properties

                    #/app/data/extensions/guacamole-auth-totp-1.0.0.jar

                    rebooted and nothing happened after login. I am positive that im logging in with admin account since there is no other. How could i forget to get this working?

                    girish 1 Reply Last reply Reply Quote 0
                    • girish
                      girish Staff @Beionuo last edited by

                      @beionuo Did you figure this out? You can use the Filemanager if you are having trouble with using the terminal commands.

                      1 Reply Last reply Reply Quote 0
                      • P
                        ptahbe @girish last edited by

                        @girish Do you have a link to the thread? I can't find it.

                        girish 1 Reply Last reply Reply Quote 0
                        • girish
                          girish Staff @ptahbe last edited by girish

                          @ptahbe

                          1. https://apache.org/dyn/closer.lua/guacamole/1.4.0/binary/guacamole-auth-totp-1.4.0.tar.gz?action=download . Extract this file , it will contain a guacamole-auth-totp-1.4.0.jar .

                          2. Open File manager and upload guacamole-auth-totp-1.4.0.jar into the extensions directory.

                            a84abe6c-48e0-4371-a669-4006c96e7e04-image.png

                          3. Restart the app. You can also do this from the "..." button above.

                          4. Then, when you login, you will see:

                            7a940d14-8ac0-423d-8be5-ad91774a1b1b-image.png

                          1 Reply Last reply Reply Quote 0
                          • Topic has been marked as a question  girish girish 
                          • Topic has been marked as solved  girish girish 
                          • First post
                            Last post
                          Powered by NodeBB