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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Guacamole TOTP/2FA

Scheduled Pinned Locked Moved Solved Guacamole
10 Posts 5 Posters 1.2k Views
    • 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 Offline
    B Offline
    Beionuo
    wrote on last edited by girish
    #1

    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.

    nebulonN 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to ptahbe on last edited by girish
    #0

    @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
    1
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to Beionuo on last edited by
    #2

    @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
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #3

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

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #4

    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
    0
  • N Offline
    N Offline
    n8johnson
    wrote on last edited by
    #5

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

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to n8johnson on last edited by
    #6

    @n8johnson are you still facing this problem?

    1 Reply Last reply
    0
  • B Offline
    B Offline
    Beionuo
    wrote on last edited by
    #7

    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?

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to Beionuo on last edited by
    #8

    @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
    0
  • P Offline
    P Offline
    ptahbe
    replied to girish on last edited by
    #9

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

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to ptahbe on last edited by girish
    #10

    @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
    1
  • girishG girish marked this topic as a question on
  • girishG girish has marked this topic as solved on

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.