在我的工作场所,我使用统一标准安装的 Ubuntu 16.04。当我离开办公室时,我会锁定屏幕 ( ctrl+ alt+ l)。晚上,办公室打扫卫生。有几次,我早上回去工作,我的耳机在我的键盘上。我的锁屏挂了,我无法清除密码字段,无法输入任何内容,并且无法在锁屏上使用任何其他控件(重新启动、关闭按钮等)。鼠标在工作,但点击什么都不做。可能这是因为密码字段在一夜之间进行了大量输入并破坏了其他所有内容。清洁工“黑了”我的电脑:)
我怎样才能防止这种情况?我可以以某种方式限制可以传递给密码输入的字符数吗?在使用某些组合键启用密码输入之前,我可以阻止锁定屏幕吗?同样的事情也到ctrl+ alt+del在Windows之前,我可以输入密码,锁屏?
//编辑正如@bytecommander所写的那样,有一个错误,它应该被修复,但不知何故这在我的机器上不起作用猫导致登录屏幕挂起
$ apt policy unity-greeter
unity-greeter:
Installed: 16.04.2-0ubuntu1
Candidate: 16.04.2-0ubuntu1
Version table:
*** 16.04.2-0ubuntu1 500
500 http://pl.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
Run Code Online (Sandbox Code Playgroud)
// 编辑 2
有人写道,锁屏不是统一的迎宾包。任何人都可以确认这一点并告诉我这是什么包?
// 编辑 3
好吧,看来锁屏是 Unity 的一部分,而不是欢迎程序包。我为此填写了一个错误报告:从键盘输入大量内容后锁定屏幕冻结
我刚刚升级了linux-firmware
软件包,然后使用了$ sudo update-initramfs -u -k all
但出现了一些错误:
$ sudo update-initramfs -u -k all
[sudo] password for piotrek:
update-initramfs: Generating /boot/initrd.img-4.4.0-34-generic
Warning: No support for locale: en_US.utf8
update-initramfs: Generating /boot/initrd.img-4.4.0-31-generic
Warning: No support for locale: en_US.utf8
update-initramfs: Generating /boot/initrd.img-4.4.0-13-generic
WARNING: missing /lib/modules/4.4.0-13-generic
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/4.4.0-13-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
Warning: No support …
Run Code Online (Sandbox Code Playgroud)