Tight VNC server and Gucamole










-1















I have a VM in which I installed the VNC server (TightVNC) using the link : https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04



It is installed successfully and I can see the port 5901 running



/etc/tigervnc$ netstat -tulpn
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:5901 0.0.0.0:* LISTEN 16460/Xtigervnc
tcp 0 0 127.0.0.1:5902 0.0.0.0:* LISTEN 16183/Xtigervnc
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
tcp6 0 0 ::1:5901 :::* LISTEN 16460/Xtigervnc
tcp6 0 0 ::1:5902 :::* LISTEN 16183/Xtigervnc
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 ::1:631 :::* LISTEN -
udp 0 0 0.0.0.0:36618 0.0.0.0:* -
udp 29184 0 127.0.0.53:53 0.0.0.0:* -
udp 0 0 0.0.0.0:68 0.0.0.0:* -
udp 0 0 0.0.0.0:631 0.0.0.0:* -
udp 7680 0 0.0.0.0:5353 0.0.0.0:* -
udp6 0 0 :::37372 :::* -
udp6 20736 0 :::5353 :::*


Now from my local machine, I tried to do the port binding to my local from VM (as per the link https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04)



ssh -L 5901:127.0.0.1:5901 -C -N -l test 172.1.1.1


In my local machine, I able to see the port is binded to 5901



/etc/guacamole$ fuser 5901/tcp
5901/tcp: 22049


Now when I try to take the VNC connection using 127.0.0.1:5901, It promopts for VM's password and shows only the blank page.



enter image description here



Could someone help me with this?



Thanks,
Hari










share|improve this question

















  • 1





    Stack Overflow is for programming questions, not questions about using or configuring Linux and its applications. Super User or Unix & Linux would be better places for questions like this.

    – Barmar
    Nov 15 '18 at 21:26















-1















I have a VM in which I installed the VNC server (TightVNC) using the link : https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04



It is installed successfully and I can see the port 5901 running



/etc/tigervnc$ netstat -tulpn
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:5901 0.0.0.0:* LISTEN 16460/Xtigervnc
tcp 0 0 127.0.0.1:5902 0.0.0.0:* LISTEN 16183/Xtigervnc
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
tcp6 0 0 ::1:5901 :::* LISTEN 16460/Xtigervnc
tcp6 0 0 ::1:5902 :::* LISTEN 16183/Xtigervnc
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 ::1:631 :::* LISTEN -
udp 0 0 0.0.0.0:36618 0.0.0.0:* -
udp 29184 0 127.0.0.53:53 0.0.0.0:* -
udp 0 0 0.0.0.0:68 0.0.0.0:* -
udp 0 0 0.0.0.0:631 0.0.0.0:* -
udp 7680 0 0.0.0.0:5353 0.0.0.0:* -
udp6 0 0 :::37372 :::* -
udp6 20736 0 :::5353 :::*


Now from my local machine, I tried to do the port binding to my local from VM (as per the link https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04)



ssh -L 5901:127.0.0.1:5901 -C -N -l test 172.1.1.1


In my local machine, I able to see the port is binded to 5901



/etc/guacamole$ fuser 5901/tcp
5901/tcp: 22049


Now when I try to take the VNC connection using 127.0.0.1:5901, It promopts for VM's password and shows only the blank page.



enter image description here



Could someone help me with this?



Thanks,
Hari










share|improve this question

















  • 1





    Stack Overflow is for programming questions, not questions about using or configuring Linux and its applications. Super User or Unix & Linux would be better places for questions like this.

    – Barmar
    Nov 15 '18 at 21:26













-1












-1








-1








I have a VM in which I installed the VNC server (TightVNC) using the link : https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04



It is installed successfully and I can see the port 5901 running



/etc/tigervnc$ netstat -tulpn
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:5901 0.0.0.0:* LISTEN 16460/Xtigervnc
tcp 0 0 127.0.0.1:5902 0.0.0.0:* LISTEN 16183/Xtigervnc
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
tcp6 0 0 ::1:5901 :::* LISTEN 16460/Xtigervnc
tcp6 0 0 ::1:5902 :::* LISTEN 16183/Xtigervnc
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 ::1:631 :::* LISTEN -
udp 0 0 0.0.0.0:36618 0.0.0.0:* -
udp 29184 0 127.0.0.53:53 0.0.0.0:* -
udp 0 0 0.0.0.0:68 0.0.0.0:* -
udp 0 0 0.0.0.0:631 0.0.0.0:* -
udp 7680 0 0.0.0.0:5353 0.0.0.0:* -
udp6 0 0 :::37372 :::* -
udp6 20736 0 :::5353 :::*


Now from my local machine, I tried to do the port binding to my local from VM (as per the link https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04)



ssh -L 5901:127.0.0.1:5901 -C -N -l test 172.1.1.1


In my local machine, I able to see the port is binded to 5901



/etc/guacamole$ fuser 5901/tcp
5901/tcp: 22049


Now when I try to take the VNC connection using 127.0.0.1:5901, It promopts for VM's password and shows only the blank page.



enter image description here



Could someone help me with this?



Thanks,
Hari










share|improve this question














I have a VM in which I installed the VNC server (TightVNC) using the link : https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04



It is installed successfully and I can see the port 5901 running



/etc/tigervnc$ netstat -tulpn
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:5901 0.0.0.0:* LISTEN 16460/Xtigervnc
tcp 0 0 127.0.0.1:5902 0.0.0.0:* LISTEN 16183/Xtigervnc
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
tcp6 0 0 ::1:5901 :::* LISTEN 16460/Xtigervnc
tcp6 0 0 ::1:5902 :::* LISTEN 16183/Xtigervnc
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 ::1:631 :::* LISTEN -
udp 0 0 0.0.0.0:36618 0.0.0.0:* -
udp 29184 0 127.0.0.53:53 0.0.0.0:* -
udp 0 0 0.0.0.0:68 0.0.0.0:* -
udp 0 0 0.0.0.0:631 0.0.0.0:* -
udp 7680 0 0.0.0.0:5353 0.0.0.0:* -
udp6 0 0 :::37372 :::* -
udp6 20736 0 :::5353 :::*


Now from my local machine, I tried to do the port binding to my local from VM (as per the link https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04)



ssh -L 5901:127.0.0.1:5901 -C -N -l test 172.1.1.1


In my local machine, I able to see the port is binded to 5901



/etc/guacamole$ fuser 5901/tcp
5901/tcp: 22049


Now when I try to take the VNC connection using 127.0.0.1:5901, It promopts for VM's password and shows only the blank page.



enter image description here



Could someone help me with this?



Thanks,
Hari







linux ubuntu vnc vnc-server tightvnc






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 15 '18 at 21:18









HarryHarry

8551337




8551337







  • 1





    Stack Overflow is for programming questions, not questions about using or configuring Linux and its applications. Super User or Unix & Linux would be better places for questions like this.

    – Barmar
    Nov 15 '18 at 21:26












  • 1





    Stack Overflow is for programming questions, not questions about using or configuring Linux and its applications. Super User or Unix & Linux would be better places for questions like this.

    – Barmar
    Nov 15 '18 at 21:26







1




1





Stack Overflow is for programming questions, not questions about using or configuring Linux and its applications. Super User or Unix & Linux would be better places for questions like this.

– Barmar
Nov 15 '18 at 21:26





Stack Overflow is for programming questions, not questions about using or configuring Linux and its applications. Super User or Unix & Linux would be better places for questions like this.

– Barmar
Nov 15 '18 at 21:26












2 Answers
2






active

oldest

votes


















-1














edit your ~/.vnc/xstartup file thus:



#!/bin/sh

startxfce4 &


I had the same problem and this solved it



For reference i got it from here:
https://www.raspberrypi.org/forums/viewtopic.php?t=52557






share|improve this answer






























    -2














    You can also try killing and restarting your VNC server



    kill $(pgrep Xvnc)
    vncserver



    Are you trying to VNC from the local machine to the local machine? I am assuming just for testing correct?



    If you are not getting a rejection, at least it should be talking to the service.






    share|improve this answer






















      Your Answer






      StackExchange.ifUsing("editor", function ()
      StackExchange.using("externalEditor", function ()
      StackExchange.using("snippets", function ()
      StackExchange.snippets.init();
      );
      );
      , "code-snippets");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "1"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53328028%2ftight-vnc-server-and-gucamole%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      -1














      edit your ~/.vnc/xstartup file thus:



      #!/bin/sh

      startxfce4 &


      I had the same problem and this solved it



      For reference i got it from here:
      https://www.raspberrypi.org/forums/viewtopic.php?t=52557






      share|improve this answer



























        -1














        edit your ~/.vnc/xstartup file thus:



        #!/bin/sh

        startxfce4 &


        I had the same problem and this solved it



        For reference i got it from here:
        https://www.raspberrypi.org/forums/viewtopic.php?t=52557






        share|improve this answer

























          -1












          -1








          -1







          edit your ~/.vnc/xstartup file thus:



          #!/bin/sh

          startxfce4 &


          I had the same problem and this solved it



          For reference i got it from here:
          https://www.raspberrypi.org/forums/viewtopic.php?t=52557






          share|improve this answer













          edit your ~/.vnc/xstartup file thus:



          #!/bin/sh

          startxfce4 &


          I had the same problem and this solved it



          For reference i got it from here:
          https://www.raspberrypi.org/forums/viewtopic.php?t=52557







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 15 '18 at 21:33









          FedericoFederico

          22




          22























              -2














              You can also try killing and restarting your VNC server



              kill $(pgrep Xvnc)
              vncserver



              Are you trying to VNC from the local machine to the local machine? I am assuming just for testing correct?



              If you are not getting a rejection, at least it should be talking to the service.






              share|improve this answer



























                -2














                You can also try killing and restarting your VNC server



                kill $(pgrep Xvnc)
                vncserver



                Are you trying to VNC from the local machine to the local machine? I am assuming just for testing correct?



                If you are not getting a rejection, at least it should be talking to the service.






                share|improve this answer

























                  -2












                  -2








                  -2







                  You can also try killing and restarting your VNC server



                  kill $(pgrep Xvnc)
                  vncserver



                  Are you trying to VNC from the local machine to the local machine? I am assuming just for testing correct?



                  If you are not getting a rejection, at least it should be talking to the service.






                  share|improve this answer













                  You can also try killing and restarting your VNC server



                  kill $(pgrep Xvnc)
                  vncserver



                  Are you trying to VNC from the local machine to the local machine? I am assuming just for testing correct?



                  If you are not getting a rejection, at least it should be talking to the service.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 15 '18 at 22:16









                  Wesley StewartWesley Stewart

                  1




                  1



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53328028%2ftight-vnc-server-and-gucamole%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Top Tejano songwriter Luis Silva dead of heart attack at 64

                      政党

                      天津地下鉄3号線