How to get Kali Linux to not go to sleep?












10














I'm using Kali linux on vmware in windows7. I've been trying to crack my wpa password and noticed that when I leave the system running (in process of cracking password) and leave the laptop on and go away for about 10-15 minutes, Kali linux goes to sleep and I am not sure if the cracking process with reaver is still running or not. When I click onto the page a box comes up prompting me to type in my username and password. When I type that in it logs me back on but my screens that were left open cracking the password are no longer there and everything starts freezing up a lot. The mouse is freezing and if I try to click on anything there is a massive delay before anything happens or nothing at all.



Also there was no option prevent screen going in an inactive state infinitely..(lock and brightness-maximum time 1 hour)



enter image description here



I've since had to switch back to backtrack to do my cracking and has been running perfectly and does not go to sleep when left for long periods.




  • Now what I'd like to know is how can I prevent kali linux from going
    to sleep and closing my work that's in progress?


Any help on this issue would be appreciated.










share|improve this question
























  • How can i do that ?
    – Educ
    Oct 19 '14 at 15:37










  • Deleted my last post since it is REALLY not recommended and therefore of bad quality. Try running xscreensaver-demo and looking for locking options there.
    – SailorCire
    Oct 19 '14 at 15:39
















10














I'm using Kali linux on vmware in windows7. I've been trying to crack my wpa password and noticed that when I leave the system running (in process of cracking password) and leave the laptop on and go away for about 10-15 minutes, Kali linux goes to sleep and I am not sure if the cracking process with reaver is still running or not. When I click onto the page a box comes up prompting me to type in my username and password. When I type that in it logs me back on but my screens that were left open cracking the password are no longer there and everything starts freezing up a lot. The mouse is freezing and if I try to click on anything there is a massive delay before anything happens or nothing at all.



Also there was no option prevent screen going in an inactive state infinitely..(lock and brightness-maximum time 1 hour)



enter image description here



I've since had to switch back to backtrack to do my cracking and has been running perfectly and does not go to sleep when left for long periods.




  • Now what I'd like to know is how can I prevent kali linux from going
    to sleep and closing my work that's in progress?


Any help on this issue would be appreciated.










share|improve this question
























  • How can i do that ?
    – Educ
    Oct 19 '14 at 15:37










  • Deleted my last post since it is REALLY not recommended and therefore of bad quality. Try running xscreensaver-demo and looking for locking options there.
    – SailorCire
    Oct 19 '14 at 15:39














10












10








10


2





I'm using Kali linux on vmware in windows7. I've been trying to crack my wpa password and noticed that when I leave the system running (in process of cracking password) and leave the laptop on and go away for about 10-15 minutes, Kali linux goes to sleep and I am not sure if the cracking process with reaver is still running or not. When I click onto the page a box comes up prompting me to type in my username and password. When I type that in it logs me back on but my screens that were left open cracking the password are no longer there and everything starts freezing up a lot. The mouse is freezing and if I try to click on anything there is a massive delay before anything happens or nothing at all.



Also there was no option prevent screen going in an inactive state infinitely..(lock and brightness-maximum time 1 hour)



enter image description here



I've since had to switch back to backtrack to do my cracking and has been running perfectly and does not go to sleep when left for long periods.




  • Now what I'd like to know is how can I prevent kali linux from going
    to sleep and closing my work that's in progress?


Any help on this issue would be appreciated.










share|improve this question















I'm using Kali linux on vmware in windows7. I've been trying to crack my wpa password and noticed that when I leave the system running (in process of cracking password) and leave the laptop on and go away for about 10-15 minutes, Kali linux goes to sleep and I am not sure if the cracking process with reaver is still running or not. When I click onto the page a box comes up prompting me to type in my username and password. When I type that in it logs me back on but my screens that were left open cracking the password are no longer there and everything starts freezing up a lot. The mouse is freezing and if I try to click on anything there is a massive delay before anything happens or nothing at all.



Also there was no option prevent screen going in an inactive state infinitely..(lock and brightness-maximum time 1 hour)



enter image description here



I've since had to switch back to backtrack to do my cracking and has been running perfectly and does not go to sleep when left for long periods.




  • Now what I'd like to know is how can I prevent kali linux from going
    to sleep and closing my work that's in progress?


Any help on this issue would be appreciated.







gnu-screen kali-linux screensaver screen-lock






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 19 '14 at 16:21









jasonwryan

49.2k14134184




49.2k14134184










asked Oct 19 '14 at 15:24









Educ

168139




168139












  • How can i do that ?
    – Educ
    Oct 19 '14 at 15:37










  • Deleted my last post since it is REALLY not recommended and therefore of bad quality. Try running xscreensaver-demo and looking for locking options there.
    – SailorCire
    Oct 19 '14 at 15:39


















  • How can i do that ?
    – Educ
    Oct 19 '14 at 15:37










  • Deleted my last post since it is REALLY not recommended and therefore of bad quality. Try running xscreensaver-demo and looking for locking options there.
    – SailorCire
    Oct 19 '14 at 15:39
















How can i do that ?
– Educ
Oct 19 '14 at 15:37




How can i do that ?
– Educ
Oct 19 '14 at 15:37












Deleted my last post since it is REALLY not recommended and therefore of bad quality. Try running xscreensaver-demo and looking for locking options there.
– SailorCire
Oct 19 '14 at 15:39




Deleted my last post since it is REALLY not recommended and therefore of bad quality. Try running xscreensaver-demo and looking for locking options there.
– SailorCire
Oct 19 '14 at 15:39










10 Answers
10






active

oldest

votes


















12














With the gui, you do this by changing three settings.
To access the settings, click any top right icon (a panel opens), then click the "settings" icon at the bottom left of the opened panel.



Once the "All Settings" appears:




  • Power > Power Saving > Blank screen: never

  • Power > Suspend & Power Button > Automatic suspend: off

  • Privacy > Screen Lock: off






share|improve this answer





























    1














    With Kali XFCE, you can disable screen blanking using its power applet. Click on the applet and choose "Presentation Mode."






    share|improve this answer





























      0














      Install Cmatrix to keep the screen busy without using a lot of ram:



      # apt-get install cmatrix


      Usage:



      $ cmatrix





      share|improve this answer























      • Umm, actually, cmatrix can be a massive RAM hog… just saying :P
        – HalosGhost
        Jan 5 '15 at 5:44










      • didn't help me at all. :)
        – pguardiario
        Sep 18 '16 at 10:06



















      0














      According to SailorCire, you have to kill the screensaver program, you have to insert the following code with a little change in /etc/init.d/rc.local :



      pid=`ps ax |egrep -v grep |egrep pattern  |awk {'print $1'}`
      kill $pid


      You have to change pattern to part of the screensaver name. Of course unique.

      May be above code doesn't work you have to call the kill command with -9 as argument.

      By the way, if it doesn't work, make a script and insert into it, WHY? because may be your screen-saver program run with your graphical mode, Then call with startup program the given script.






      share|improve this answer























      • please can you tell me step by step how to do that i'm newbie in Kali
        – Educ
        Oct 19 '14 at 15:47










      • I guess you don't linux or unix not kali.Okey?
        – PersianGulf
        Oct 19 '14 at 15:54






      • 1




        before any change in rc.local, at first see man ps , man grep , don't worry about awk. Second you need to work with nano or pico editor. man pico or man nano
        – PersianGulf
        Oct 19 '14 at 15:56






      • 2




        man is usefule command , you can read manual of a command with this command such as man ls man pages categorize in 9 level you can set man 1 grep for search in manual pages, you can use man -k yourpattern
        – PersianGulf
        Oct 19 '14 at 15:59








      • 1




        Change pattern to gnome-screensaver But i suggesst you be sure learn linux , you need it, for example when you setting up metasploit you have to know postgresql , or when you setting up OpenVAS, you have to apt. learn getting fishing instead of get fish.
        – PersianGulf
        Oct 19 '14 at 16:52



















      0














      sleepdaemon is not my best friend



      try this (maybe +other gsettings):



      sudo gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0
      sudo gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'nothing'
      sudo setterm -blank 0 -powersave off -powerdown 0
      sudo xset s 0 0
      sudo xset dpms 0 0
      sudo xset dpms force off
      sudo xset s off
      sudo service sleepd stop
      sudo kill $(lsof | grep 'sleepd' | awk '{print $2}')


      you can kill (sleep-daemon && xscreensaver && terminal powersave) with this code






      share|improve this answer





















      • Nothing good came from this either.
        – pguardiario
        Sep 18 '16 at 10:07



















      0














      For Kali sana:

      1. Open All Setting (at top right corner of your home screen)

      2. At hardware panel choose power

      3. Disable Dim screen when inactive and blank screen

      Enjoy:)






      share|improve this answer























      • Came here to say POWER options.
        – Xalorous
        Oct 5 '16 at 14:55



















      0














      When running Kali Linux without a monitor, I tired all of the above suggestions and many more. The only thing that worked was the GNOME Caffeine Extension. With this enabled my computer stayed awake all weekend without monitor attached.



      To install you can run : sudo apt-get install gnome-shell-extension-caffeine






      share|improve this answer





























        0














        Type the below lines in a terminal. It worked for me, the screen still dimmed and locked, but computer did not go to sleep



        gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
        gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0





        share|improve this answer





























          0














          Actually,
          You just need to check the setting in :
          System Settings: (Workspace)
          Desktop Behavior >
          Screen Locking |>
          Lock screen automatically after: 5 Mins
          And, System Settings: (Hardware)
          Power Management>
          Energy Saving screen.






          share|improve this answer





























            -1














            Just go to terminal and type /etc/root/scrnsver reset --u local






            share|improve this answer



















            • 2




              Hello and welcome! Maybe you could elaborate a little more on what this does and how it's going to help?
              – Ghanima
              Dec 7 '14 at 23:35










            • No such file or directory - -1
              – pguardiario
              Sep 18 '16 at 10:08











            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f162989%2fhow-to-get-kali-linux-to-not-go-to-sleep%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            10 Answers
            10






            active

            oldest

            votes








            10 Answers
            10






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            12














            With the gui, you do this by changing three settings.
            To access the settings, click any top right icon (a panel opens), then click the "settings" icon at the bottom left of the opened panel.



            Once the "All Settings" appears:




            • Power > Power Saving > Blank screen: never

            • Power > Suspend & Power Button > Automatic suspend: off

            • Privacy > Screen Lock: off






            share|improve this answer


























              12














              With the gui, you do this by changing three settings.
              To access the settings, click any top right icon (a panel opens), then click the "settings" icon at the bottom left of the opened panel.



              Once the "All Settings" appears:




              • Power > Power Saving > Blank screen: never

              • Power > Suspend & Power Button > Automatic suspend: off

              • Privacy > Screen Lock: off






              share|improve this answer
























                12












                12








                12






                With the gui, you do this by changing three settings.
                To access the settings, click any top right icon (a panel opens), then click the "settings" icon at the bottom left of the opened panel.



                Once the "All Settings" appears:




                • Power > Power Saving > Blank screen: never

                • Power > Suspend & Power Button > Automatic suspend: off

                • Privacy > Screen Lock: off






                share|improve this answer












                With the gui, you do this by changing three settings.
                To access the settings, click any top right icon (a panel opens), then click the "settings" icon at the bottom left of the opened panel.



                Once the "All Settings" appears:




                • Power > Power Saving > Blank screen: never

                • Power > Suspend & Power Button > Automatic suspend: off

                • Privacy > Screen Lock: off







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 26 '16 at 7:19









                ling

                24125




                24125

























                    1














                    With Kali XFCE, you can disable screen blanking using its power applet. Click on the applet and choose "Presentation Mode."






                    share|improve this answer


























                      1














                      With Kali XFCE, you can disable screen blanking using its power applet. Click on the applet and choose "Presentation Mode."






                      share|improve this answer
























                        1












                        1








                        1






                        With Kali XFCE, you can disable screen blanking using its power applet. Click on the applet and choose "Presentation Mode."






                        share|improve this answer












                        With Kali XFCE, you can disable screen blanking using its power applet. Click on the applet and choose "Presentation Mode."







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered May 5 '18 at 5:53









                        Gene Montgomery

                        111




                        111























                            0














                            Install Cmatrix to keep the screen busy without using a lot of ram:



                            # apt-get install cmatrix


                            Usage:



                            $ cmatrix





                            share|improve this answer























                            • Umm, actually, cmatrix can be a massive RAM hog… just saying :P
                              – HalosGhost
                              Jan 5 '15 at 5:44










                            • didn't help me at all. :)
                              – pguardiario
                              Sep 18 '16 at 10:06
















                            0














                            Install Cmatrix to keep the screen busy without using a lot of ram:



                            # apt-get install cmatrix


                            Usage:



                            $ cmatrix





                            share|improve this answer























                            • Umm, actually, cmatrix can be a massive RAM hog… just saying :P
                              – HalosGhost
                              Jan 5 '15 at 5:44










                            • didn't help me at all. :)
                              – pguardiario
                              Sep 18 '16 at 10:06














                            0












                            0








                            0






                            Install Cmatrix to keep the screen busy without using a lot of ram:



                            # apt-get install cmatrix


                            Usage:



                            $ cmatrix





                            share|improve this answer














                            Install Cmatrix to keep the screen busy without using a lot of ram:



                            # apt-get install cmatrix


                            Usage:



                            $ cmatrix






                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Jan 5 '15 at 6:02









                            Michael Mrozek

                            60.6k29187208




                            60.6k29187208










                            answered Jan 5 '15 at 5:29









                            3ch0s

                            11




                            11












                            • Umm, actually, cmatrix can be a massive RAM hog… just saying :P
                              – HalosGhost
                              Jan 5 '15 at 5:44










                            • didn't help me at all. :)
                              – pguardiario
                              Sep 18 '16 at 10:06


















                            • Umm, actually, cmatrix can be a massive RAM hog… just saying :P
                              – HalosGhost
                              Jan 5 '15 at 5:44










                            • didn't help me at all. :)
                              – pguardiario
                              Sep 18 '16 at 10:06
















                            Umm, actually, cmatrix can be a massive RAM hog… just saying :P
                            – HalosGhost
                            Jan 5 '15 at 5:44




                            Umm, actually, cmatrix can be a massive RAM hog… just saying :P
                            – HalosGhost
                            Jan 5 '15 at 5:44












                            didn't help me at all. :)
                            – pguardiario
                            Sep 18 '16 at 10:06




                            didn't help me at all. :)
                            – pguardiario
                            Sep 18 '16 at 10:06











                            0














                            According to SailorCire, you have to kill the screensaver program, you have to insert the following code with a little change in /etc/init.d/rc.local :



                            pid=`ps ax |egrep -v grep |egrep pattern  |awk {'print $1'}`
                            kill $pid


                            You have to change pattern to part of the screensaver name. Of course unique.

                            May be above code doesn't work you have to call the kill command with -9 as argument.

                            By the way, if it doesn't work, make a script and insert into it, WHY? because may be your screen-saver program run with your graphical mode, Then call with startup program the given script.






                            share|improve this answer























                            • please can you tell me step by step how to do that i'm newbie in Kali
                              – Educ
                              Oct 19 '14 at 15:47










                            • I guess you don't linux or unix not kali.Okey?
                              – PersianGulf
                              Oct 19 '14 at 15:54






                            • 1




                              before any change in rc.local, at first see man ps , man grep , don't worry about awk. Second you need to work with nano or pico editor. man pico or man nano
                              – PersianGulf
                              Oct 19 '14 at 15:56






                            • 2




                              man is usefule command , you can read manual of a command with this command such as man ls man pages categorize in 9 level you can set man 1 grep for search in manual pages, you can use man -k yourpattern
                              – PersianGulf
                              Oct 19 '14 at 15:59








                            • 1




                              Change pattern to gnome-screensaver But i suggesst you be sure learn linux , you need it, for example when you setting up metasploit you have to know postgresql , or when you setting up OpenVAS, you have to apt. learn getting fishing instead of get fish.
                              – PersianGulf
                              Oct 19 '14 at 16:52
















                            0














                            According to SailorCire, you have to kill the screensaver program, you have to insert the following code with a little change in /etc/init.d/rc.local :



                            pid=`ps ax |egrep -v grep |egrep pattern  |awk {'print $1'}`
                            kill $pid


                            You have to change pattern to part of the screensaver name. Of course unique.

                            May be above code doesn't work you have to call the kill command with -9 as argument.

                            By the way, if it doesn't work, make a script and insert into it, WHY? because may be your screen-saver program run with your graphical mode, Then call with startup program the given script.






                            share|improve this answer























                            • please can you tell me step by step how to do that i'm newbie in Kali
                              – Educ
                              Oct 19 '14 at 15:47










                            • I guess you don't linux or unix not kali.Okey?
                              – PersianGulf
                              Oct 19 '14 at 15:54






                            • 1




                              before any change in rc.local, at first see man ps , man grep , don't worry about awk. Second you need to work with nano or pico editor. man pico or man nano
                              – PersianGulf
                              Oct 19 '14 at 15:56






                            • 2




                              man is usefule command , you can read manual of a command with this command such as man ls man pages categorize in 9 level you can set man 1 grep for search in manual pages, you can use man -k yourpattern
                              – PersianGulf
                              Oct 19 '14 at 15:59








                            • 1




                              Change pattern to gnome-screensaver But i suggesst you be sure learn linux , you need it, for example when you setting up metasploit you have to know postgresql , or when you setting up OpenVAS, you have to apt. learn getting fishing instead of get fish.
                              – PersianGulf
                              Oct 19 '14 at 16:52














                            0












                            0








                            0






                            According to SailorCire, you have to kill the screensaver program, you have to insert the following code with a little change in /etc/init.d/rc.local :



                            pid=`ps ax |egrep -v grep |egrep pattern  |awk {'print $1'}`
                            kill $pid


                            You have to change pattern to part of the screensaver name. Of course unique.

                            May be above code doesn't work you have to call the kill command with -9 as argument.

                            By the way, if it doesn't work, make a script and insert into it, WHY? because may be your screen-saver program run with your graphical mode, Then call with startup program the given script.






                            share|improve this answer














                            According to SailorCire, you have to kill the screensaver program, you have to insert the following code with a little change in /etc/init.d/rc.local :



                            pid=`ps ax |egrep -v grep |egrep pattern  |awk {'print $1'}`
                            kill $pid


                            You have to change pattern to part of the screensaver name. Of course unique.

                            May be above code doesn't work you have to call the kill command with -9 as argument.

                            By the way, if it doesn't work, make a script and insert into it, WHY? because may be your screen-saver program run with your graphical mode, Then call with startup program the given script.







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Jan 5 '15 at 6:03









                            thiagowfx

                            736413




                            736413










                            answered Oct 19 '14 at 15:41









                            PersianGulf

                            6,89543461




                            6,89543461












                            • please can you tell me step by step how to do that i'm newbie in Kali
                              – Educ
                              Oct 19 '14 at 15:47










                            • I guess you don't linux or unix not kali.Okey?
                              – PersianGulf
                              Oct 19 '14 at 15:54






                            • 1




                              before any change in rc.local, at first see man ps , man grep , don't worry about awk. Second you need to work with nano or pico editor. man pico or man nano
                              – PersianGulf
                              Oct 19 '14 at 15:56






                            • 2




                              man is usefule command , you can read manual of a command with this command such as man ls man pages categorize in 9 level you can set man 1 grep for search in manual pages, you can use man -k yourpattern
                              – PersianGulf
                              Oct 19 '14 at 15:59








                            • 1




                              Change pattern to gnome-screensaver But i suggesst you be sure learn linux , you need it, for example when you setting up metasploit you have to know postgresql , or when you setting up OpenVAS, you have to apt. learn getting fishing instead of get fish.
                              – PersianGulf
                              Oct 19 '14 at 16:52


















                            • please can you tell me step by step how to do that i'm newbie in Kali
                              – Educ
                              Oct 19 '14 at 15:47










                            • I guess you don't linux or unix not kali.Okey?
                              – PersianGulf
                              Oct 19 '14 at 15:54






                            • 1




                              before any change in rc.local, at first see man ps , man grep , don't worry about awk. Second you need to work with nano or pico editor. man pico or man nano
                              – PersianGulf
                              Oct 19 '14 at 15:56






                            • 2




                              man is usefule command , you can read manual of a command with this command such as man ls man pages categorize in 9 level you can set man 1 grep for search in manual pages, you can use man -k yourpattern
                              – PersianGulf
                              Oct 19 '14 at 15:59








                            • 1




                              Change pattern to gnome-screensaver But i suggesst you be sure learn linux , you need it, for example when you setting up metasploit you have to know postgresql , or when you setting up OpenVAS, you have to apt. learn getting fishing instead of get fish.
                              – PersianGulf
                              Oct 19 '14 at 16:52
















                            please can you tell me step by step how to do that i'm newbie in Kali
                            – Educ
                            Oct 19 '14 at 15:47




                            please can you tell me step by step how to do that i'm newbie in Kali
                            – Educ
                            Oct 19 '14 at 15:47












                            I guess you don't linux or unix not kali.Okey?
                            – PersianGulf
                            Oct 19 '14 at 15:54




                            I guess you don't linux or unix not kali.Okey?
                            – PersianGulf
                            Oct 19 '14 at 15:54




                            1




                            1




                            before any change in rc.local, at first see man ps , man grep , don't worry about awk. Second you need to work with nano or pico editor. man pico or man nano
                            – PersianGulf
                            Oct 19 '14 at 15:56




                            before any change in rc.local, at first see man ps , man grep , don't worry about awk. Second you need to work with nano or pico editor. man pico or man nano
                            – PersianGulf
                            Oct 19 '14 at 15:56




                            2




                            2




                            man is usefule command , you can read manual of a command with this command such as man ls man pages categorize in 9 level you can set man 1 grep for search in manual pages, you can use man -k yourpattern
                            – PersianGulf
                            Oct 19 '14 at 15:59






                            man is usefule command , you can read manual of a command with this command such as man ls man pages categorize in 9 level you can set man 1 grep for search in manual pages, you can use man -k yourpattern
                            – PersianGulf
                            Oct 19 '14 at 15:59






                            1




                            1




                            Change pattern to gnome-screensaver But i suggesst you be sure learn linux , you need it, for example when you setting up metasploit you have to know postgresql , or when you setting up OpenVAS, you have to apt. learn getting fishing instead of get fish.
                            – PersianGulf
                            Oct 19 '14 at 16:52




                            Change pattern to gnome-screensaver But i suggesst you be sure learn linux , you need it, for example when you setting up metasploit you have to know postgresql , or when you setting up OpenVAS, you have to apt. learn getting fishing instead of get fish.
                            – PersianGulf
                            Oct 19 '14 at 16:52











                            0














                            sleepdaemon is not my best friend



                            try this (maybe +other gsettings):



                            sudo gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0
                            sudo gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'nothing'
                            sudo setterm -blank 0 -powersave off -powerdown 0
                            sudo xset s 0 0
                            sudo xset dpms 0 0
                            sudo xset dpms force off
                            sudo xset s off
                            sudo service sleepd stop
                            sudo kill $(lsof | grep 'sleepd' | awk '{print $2}')


                            you can kill (sleep-daemon && xscreensaver && terminal powersave) with this code






                            share|improve this answer





















                            • Nothing good came from this either.
                              – pguardiario
                              Sep 18 '16 at 10:07
















                            0














                            sleepdaemon is not my best friend



                            try this (maybe +other gsettings):



                            sudo gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0
                            sudo gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'nothing'
                            sudo setterm -blank 0 -powersave off -powerdown 0
                            sudo xset s 0 0
                            sudo xset dpms 0 0
                            sudo xset dpms force off
                            sudo xset s off
                            sudo service sleepd stop
                            sudo kill $(lsof | grep 'sleepd' | awk '{print $2}')


                            you can kill (sleep-daemon && xscreensaver && terminal powersave) with this code






                            share|improve this answer





















                            • Nothing good came from this either.
                              – pguardiario
                              Sep 18 '16 at 10:07














                            0












                            0








                            0






                            sleepdaemon is not my best friend



                            try this (maybe +other gsettings):



                            sudo gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0
                            sudo gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'nothing'
                            sudo setterm -blank 0 -powersave off -powerdown 0
                            sudo xset s 0 0
                            sudo xset dpms 0 0
                            sudo xset dpms force off
                            sudo xset s off
                            sudo service sleepd stop
                            sudo kill $(lsof | grep 'sleepd' | awk '{print $2}')


                            you can kill (sleep-daemon && xscreensaver && terminal powersave) with this code






                            share|improve this answer












                            sleepdaemon is not my best friend



                            try this (maybe +other gsettings):



                            sudo gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0
                            sudo gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'nothing'
                            sudo setterm -blank 0 -powersave off -powerdown 0
                            sudo xset s 0 0
                            sudo xset dpms 0 0
                            sudo xset dpms force off
                            sudo xset s off
                            sudo service sleepd stop
                            sudo kill $(lsof | grep 'sleepd' | awk '{print $2}')


                            you can kill (sleep-daemon && xscreensaver && terminal powersave) with this code







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Jun 2 '15 at 21:09









                            Tamás Csibrák

                            1




                            1












                            • Nothing good came from this either.
                              – pguardiario
                              Sep 18 '16 at 10:07


















                            • Nothing good came from this either.
                              – pguardiario
                              Sep 18 '16 at 10:07
















                            Nothing good came from this either.
                            – pguardiario
                            Sep 18 '16 at 10:07




                            Nothing good came from this either.
                            – pguardiario
                            Sep 18 '16 at 10:07











                            0














                            For Kali sana:

                            1. Open All Setting (at top right corner of your home screen)

                            2. At hardware panel choose power

                            3. Disable Dim screen when inactive and blank screen

                            Enjoy:)






                            share|improve this answer























                            • Came here to say POWER options.
                              – Xalorous
                              Oct 5 '16 at 14:55
















                            0














                            For Kali sana:

                            1. Open All Setting (at top right corner of your home screen)

                            2. At hardware panel choose power

                            3. Disable Dim screen when inactive and blank screen

                            Enjoy:)






                            share|improve this answer























                            • Came here to say POWER options.
                              – Xalorous
                              Oct 5 '16 at 14:55














                            0












                            0








                            0






                            For Kali sana:

                            1. Open All Setting (at top right corner of your home screen)

                            2. At hardware panel choose power

                            3. Disable Dim screen when inactive and blank screen

                            Enjoy:)






                            share|improve this answer














                            For Kali sana:

                            1. Open All Setting (at top right corner of your home screen)

                            2. At hardware panel choose power

                            3. Disable Dim screen when inactive and blank screen

                            Enjoy:)







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Dec 31 '15 at 9:51









                            Tom Zych

                            779616




                            779616










                            answered Dec 31 '15 at 9:26









                            inkheart

                            1




                            1












                            • Came here to say POWER options.
                              – Xalorous
                              Oct 5 '16 at 14:55


















                            • Came here to say POWER options.
                              – Xalorous
                              Oct 5 '16 at 14:55
















                            Came here to say POWER options.
                            – Xalorous
                            Oct 5 '16 at 14:55




                            Came here to say POWER options.
                            – Xalorous
                            Oct 5 '16 at 14:55











                            0














                            When running Kali Linux without a monitor, I tired all of the above suggestions and many more. The only thing that worked was the GNOME Caffeine Extension. With this enabled my computer stayed awake all weekend without monitor attached.



                            To install you can run : sudo apt-get install gnome-shell-extension-caffeine






                            share|improve this answer


























                              0














                              When running Kali Linux without a monitor, I tired all of the above suggestions and many more. The only thing that worked was the GNOME Caffeine Extension. With this enabled my computer stayed awake all weekend without monitor attached.



                              To install you can run : sudo apt-get install gnome-shell-extension-caffeine






                              share|improve this answer
























                                0












                                0








                                0






                                When running Kali Linux without a monitor, I tired all of the above suggestions and many more. The only thing that worked was the GNOME Caffeine Extension. With this enabled my computer stayed awake all weekend without monitor attached.



                                To install you can run : sudo apt-get install gnome-shell-extension-caffeine






                                share|improve this answer












                                When running Kali Linux without a monitor, I tired all of the above suggestions and many more. The only thing that worked was the GNOME Caffeine Extension. With this enabled my computer stayed awake all weekend without monitor attached.



                                To install you can run : sudo apt-get install gnome-shell-extension-caffeine







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered May 14 '18 at 12:56









                                Seb Lemieux

                                1011




                                1011























                                    0














                                    Type the below lines in a terminal. It worked for me, the screen still dimmed and locked, but computer did not go to sleep



                                    gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
                                    gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0





                                    share|improve this answer


























                                      0














                                      Type the below lines in a terminal. It worked for me, the screen still dimmed and locked, but computer did not go to sleep



                                      gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
                                      gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0





                                      share|improve this answer
























                                        0












                                        0








                                        0






                                        Type the below lines in a terminal. It worked for me, the screen still dimmed and locked, but computer did not go to sleep



                                        gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
                                        gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0





                                        share|improve this answer












                                        Type the below lines in a terminal. It worked for me, the screen still dimmed and locked, but computer did not go to sleep



                                        gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
                                        gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0






                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Jun 11 '18 at 3:15









                                        Daniel Sokolowski

                                        1155




                                        1155























                                            0














                                            Actually,
                                            You just need to check the setting in :
                                            System Settings: (Workspace)
                                            Desktop Behavior >
                                            Screen Locking |>
                                            Lock screen automatically after: 5 Mins
                                            And, System Settings: (Hardware)
                                            Power Management>
                                            Energy Saving screen.






                                            share|improve this answer


























                                              0














                                              Actually,
                                              You just need to check the setting in :
                                              System Settings: (Workspace)
                                              Desktop Behavior >
                                              Screen Locking |>
                                              Lock screen automatically after: 5 Mins
                                              And, System Settings: (Hardware)
                                              Power Management>
                                              Energy Saving screen.






                                              share|improve this answer
























                                                0












                                                0








                                                0






                                                Actually,
                                                You just need to check the setting in :
                                                System Settings: (Workspace)
                                                Desktop Behavior >
                                                Screen Locking |>
                                                Lock screen automatically after: 5 Mins
                                                And, System Settings: (Hardware)
                                                Power Management>
                                                Energy Saving screen.






                                                share|improve this answer












                                                Actually,
                                                You just need to check the setting in :
                                                System Settings: (Workspace)
                                                Desktop Behavior >
                                                Screen Locking |>
                                                Lock screen automatically after: 5 Mins
                                                And, System Settings: (Hardware)
                                                Power Management>
                                                Energy Saving screen.







                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered Dec 20 '18 at 4:09









                                                Scanda7ous

                                                1




                                                1























                                                    -1














                                                    Just go to terminal and type /etc/root/scrnsver reset --u local






                                                    share|improve this answer



















                                                    • 2




                                                      Hello and welcome! Maybe you could elaborate a little more on what this does and how it's going to help?
                                                      – Ghanima
                                                      Dec 7 '14 at 23:35










                                                    • No such file or directory - -1
                                                      – pguardiario
                                                      Sep 18 '16 at 10:08
















                                                    -1














                                                    Just go to terminal and type /etc/root/scrnsver reset --u local






                                                    share|improve this answer



















                                                    • 2




                                                      Hello and welcome! Maybe you could elaborate a little more on what this does and how it's going to help?
                                                      – Ghanima
                                                      Dec 7 '14 at 23:35










                                                    • No such file or directory - -1
                                                      – pguardiario
                                                      Sep 18 '16 at 10:08














                                                    -1












                                                    -1








                                                    -1






                                                    Just go to terminal and type /etc/root/scrnsver reset --u local






                                                    share|improve this answer














                                                    Just go to terminal and type /etc/root/scrnsver reset --u local







                                                    share|improve this answer














                                                    share|improve this answer



                                                    share|improve this answer








                                                    edited Dec 7 '14 at 23:05









                                                    jimmij

                                                    30.8k870105




                                                    30.8k870105










                                                    answered Dec 7 '14 at 22:53









                                                    Supede

                                                    1




                                                    1








                                                    • 2




                                                      Hello and welcome! Maybe you could elaborate a little more on what this does and how it's going to help?
                                                      – Ghanima
                                                      Dec 7 '14 at 23:35










                                                    • No such file or directory - -1
                                                      – pguardiario
                                                      Sep 18 '16 at 10:08














                                                    • 2




                                                      Hello and welcome! Maybe you could elaborate a little more on what this does and how it's going to help?
                                                      – Ghanima
                                                      Dec 7 '14 at 23:35










                                                    • No such file or directory - -1
                                                      – pguardiario
                                                      Sep 18 '16 at 10:08








                                                    2




                                                    2




                                                    Hello and welcome! Maybe you could elaborate a little more on what this does and how it's going to help?
                                                    – Ghanima
                                                    Dec 7 '14 at 23:35




                                                    Hello and welcome! Maybe you could elaborate a little more on what this does and how it's going to help?
                                                    – Ghanima
                                                    Dec 7 '14 at 23:35












                                                    No such file or directory - -1
                                                    – pguardiario
                                                    Sep 18 '16 at 10:08




                                                    No such file or directory - -1
                                                    – pguardiario
                                                    Sep 18 '16 at 10:08


















                                                    draft saved

                                                    draft discarded




















































                                                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                                                    • 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.





                                                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                                    Please pay close attention to the following guidance:


                                                    • 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%2funix.stackexchange.com%2fquestions%2f162989%2fhow-to-get-kali-linux-to-not-go-to-sleep%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

                                                    Morgemoulin

                                                    Scott Moir

                                                    Souastre