How to get Kali Linux to not go to sleep?
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)
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
add a comment |
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)
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
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 runningxscreensaver-demo
and looking for locking options there.
– SailorCire
Oct 19 '14 at 15:39
add a comment |
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)
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
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)
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
gnu-screen kali-linux screensaver screen-lock
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 runningxscreensaver-demo
and looking for locking options there.
– SailorCire
Oct 19 '14 at 15:39
add a comment |
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 runningxscreensaver-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
add a comment |
10 Answers
10
active
oldest
votes
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
add a comment |
With Kali XFCE, you can disable screen blanking using its power applet. Click on the applet and choose "Presentation Mode."
add a comment |
Install Cmatrix to keep the screen busy without using a lot of ram:
# apt-get install cmatrix
Usage:
$ cmatrix
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
add a comment |
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.
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 seeman ps
,man grep
, don't worry about awk. Second you need to work with nano or pico editor.man pico
orman nano
– PersianGulf
Oct 19 '14 at 15:56
2
man is usefule command , you can read manual of a command with this command such asman ls
man pages categorize in 9 level you can setman 1 grep
for search in manual pages, you can useman -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
|
show 2 more comments
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
Nothing good came from this either.
– pguardiario
Sep 18 '16 at 10:07
add a comment |
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:)
Came here to say POWER options.
– Xalorous
Oct 5 '16 at 14:55
add a comment |
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
add a comment |
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
add a comment |
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.
add a comment |
Just go to terminal and type /etc/root/scrnsver reset --u local
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Oct 26 '16 at 7:19
ling
24125
24125
add a comment |
add a comment |
With Kali XFCE, you can disable screen blanking using its power applet. Click on the applet and choose "Presentation Mode."
add a comment |
With Kali XFCE, you can disable screen blanking using its power applet. Click on the applet and choose "Presentation Mode."
add a comment |
With Kali XFCE, you can disable screen blanking using its power applet. Click on the applet and choose "Presentation Mode."
With Kali XFCE, you can disable screen blanking using its power applet. Click on the applet and choose "Presentation Mode."
answered May 5 '18 at 5:53
Gene Montgomery
111
111
add a comment |
add a comment |
Install Cmatrix to keep the screen busy without using a lot of ram:
# apt-get install cmatrix
Usage:
$ cmatrix
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
add a comment |
Install Cmatrix to keep the screen busy without using a lot of ram:
# apt-get install cmatrix
Usage:
$ cmatrix
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
add a comment |
Install Cmatrix to keep the screen busy without using a lot of ram:
# apt-get install cmatrix
Usage:
$ cmatrix
Install Cmatrix to keep the screen busy without using a lot of ram:
# apt-get install cmatrix
Usage:
$ cmatrix
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
add a comment |
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
add a comment |
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.
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 seeman ps
,man grep
, don't worry about awk. Second you need to work with nano or pico editor.man pico
orman nano
– PersianGulf
Oct 19 '14 at 15:56
2
man is usefule command , you can read manual of a command with this command such asman ls
man pages categorize in 9 level you can setman 1 grep
for search in manual pages, you can useman -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
|
show 2 more comments
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.
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 seeman ps
,man grep
, don't worry about awk. Second you need to work with nano or pico editor.man pico
orman nano
– PersianGulf
Oct 19 '14 at 15:56
2
man is usefule command , you can read manual of a command with this command such asman ls
man pages categorize in 9 level you can setman 1 grep
for search in manual pages, you can useman -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
|
show 2 more comments
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.
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.
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 seeman ps
,man grep
, don't worry about awk. Second you need to work with nano or pico editor.man pico
orman nano
– PersianGulf
Oct 19 '14 at 15:56
2
man is usefule command , you can read manual of a command with this command such asman ls
man pages categorize in 9 level you can setman 1 grep
for search in manual pages, you can useman -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
|
show 2 more comments
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 seeman ps
,man grep
, don't worry about awk. Second you need to work with nano or pico editor.man pico
orman nano
– PersianGulf
Oct 19 '14 at 15:56
2
man is usefule command , you can read manual of a command with this command such asman ls
man pages categorize in 9 level you can setman 1 grep
for search in manual pages, you can useman -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
|
show 2 more comments
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
Nothing good came from this either.
– pguardiario
Sep 18 '16 at 10:07
add a comment |
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
Nothing good came from this either.
– pguardiario
Sep 18 '16 at 10:07
add a comment |
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
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
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
add a comment |
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
add a comment |
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:)
Came here to say POWER options.
– Xalorous
Oct 5 '16 at 14:55
add a comment |
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:)
Came here to say POWER options.
– Xalorous
Oct 5 '16 at 14:55
add a comment |
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:)
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:)
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
add a comment |
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
add a comment |
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
add a comment |
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
add a comment |
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
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
answered May 14 '18 at 12:56
Seb Lemieux
1011
1011
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
answered Jun 11 '18 at 3:15
Daniel Sokolowski
1155
1155
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Dec 20 '18 at 4:09
Scanda7ous
1
1
add a comment |
add a comment |
Just go to terminal and type /etc/root/scrnsver reset --u local
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
add a comment |
Just go to terminal and type /etc/root/scrnsver reset --u local
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
add a comment |
Just go to terminal and type /etc/root/scrnsver reset --u local
Just go to terminal and type /etc/root/scrnsver reset --u local
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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