[Desktop] root用户锁屏
Tofloor
poster avatar
hbbdgyb
deepin
2021-01-22 18:41
Author

root用户怎样锁屏,按Windows+l闪屏

journalctl -f能看到common-auth信息

 

1月 22 10:32:39 guoyabin-PC dbus-daemon[4700]: [session uid=0 pid=4700] Activating service name='com.deepin.dde.lockFront' requested by ':1.153' (uid=0 pid=18055 comm="dbus-send --print-reply --dest=com.deepin.dde.lock")

1月 22 10:32:39 guoyabin-PC com.deepin.dde.lockFront[4700]: true

1月 22 10:32:39 guoyabin-PC startdde[4688]: startmanager.go:653: send openapp message, app info /usr/share/applications/dde-lock.desktop/Deepin Lock/dde-lock

1月 22 10:32:39 guoyabin-PC dbus-daemon[4700]: [session uid=0 pid=4700] Successfully activated service 'com.deepin.dde.lockFront'

1月 22 10:32:39 guoyabin-PC dde-lock[18059]: pam_deepin_authentication(common-auth:auth): Cannot get original tty attributes: 对设备不适当的 ioctl 操作

1月 22 10:32:39 guoyabin-PC dde-lock[18059]: pam_deepin_authentication(common-auth:auth): run getpwnam failed: 成功

1月 22 10:32:39 guoyabin-PC dde-lock[18059]: pam_deepin_authentication(common-auth:auth): Failed to call 'Authenticate': com.deepin.DBus.Error.Unnamed, argument username is empty

1月 22 10:32:39 guoyabin-PC dde-lock[18059]: pam_deepin_authentication(common-auth:auth): Cannot get original tty attributes: 对设备不适当的 ioctl 操作

1月 22 10:32:39 guoyabin-PC dde-lock[18059]: pam_deepin_authentication(common-auth:auth): run getpwnam failed: 成功

1月 22 10:32:39 guoyabin-PC dde-lock[18059]: pam_deepin_authentication(common-auth:auth): Failed to call 'Authenticate': com.deepin.DBus.Error.Unnamed, argument username is empty

1月 22 10:32:39 guoyabin-PC startdde[4688]: startmanager.go:653: send closeapp message, app info /usr/share/applications/dde-lock.desktop/Deepin Lock/dde-lock

尝试添加Ubuntu源也加不上- -

Reply Favorite View the author
All Replies
Ziggy
deepin
2021-01-23 04:49
#1

终端先exit看看

Reply View the author