linux gnome_如何使用Gnome远程激活或停用Linux主机?

linux gnome

I have a Fedora Linux server with Gnome 3. I want to lock / unlock the remote Gnome desktop remotely. How to activate or deactivate it remotely through SSH?

我有一个Fedora 的Linux与服务器的Gnome 3.我想锁定/解锁远程遥控Gnome桌面。 如何通过SSH远程激活或停用它?

Use gnome-screensaver-command. It is not specific to Gnome 3.

使用gnome-screensaver-command 。 它不是特定于Gnome 3的。

Turn the screensaver on (blank the screen):

打开屏保(黑屏):

$ gnome-screensaver-command -a

If the screensaver is active then deactivate it (un-blank the screen)

如果屏幕保护程序处于活动状态,则将其禁用(取消空白屏幕)

$ gnome-screensaver-command -d
Answered by Adam.
亚当回答。

翻译自: https://www.systutorials.com/how-to-activate-or-deactivate-a-linux-host-with-gnome-remotely/

linux gnome

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值