[Bug Report] V23.1 锁屏失败,造成可查看界面内容及键盘失灵
Tofloor
poster avatar
Zyx丶心
deepin
2025-04-29 10:58
Author

glmos-code-explain

$ cat /etc/os-release 
PRETTY_NAME="Deepin 23.1"
NAME="Deepin"
VERSION_CODENAME=beige
ID=deepin
HOME_URL="https://www.deepin.org/"
BUG_REPORT_URL="https://bbs.deepin.org"
VERSION_ID="23.1"
VERSION="23.1"

$ cat /etc/os-version 
[Version] 
SystemName=Deepin
SystemName[zh_CN]=深度操作系统
ProductType=Desktop
ProductType[zh_CN]=桌面
EditionName=Community
EditionName[en_US]=Community
EditionName[zh_CN]=社区版
MajorVersion=23
MinorVersion=23.1
OsBuild=31038.102

$ uname -r
6.12.20-amd64-desktop-rolling

缺少文件 $HOME/.config/locale.conf 后,使用快捷键或锁屏按钮进行锁屏时,会提示锁屏失败,且屏幕内容依然可以显示,打开的微信、浏览器等应用依然能使用鼠标进行操作。只是键盘不可输入文字等内容。但可以通过组合键 Ctrl+Alt+F2 切换到字符界面。

解决方案:

touch $HOME/.config/locale.conf

其报错日志如下:

4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: Create Authenticate Session: "UserName" 1073741911 1 "/org/deepin/dde/Authenticate1/Session/_26"
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: update MFA flag:  false
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: update factors info:  (1073741824,1,16,false, 1,8,1,false)
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: Auth type changed:  1073741825
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: SFAWidget::setAuthType: 1073741825
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: set reset password message visible:  false
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: GreeterWorker::startAuthentication: "UserName" 1
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: Start Authenticate Session: "UserName" 1 0
4月 29 10:26:15 localhost deepin-authenticate/authcommon[3658]: text.go:171: open /home/UserName/.config/locale.conf: no such file or directory
4月 29 10:26:15 localhost deepin-authenticate/authcommon[3658]: text.go:171: open /home/UserName/.config/locale.conf: no such file or directory
4月 29 10:26:15 localhost lightdm[42550]: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "UserName"
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: void MultiScreenManager::onScreenAdded(QPointer) , is copy mode:  false , screen:  QScreen(0x7f65180017a0, name="HDMI-A-0")
4月 29 10:26:15 localhost dde-dconfig-daemon[1525]: 2025-04-29, 10:26:15.670 [Info   ] [dconfigserver.cpp    DSGConfigServer::acquireManagerV2   212] Reuse connection:/org_deepin_dde_lightdm_de>
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: QLayout: Attempting to add QLayout "" to SessionBaseWindow "", which already has a layout
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: QLayout: Attempting to add QLayout "" to SessionBaseWindow "", which already has a layout
4月 29 10:26:15 localhost dde-dconfig-daemon[1525]: 2025-04-29, 10:26:15.671 [Info   ] [dconfigserver.cpp    DSGConfigServer::onReleaseChanged   236] Reduced connection reference service. servi>
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: QLayout: Attempting to add QLayout "" to SessionBaseWindow "", which already has a layout
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: QLayout: Attempting to add QLayout "" to SessionBaseWindow "", which already has a layout
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: QLayout: Attempting to add QLayout "" to SessionBaseWindow "", which already has a layout
4月 29 10:26:15 localhost lightdm[42551]: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "UserName"
4月 29 10:26:15 localhost deepin-authenticate/authcommon[3658]: text.go:171: open /home/UserName/.config/locale.conf: no such file or directory
4月 29 10:26:15 localhost deepin-authenticate/session[3658]: ukey_tx.go:140: GetPINLength err: empty default device
4月 29 10:26:15 localhost lightdm[42551]: pam_deepin_authentication(lightdm:auth): IsMFA: '0', Username: 'UserName'
4月 29 10:26:15 localhost lightdm[42551]: pam_deepin_authentication(lightdm:auth): index(30) error of limit type
4月 29 10:26:15 localhost deepin-authenticate/authcommon[3658]: text.go:171: open /home/UserName/.config/locale.conf: no such file or directory
4月 29 10:26:15 localhost deepin-authenticate/authcommon[3658]: text.go:171: open /home/UserName/.config/locale.conf: no such file or directory
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: set current mode state: 1
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: LockContent::initSFAWidget: QWidget(0x0) QWidget(0x0)
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: SFAWidget::setAuthType: 1073741825
4月 29 10:26:15 localhost deepin-authenticate/authcommon[3658]: text.go:171: open /home/UserName/.config/locale.conf: no such file or directory
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: set reset password message visible:  false
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: set reset password message visible:  false
4月 29 10:26:15 localhost lightdm[42551]: pam_deepin_authentication(lightdm:auth): 请输入密码
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: AuthPassword::setLimitsInfo 0 false
4月 29 10:26:15 localhost lightdm-deepin-greeter[42443]: set reset password message visible:  false

image.png

Reply Favorite View the author
All Replies
一头牛
deepin product team
2025-04-29 13:51
#1

收到,反馈给我们研发瞅瞅

Reply View the author
杨宇春
deepin
2025-04-29 14:11
#2

我也遇到同样的问题了

Reply View the author