How to prevent Ubuntu20.04 from sleeping.

Status
Not open for further replies.

Arbeiter

New Member
Joined
Aug 10, 2021
Messages
7
Reaction score
1
Credits
61
Hello,

Just got a fast Dell with Ubuntu20.04 for number crunching. But, the machine sleeps after maybe 10 minutes.

I looked into the web and applied these suggestions.

1-) sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Did not work for me.

2-) I added a line in a file /etc/ssh/sshd_config

ClientAliveInteral 60 (I entered this line without that # at the beginning)

Did not work
One poster suggested using dconf-editor (but, not a Linux expert, so I did not).

Can anyone help??
Thanks
 


There's no need to double-post, so please don't do so. Thanks for cooperating in the future. I'll lock this one. You can use the other.
 
Status
Not open for further replies.

Members online


Latest posts

Top