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. Guacamole
  3. 20.04 linode machine -> Cloudron + Guacamole -> RDP and VNC not working

20.04 linode machine -> Cloudron + Guacamole -> RDP and VNC not working

Scheduled Pinned Locked Moved Solved Guacamole
15 Posts 3 Posters 3.5k Views 3 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.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #5

    To be honest, I have never much used Guacamole myself so from the info in this thread I am also a bit lost giving further advice.

    From the last screenshot, does that indicate that you had an initial connection working fine but then it disconnected? If so can you check if the app as such was restarted maybe due to memory issues?

    1 Reply Last reply
    0
    • girishG girish moved this topic from Support on
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #6

      I did a test run of this.

      I first setup a VNC server per this guide . I ran the vncserver like so:

      root@vnc:~# vncserver -interface 0.0.0.0
      
      New 'X' desktop is vnc:1
      
      Starting applications specified in /root/.vnc/xstartup
      Log file is /root/.vnc/vnc:1.log
      

      Then, I tried to connect with Remmina (note the port number since it's display :1):

      64cf4353-16eb-4a07-9f3d-c18a36bc8a83-image.png

      I was able to connect after specifying the password.

      Next, I setup guacamole on Cloudron. I set protocol to VNC and then provided the below parameters:

      9826769d-4d63-4a12-9dc9-88d006800d7f-image.png

      That's it, it connects:

      94e6a24a-d9bf-442d-8821-0790dfda1b12-image.png

      J 1 Reply Last reply
      0
      • J JakeTheGinge

        So after a few hours i cant seem to get RDP and VNC work.

        For RDP it says: "The remote desktop server is currently unreachable."
        (Yes i ignored certificate and tried different securities)

        For VNC it says: "The remote desktop server is currently unreachable."

        Host is filled correctly
        Domain is setup fine and filled out correct with cloud flare
        Any advice would be super helpful because im doing exactly what the videos say to do and it doesn't work 😞

        Logs for RDP: 412bc3c5-1be6-444a-8a6d-e30299f2294e-image.png

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #7

        @JakeTheGinge The issue shouldn't be cloudflare related . Are you able to connect via VNC without guacamole? Are you able to connect with a simple telnet <ip> <port> from your Cloudron server?

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

          I was able to get RDP working as well.

          • Install RDP server as per https://hands-on.cloud/how-to-set-up-remote-desktop-on-ubuntu-xrdp/ . I set it up with snake oil certs as described.

          • Remmina connection worked:
            1cda6d5f-9087-4ecc-852b-e353d134ecce-image.png

          • Guac configuration (ignore server cert is needed because of snake oil cert):
            1ef45532-a978-4171-b20d-a2d313d94126-image.png

          • Connection works
            4ef22167-9a61-4b2c-8c45-a7d81e6e28ef-image.png

          1 Reply Last reply
          0
          • girishG girish

            I did a test run of this.

            I first setup a VNC server per this guide . I ran the vncserver like so:

            root@vnc:~# vncserver -interface 0.0.0.0
            
            New 'X' desktop is vnc:1
            
            Starting applications specified in /root/.vnc/xstartup
            Log file is /root/.vnc/vnc:1.log
            

            Then, I tried to connect with Remmina (note the port number since it's display :1):

            64cf4353-16eb-4a07-9f3d-c18a36bc8a83-image.png

            I was able to connect after specifying the password.

            Next, I setup guacamole on Cloudron. I set protocol to VNC and then provided the below parameters:

            9826769d-4d63-4a12-9dc9-88d006800d7f-image.png

            That's it, it connects:

            94e6a24a-d9bf-442d-8821-0790dfda1b12-image.png

            J Offline
            J Offline
            JakeTheGinge
            wrote on last edited by
            #9

            @girish Alright so i got VNC working, it was the "vncserver -interface 0.0.0.0" that fixed it..... it wasn't in the guide, how did you know? and what does it mean?

            Obviously I'll research this.

            Onto RDP now, will update you on that... thankyou very much for helping me get some progress. Sucks being that close to the answer but thanks.

            girishG 1 Reply Last reply
            0
            • girishG girish has marked this topic as solved on
            • J JakeTheGinge

              @girish Alright so i got VNC working, it was the "vncserver -interface 0.0.0.0" that fixed it..... it wasn't in the guide, how did you know? and what does it mean?

              Obviously I'll research this.

              Onto RDP now, will update you on that... thankyou very much for helping me get some progress. Sucks being that close to the answer but thanks.

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #10

              @JakeTheGinge said in 20.04 linode machine -> Cloudron + Guacamole -> RDP and VNC not working:

              @girish Alright so i got VNC working, it was the "vncserver -interface 0.0.0.0" that fixed it..... it wasn't in the guide, how did you know? and what does it mean?

              0.0.0.0 means to listen all IP addresses. Without it, vnc server only listens on localhost.

              J 1 Reply Last reply
              0
              • girishG girish

                @JakeTheGinge said in 20.04 linode machine -> Cloudron + Guacamole -> RDP and VNC not working:

                @girish Alright so i got VNC working, it was the "vncserver -interface 0.0.0.0" that fixed it..... it wasn't in the guide, how did you know? and what does it mean?

                0.0.0.0 means to listen all IP addresses. Without it, vnc server only listens on localhost.

                J Offline
                J Offline
                JakeTheGinge
                wrote on last edited by JakeTheGinge
                #11

                @girish RDP might be close, but when i enable UFW firewall.. it blocks guacamole from loading

                Yes i enabled 80, 443, 4822, 3389, 8080, https, http, 22, ssh so on etc

                doesn't want to load when enabled 😕

                RDP is working outside of guacamole though, which is a good sign atleast

                girishG 1 Reply Last reply
                0
                • J JakeTheGinge

                  @girish RDP might be close, but when i enable UFW firewall.. it blocks guacamole from loading

                  Yes i enabled 80, 443, 4822, 3389, 8080, https, http, 22, ssh so on etc

                  doesn't want to load when enabled 😕

                  RDP is working outside of guacamole though, which is a good sign atleast

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #12

                  @JakeTheGinge Are you enabling all these ports on Cloudron or on the RDP/VNC server? Cloudron+Guacamole server doesn't need anything other than http and https as such. You don't have and shouldn't run ufw as well.

                  J 1 Reply Last reply
                  0
                  • girishG girish

                    @JakeTheGinge Are you enabling all these ports on Cloudron or on the RDP/VNC server? Cloudron+Guacamole server doesn't need anything other than http and https as such. You don't have and shouldn't run ufw as well.

                    J Offline
                    J Offline
                    JakeTheGinge
                    wrote on last edited by JakeTheGinge
                    #13

                    @girish alright so i dont need UFW?

                    I can now get to the RDP login screen, once i login it it disconnect, if i type wrong credentials then it asks to login again
                    https://gyazo.com/7275514f10d2bee62619d274594fb161

                    girishG 1 Reply Last reply
                    0
                    • J JakeTheGinge

                      @girish alright so i dont need UFW?

                      I can now get to the RDP login screen, once i login it it disconnect, if i type wrong credentials then it asks to login again
                      https://gyazo.com/7275514f10d2bee62619d274594fb161

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #14

                      @JakeTheGinge Maybe you are hitting https://askubuntu.com/questions/1308551/xrdp-disconnects-immediately-after-correct-credentials (there's some comment here that xfce works but not gnome). Also, see https://c-nergy.be/blog/?p=16698 .

                      In any case, I am pretty sure, this is not networking related at this point since you are able to connect.

                      J 1 Reply Last reply
                      0
                      • girishG girish

                        @JakeTheGinge Maybe you are hitting https://askubuntu.com/questions/1308551/xrdp-disconnects-immediately-after-correct-credentials (there's some comment here that xfce works but not gnome). Also, see https://c-nergy.be/blog/?p=16698 .

                        In any case, I am pretty sure, this is not networking related at this point since you are able to connect.

                        J Offline
                        J Offline
                        JakeTheGinge
                        wrote on last edited by
                        #15

                        @girish I'm all good now, thanks for the help.

                        Sorry if I annoyed you, rdp and vnc are working.

                        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