致力于为用户提供真实的
主机测评数据及优惠信息

[经验] 如果用debian小鸡装桌面可能需要关掉自动休眠

网友 好鸭 说:

有些桌面可能会自动搞一个&*uot;休眠&*uot;出来,需要关掉,否则会导致&*uot;失联&*uot;

需要关掉

参考的这个https://blog.**dn.net/weixin_45980458/article/details/122952607

1、查看休眠状态

******ctl status sleep.target

2、设置禁止休眠

******ctl mask sleep.target suspend.target hibernate.target hyb**d-sleep.target

3、再查看

******ctl status sleep.target

不会再出现自动休眠状态

用debian装xfce+xrdp还挺舒服的,有点小卡(windows小鸡应该更卡一点点)

用来运行一些gui应用

网友 职业菜鸟 说:

装了好多了 没遇到这个情况

网友 好鸭 说:

*帖最后由 好鸭 于 2022-8-1 09:13 编辑

职业菜鸟 发表于 2022-8-1 09:08
装了好多了 没遇到这个情况
网友 ColoThor 说:

https://wiki.debian.org/Suspend

sudo ******ctl mask sleep.target suspend.target hibernate.target hyb**d-sleep.target

****** /etc/******d/sleep.conf.d/nosuspend.conf as

[Sleep]
AllowSuspend=no
AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHyb**dSleep=no

赞(0) 打赏
未经允许不得转载:爱主机 » [经验] 如果用debian小鸡装桌面可能需要关掉自动休眠
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址