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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Packaging & Development
  3. Desktop App

Desktop App

Scheduled Pinned Locked Moved App Packaging & Development
46 Posts 10 Posters 6.5k Views 10 Watching
  • 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.
  • murgeroM Offline
    murgeroM Offline
    murgero
    App Dev
    wrote on last edited by murgero
    #1

    Cloudron App: FluxBox Desktop With FlatPak

    An app that gives you a full desktop in the browser.

    Screenshots:

    43b6abd5-d99f-4c9c-88a5-699596878e77-image.png 09080951-cbd5-48e0-bca6-9500d4df670a-image.png

    How to Use

    Other than pcmanfm, firefox, and xterm, most apps you will probably use will need to be installed via flatpak - this was done as flatpaks are isolated and easy to control where files install. Flatpaks allow me to keep the cloudron standard read-only file system and keep apps installed to the cloudron app in backups.

    To install an app, you simply install it's flatpak: flatpak --user install <path_to_pakref_file> or flatpak --user install flathub <packageID>

    Fluxbox is configured to open firefox normally or to flathub for easy download of flatpaks.

    Fluxbox (and the user session) run under the username desktop which has it's password disabled and su/sudo is not possible. This helps with security but also I've had trouble running stuff as root via the noVNC stuff (for now).

    VNC Also does not have a password on it - I don't think it's really needed (but can be applied if enough people ask) since this app is protected by the cloudron proxy (requires login to access the webapp)

    Warnings

    • I built the app, and although I am a trusted developer here, please note I DID NOT MAKE THE APP WITH SECURITY IN MIND.
    • This app is considered alpha-stages. It may crash, it may burn, it may take your first born.
    • Please PLEASE don't use this in production until it can be vetted by a few other people.

    Installing

    Once I get the package finalized I will push to cloudron's public git server for cloning 🙂

    --
    https://urgero.org
    ~ Professional Nerd. Freelance Programmer. ~

    timconsidineT vladimir.dV 3 Replies Last reply
    7
    • murgeroM Offline
      murgeroM Offline
      murgero
      App Dev
      wrote on last edited by
      #2

      Also, if anyone know's how to get flatpak working properly in cloudron's docker apps it would be great!

      --
      https://urgero.org
      ~ Professional Nerd. Freelance Programmer. ~

      1 Reply Last reply
      1
      • murgeroM murgero

        Cloudron App: FluxBox Desktop With FlatPak

        An app that gives you a full desktop in the browser.

        Screenshots:

        43b6abd5-d99f-4c9c-88a5-699596878e77-image.png 09080951-cbd5-48e0-bca6-9500d4df670a-image.png

        How to Use

        Other than pcmanfm, firefox, and xterm, most apps you will probably use will need to be installed via flatpak - this was done as flatpaks are isolated and easy to control where files install. Flatpaks allow me to keep the cloudron standard read-only file system and keep apps installed to the cloudron app in backups.

        To install an app, you simply install it's flatpak: flatpak --user install <path_to_pakref_file> or flatpak --user install flathub <packageID>

        Fluxbox is configured to open firefox normally or to flathub for easy download of flatpaks.

        Fluxbox (and the user session) run under the username desktop which has it's password disabled and su/sudo is not possible. This helps with security but also I've had trouble running stuff as root via the noVNC stuff (for now).

        VNC Also does not have a password on it - I don't think it's really needed (but can be applied if enough people ask) since this app is protected by the cloudron proxy (requires login to access the webapp)

        Warnings

        • I built the app, and although I am a trusted developer here, please note I DID NOT MAKE THE APP WITH SECURITY IN MIND.
        • This app is considered alpha-stages. It may crash, it may burn, it may take your first born.
        • Please PLEASE don't use this in production until it can be vetted by a few other people.

        Installing

        Once I get the package finalized I will push to cloudron's public git server for cloning 🙂

        timconsidineT Online
        timconsidineT Online
        timconsidine
        App Dev
        wrote on last edited by
        #3

        @murgero very interesting!

        1 Reply Last reply
        1
        • mehdiM Offline
          mehdiM Offline
          mehdi
          App Dev
          wrote on last edited by
          #4

          Doesn't flatpak use virtualization ? Using virtualization inside a virtualized env is always a pain ...

          murgeroM 1 Reply Last reply
          0
          • mehdiM mehdi

            Doesn't flatpak use virtualization ? Using virtualization inside a virtualized env is always a pain ...

            murgeroM Offline
            murgeroM Offline
            murgero
            App Dev
            wrote on last edited by
            #5

            @mehdi as far as I know it does not. It works normally in docker - but the filesystem restrictions cloudron puts on it's containers is a bottleneck for it. I got it to install apps but they won't load otherwise.

            --
            https://urgero.org
            ~ Professional Nerd. Freelance Programmer. ~

            1 Reply Last reply
            0
            • marcusquinnM Offline
              marcusquinnM Offline
              marcusquinn
              wrote on last edited by
              #6

              This looks brilliant - and we've been recently investigating other solutions towards this exact need for templated and managed VDIs:

              • https://wiki.x2go.org
              • https://www.opsi.org/

              Web Design https://www.evergreen.je
              Development https://brandlight.org
              Life https://marcusquinn.com

              1 Reply Last reply
              1
              • murgeroM murgero

                Cloudron App: FluxBox Desktop With FlatPak

                An app that gives you a full desktop in the browser.

                Screenshots:

                43b6abd5-d99f-4c9c-88a5-699596878e77-image.png 09080951-cbd5-48e0-bca6-9500d4df670a-image.png

                How to Use

                Other than pcmanfm, firefox, and xterm, most apps you will probably use will need to be installed via flatpak - this was done as flatpaks are isolated and easy to control where files install. Flatpaks allow me to keep the cloudron standard read-only file system and keep apps installed to the cloudron app in backups.

                To install an app, you simply install it's flatpak: flatpak --user install <path_to_pakref_file> or flatpak --user install flathub <packageID>

                Fluxbox is configured to open firefox normally or to flathub for easy download of flatpaks.

                Fluxbox (and the user session) run under the username desktop which has it's password disabled and su/sudo is not possible. This helps with security but also I've had trouble running stuff as root via the noVNC stuff (for now).

                VNC Also does not have a password on it - I don't think it's really needed (but can be applied if enough people ask) since this app is protected by the cloudron proxy (requires login to access the webapp)

                Warnings

                • I built the app, and although I am a trusted developer here, please note I DID NOT MAKE THE APP WITH SECURITY IN MIND.
                • This app is considered alpha-stages. It may crash, it may burn, it may take your first born.
                • Please PLEASE don't use this in production until it can be vetted by a few other people.

                Installing

                Once I get the package finalized I will push to cloudron's public git server for cloning 🙂

                vladimir.dV Offline
                vladimir.dV Offline
                vladimir.d
                wrote on last edited by
                #7

                @murgero We'd like to give it a try, could you share the app?

                murgeroM 1 Reply Last reply
                0
                • vladimir.dV vladimir.d

                  @murgero We'd like to give it a try, could you share the app?

                  murgeroM Offline
                  murgeroM Offline
                  murgero
                  App Dev
                  wrote on last edited by
                  #8

                  @vladimir-d Give me a PM, and I can share the repo privately for now

                  --
                  https://urgero.org
                  ~ Professional Nerd. Freelance Programmer. ~

                  marcusquinnM 1 Reply Last reply
                  1
                  • M Offline
                    M Offline
                    malvim
                    wrote on last edited by
                    #9

                    Wow, that's pretty neat!

                    I had seen someone running desktop apps as docker containers with web frontends. Found this with handbrake, for example, and it works pretty well: https://github.com/jlesage/docker-handbrake

                    Not sure if it's the same approach or if it can help you in any way, just thought I'd mention. I love this idea!

                    1 Reply Last reply
                    1
                    • murgeroM murgero

                      @vladimir-d Give me a PM, and I can share the repo privately for now

                      marcusquinnM Offline
                      marcusquinnM Offline
                      marcusquinn
                      wrote on last edited by
                      #10

                      @murgero Can you have a think about this; making a lite' and a loaded version?

                      • Lite: I'm thinking only needs a Browser. Perhaps Waterfox.net is leaner for this too.
                      • Loaded: Would have all the extra/common Apps pre-installed: Waterfox, Thunderbird, Vivaldi, Libre Office, Rocket Chat, Bitwarden, PDF Arranger, maybe some others.

                      Web Design https://www.evergreen.je
                      Development https://brandlight.org
                      Life https://marcusquinn.com

                      murgeroM 1 Reply Last reply
                      1
                      • marcusquinnM marcusquinn

                        @murgero Can you have a think about this; making a lite' and a loaded version?

                        • Lite: I'm thinking only needs a Browser. Perhaps Waterfox.net is leaner for this too.
                        • Loaded: Would have all the extra/common Apps pre-installed: Waterfox, Thunderbird, Vivaldi, Libre Office, Rocket Chat, Bitwarden, PDF Arranger, maybe some others.
                        murgeroM Offline
                        murgeroM Offline
                        murgero
                        App Dev
                        wrote on last edited by
                        #11

                        @marcusquinn Neat idea. However, Flatpak will allow users to install those apps as they need them. I think the only version I'll be making, for now, is a lite version. Right now it has a file manager, terminal, RDP Client (for thin client like purpose), and a text editor.

                        --
                        https://urgero.org
                        ~ Professional Nerd. Freelance Programmer. ~

                        marcusquinnM 1 Reply Last reply
                        1
                        • murgeroM murgero

                          @marcusquinn Neat idea. However, Flatpak will allow users to install those apps as they need them. I think the only version I'll be making, for now, is a lite version. Right now it has a file manager, terminal, RDP Client (for thin client like purpose), and a text editor.

                          marcusquinnM Offline
                          marcusquinnM Offline
                          marcusquinn
                          wrote on last edited by marcusquinn
                          #12

                          @murgero My world generally involves explaining the same thing to about 100 people, who then all have to do the same reliably.

                          Hence, I tend towards just do it for them to save the explanations, and thereon inevitable questions that there's not always time to answer or document.

                          @vladimir-d and I will help work on this though, and everything we do is for sharing back.

                          Thanks for the innovation with this, it could become very useful!

                          Web Design https://www.evergreen.je
                          Development https://brandlight.org
                          Life https://marcusquinn.com

                          1 Reply Last reply
                          1
                          • marcusquinnM Offline
                            marcusquinnM Offline
                            marcusquinn
                            wrote on last edited by
                            #13

                            Thinking out loud on if we'd be able to get ZorinOS 16 Pro Lite (based on Xfce Desktop) running with this methodology?

                            • https://blog.zorin.com/2021/12/08/zorin-os-16-lite-is-here/

                            Web Design https://www.evergreen.je
                            Development https://brandlight.org
                            Life https://marcusquinn.com

                            murgeroM 1 Reply Last reply
                            0
                            • marcusquinnM marcusquinn

                              Thinking out loud on if we'd be able to get ZorinOS 16 Pro Lite (based on Xfce Desktop) running with this methodology?

                              • https://blog.zorin.com/2021/12/08/zorin-os-16-lite-is-here/
                              murgeroM Offline
                              murgeroM Offline
                              murgero
                              App Dev
                              wrote on last edited by
                              #14

                              @marcusquinn It should be possible - but the idea here is to keep the UI as lite as possible, and Zorin, even the lite model, takes up a minimum of 2GB RAM. My current setup at the moment only needs 256 to 512

                              --
                              https://urgero.org
                              ~ Professional Nerd. Freelance Programmer. ~

                              marcusquinnM 1 Reply Last reply
                              1
                              • murgeroM murgero

                                @marcusquinn It should be possible - but the idea here is to keep the UI as lite as possible, and Zorin, even the lite model, takes up a minimum of 2GB RAM. My current setup at the moment only needs 256 to 512

                                marcusquinnM Offline
                                marcusquinnM Offline
                                marcusquinn
                                wrote on last edited by
                                #15

                                @murgero Nice - but OS RAM usage nowadays is pale in comparison to that of websites and apps, and we'll be throwing big dedicated servers at this if we can get it all doing what we need, probably budgeting 4-16GB RAM per concurrent user.

                                Plus, I really like ZorinOS, highly recommended! 🙂

                                Web Design https://www.evergreen.je
                                Development https://brandlight.org
                                Life https://marcusquinn.com

                                doodlemania2D murgeroM 2 Replies Last reply
                                2
                                • marcusquinnM marcusquinn

                                  @murgero Nice - but OS RAM usage nowadays is pale in comparison to that of websites and apps, and we'll be throwing big dedicated servers at this if we can get it all doing what we need, probably budgeting 4-16GB RAM per concurrent user.

                                  Plus, I really like ZorinOS, highly recommended! 🙂

                                  doodlemania2D Offline
                                  doodlemania2D Offline
                                  doodlemania2
                                  App Dev
                                  wrote on last edited by
                                  #16

                                  Also check out what Kasm is doing in this space - pretty slick!

                                  marcusquinnM 1 Reply Last reply
                                  2
                                  • marcusquinnM marcusquinn

                                    @murgero Nice - but OS RAM usage nowadays is pale in comparison to that of websites and apps, and we'll be throwing big dedicated servers at this if we can get it all doing what we need, probably budgeting 4-16GB RAM per concurrent user.

                                    Plus, I really like ZorinOS, highly recommended! 🙂

                                    murgeroM Offline
                                    murgeroM Offline
                                    murgero
                                    App Dev
                                    wrote on last edited by
                                    #17

                                    @marcusquinn You're always welcome to customize to your needs - this was made for me to use as more of a lack-of-workspace situation so I can RDP into a windows machine or simply open my email in a better webclient than my mobile client.

                                    --
                                    https://urgero.org
                                    ~ Professional Nerd. Freelance Programmer. ~

                                    marcusquinnM 1 Reply Last reply
                                    1
                                    • murgeroM murgero

                                      @marcusquinn You're always welcome to customize to your needs - this was made for me to use as more of a lack-of-workspace situation so I can RDP into a windows machine or simply open my email in a better webclient than my mobile client.

                                      marcusquinnM Offline
                                      marcusquinnM Offline
                                      marcusquinn
                                      wrote on last edited by
                                      #18

                                      @murgero Thanks. Just gave it a spin, and it is super fast, no problem watching YouTube videos at full framerate!

                                      Web Design https://www.evergreen.je
                                      Development https://brandlight.org
                                      Life https://marcusquinn.com

                                      murgeroM 1 Reply Last reply
                                      1
                                      • doodlemania2D doodlemania2

                                        Also check out what Kasm is doing in this space - pretty slick!

                                        marcusquinnM Offline
                                        marcusquinnM Offline
                                        marcusquinn
                                        wrote on last edited by
                                        #19

                                        @doodlemania2 Looks amazing - links for reference:

                                        • https://www.kasmweb.com/
                                        • https://hub.docker.com/u/kasmweb

                                        Web Design https://www.evergreen.je
                                        Development https://brandlight.org
                                        Life https://marcusquinn.com

                                        timconsidineT 1 Reply Last reply
                                        3
                                        • marcusquinnM marcusquinn

                                          @murgero Thanks. Just gave it a spin, and it is super fast, no problem watching YouTube videos at full framerate!

                                          murgeroM Offline
                                          murgeroM Offline
                                          murgero
                                          App Dev
                                          wrote on last edited by
                                          #20

                                          @marcusquinn If only I could get sound working properly lol

                                          Still working out a bunch of kinks like allowing users to change the resolution, sound, flatpak (for the advanced users) and so on

                                          --
                                          https://urgero.org
                                          ~ Professional Nerd. Freelance Programmer. ~

                                          marcusquinnM 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

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