Debian VNC goes black If I leave It open and I am inactive [closed]











up vote
-1
down vote

favorite












I am having trouble with my VNC Server. The server keeps giving me black screen If I leave the viewer in the background, and don't do anything on the server specifically. If this happens, I can no longer reconnect to my VNC, and I need to restart the server.
This is kinda annoying, and I couldn't find any solutions this time. Any help?
Here is how I launch my VNC on Debian 9.



vncserver -geometry 1920x1280 -depth 24 -localhost no -BlackListTimeout 12000









share|improve this question















closed as off-topic by Florian Diesch, guiverc, abu_bua, Pilot6, Zanna Nov 28 at 5:58


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Florian Diesch, guiverc, abu_bua, Pilot6, Zanna

If this question can be reworded to fit the rules in the help center, please edit the question.

















    up vote
    -1
    down vote

    favorite












    I am having trouble with my VNC Server. The server keeps giving me black screen If I leave the viewer in the background, and don't do anything on the server specifically. If this happens, I can no longer reconnect to my VNC, and I need to restart the server.
    This is kinda annoying, and I couldn't find any solutions this time. Any help?
    Here is how I launch my VNC on Debian 9.



    vncserver -geometry 1920x1280 -depth 24 -localhost no -BlackListTimeout 12000









    share|improve this question















    closed as off-topic by Florian Diesch, guiverc, abu_bua, Pilot6, Zanna Nov 28 at 5:58


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Florian Diesch, guiverc, abu_bua, Pilot6, Zanna

    If this question can be reworded to fit the rules in the help center, please edit the question.















      up vote
      -1
      down vote

      favorite









      up vote
      -1
      down vote

      favorite











      I am having trouble with my VNC Server. The server keeps giving me black screen If I leave the viewer in the background, and don't do anything on the server specifically. If this happens, I can no longer reconnect to my VNC, and I need to restart the server.
      This is kinda annoying, and I couldn't find any solutions this time. Any help?
      Here is how I launch my VNC on Debian 9.



      vncserver -geometry 1920x1280 -depth 24 -localhost no -BlackListTimeout 12000









      share|improve this question















      I am having trouble with my VNC Server. The server keeps giving me black screen If I leave the viewer in the background, and don't do anything on the server specifically. If this happens, I can no longer reconnect to my VNC, and I need to restart the server.
      This is kinda annoying, and I couldn't find any solutions this time. Any help?
      Here is how I launch my VNC on Debian 9.



      vncserver -geometry 1920x1280 -depth 24 -localhost no -BlackListTimeout 12000






      server remote-desktop vnc .desktop debian






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 25 at 10:57

























      asked Nov 25 at 9:56









      DreTaX

      132




      132




      closed as off-topic by Florian Diesch, guiverc, abu_bua, Pilot6, Zanna Nov 28 at 5:58


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Florian Diesch, guiverc, abu_bua, Pilot6, Zanna

      If this question can be reworded to fit the rules in the help center, please edit the question.




      closed as off-topic by Florian Diesch, guiverc, abu_bua, Pilot6, Zanna Nov 28 at 5:58


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Florian Diesch, guiverc, abu_bua, Pilot6, Zanna

      If this question can be reworded to fit the rules in the help center, please edit the question.






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          As stated here, you cannot VNC into a box that is sleeping.



          I'm guessing you have autologin enabled hence the ability to use it only after a restart.



          As referenced from there



          Your best bet is to install xrdp Install xrdp. After installation, you can use an RDP client to connect to the machine - you will then be prompted for your credentials as you would be on the login screen.

          Source: How to access an ubuntu machine via VNC from the login screen?



          ALTERNATIVE SOLUTION



          You can likewise configure the instance to not sleep after a couple minutes. This differs based on the distros Desktop Environment.



          My example is setting this up in the power menu for Ubuntu running Gnome.



          You'd set the blank screen time to never and disable autosuspend.



          Short sample of the power menu in ubuntu






          share|improve this answer




























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote



            accepted










            As stated here, you cannot VNC into a box that is sleeping.



            I'm guessing you have autologin enabled hence the ability to use it only after a restart.



            As referenced from there



            Your best bet is to install xrdp Install xrdp. After installation, you can use an RDP client to connect to the machine - you will then be prompted for your credentials as you would be on the login screen.

            Source: How to access an ubuntu machine via VNC from the login screen?



            ALTERNATIVE SOLUTION



            You can likewise configure the instance to not sleep after a couple minutes. This differs based on the distros Desktop Environment.



            My example is setting this up in the power menu for Ubuntu running Gnome.



            You'd set the blank screen time to never and disable autosuspend.



            Short sample of the power menu in ubuntu






            share|improve this answer

























              up vote
              0
              down vote



              accepted










              As stated here, you cannot VNC into a box that is sleeping.



              I'm guessing you have autologin enabled hence the ability to use it only after a restart.



              As referenced from there



              Your best bet is to install xrdp Install xrdp. After installation, you can use an RDP client to connect to the machine - you will then be prompted for your credentials as you would be on the login screen.

              Source: How to access an ubuntu machine via VNC from the login screen?



              ALTERNATIVE SOLUTION



              You can likewise configure the instance to not sleep after a couple minutes. This differs based on the distros Desktop Environment.



              My example is setting this up in the power menu for Ubuntu running Gnome.



              You'd set the blank screen time to never and disable autosuspend.



              Short sample of the power menu in ubuntu






              share|improve this answer























                up vote
                0
                down vote



                accepted







                up vote
                0
                down vote



                accepted






                As stated here, you cannot VNC into a box that is sleeping.



                I'm guessing you have autologin enabled hence the ability to use it only after a restart.



                As referenced from there



                Your best bet is to install xrdp Install xrdp. After installation, you can use an RDP client to connect to the machine - you will then be prompted for your credentials as you would be on the login screen.

                Source: How to access an ubuntu machine via VNC from the login screen?



                ALTERNATIVE SOLUTION



                You can likewise configure the instance to not sleep after a couple minutes. This differs based on the distros Desktop Environment.



                My example is setting this up in the power menu for Ubuntu running Gnome.



                You'd set the blank screen time to never and disable autosuspend.



                Short sample of the power menu in ubuntu






                share|improve this answer












                As stated here, you cannot VNC into a box that is sleeping.



                I'm guessing you have autologin enabled hence the ability to use it only after a restart.



                As referenced from there



                Your best bet is to install xrdp Install xrdp. After installation, you can use an RDP client to connect to the machine - you will then be prompted for your credentials as you would be on the login screen.

                Source: How to access an ubuntu machine via VNC from the login screen?



                ALTERNATIVE SOLUTION



                You can likewise configure the instance to not sleep after a couple minutes. This differs based on the distros Desktop Environment.



                My example is setting this up in the power menu for Ubuntu running Gnome.



                You'd set the blank screen time to never and disable autosuspend.



                Short sample of the power menu in ubuntu







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 25 at 10:59









                Bakare Emmanuel

                262




                262















                    Popular posts from this blog

                    How to change which sound is reproduced for terminal bell?

                    Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?