시스템이 정상적으로 시작되고 로그인됩니다. xterm을 열면 다음과 같은 일이 발생합니다.
$ groups
rphelps
$ su rphelps
Password:
$ groups
rphelps adm cdrom sudo dip www-data plugdev lpadmin sambashare kismet docker
SSH를 통해 로그인하면 내 그룹이 올바르게 설정됩니다. X 대신 tty에 로그인하면 내 그룹이 올바르게 설정됩니다.
X 세션에서 로그아웃하거나 Ctrl+Alt+L을 누르면 세션이 닫히지만 인사말이 (다시) 시작되지 않거나 잠금 화면이 작동하지 않는 것 같습니다.데스크탑으로 다시 돌아오네요.
저는 최근 화면 보호기(xscreensaver, gnome-screensaver 등)를 조작하여 30분 후에 화면을 잠그려고 했습니다(운이 좋지 않았습니다). 이를 지우면 로그아웃에 중요한 콘텐츠가 제거됩니까?
/etc/
수동으로 파일을 수정 하지 않았습니다 .
주분투 18.04
편집 1:
$ journalctl -u lightdm.service
-- Reboot --
Jul 25 11:21:01 rphelps-DELL systemd[1]: Starting Light Display Manager...
Jul 25 11:21:01 rphelps-DELL lightdm[993]: Seat type 'xlocal' is deprecated, use 'type=local' instead
Jul 25 11:21:01 rphelps-DELL systemd[1]: Started Light Display Manager.
Jul 25 11:21:02 rphelps-DELL lightdm[1179]: pam_kwallet(lightdm-greeter:setcred): (null): pam_sm_setcred
Jul 25 11:21:02 rphelps-DELL lightdm[1179]: pam_kwallet5(lightdm-greeter:setcred): (null): pam_sm_setcred
Jul 25 11:21:02 rphelps-DELL lightdm[1179]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Jul 25 11:21:03 rphelps-DELL lightdm[1179]: pam_kwallet(lightdm-greeter:session): (null): pam_sm_open_session
Jul 25 11:21:03 rphelps-DELL lightdm[1179]: pam_kwallet(lightdm-greeter:session): pam_kwallet: open_session called without kwallet_key
Jul 25 11:21:03 rphelps-DELL lightdm[1179]: pam_kwallet5(lightdm-greeter:session): (null): pam_sm_open_session
Jul 25 11:21:03 rphelps-DELL lightdm[1179]: pam_kwallet5(lightdm-greeter:session): pam_kwallet5: open_session called without kwallet5_key
Jul 25 11:21:03 rphelps-DELL lightdm[1854]: pam_succeed_if(lightdm:auth): incomplete condition detected
Jul 25 11:22:37 rphelps-DELL lightdm[1854]: pam_kwallet(lightdm:auth): (null): pam_sm_authenticate
Jul 25 11:22:37 rphelps-DELL lightdm[1854]: pam_kwallet5(lightdm:auth): (null): pam_sm_authenticate
Jul 25 11:22:37 rphelps-DELL lightdm[1854]: pam_kwallet(lightdm:setcred): pam_kwallet: pam_sm_setcred
Jul 25 11:22:37 rphelps-DELL lightdm[1854]: pam_kwallet5(lightdm:setcred): pam_kwallet5: pam_sm_setcred
Jul 25 11:22:37 rphelps-DELL lightdm[1854]: pam_unix(lightdm:session): session opened for user rphelps by (uid=0)
Jul 25 11:22:37 rphelps-DELL lightdm[1854]: pam_kwallet(lightdm:session): pam_kwallet: pam_sm_open_session
Jul 25 11:22:37 rphelps-DELL lightdm[993]: Error writing to daemon: Bad file descriptor
Jul 25 11:22:37 rphelps-DELL lightdm[993]: Failed to write utmpx: Permission denied
Jul 25 11:34:02 rphelps-DELL lightdm[993]: Failed to write utmpx: Permission denied
Jul 25 11:34:02 rphelps-DELL lightdm[993]: Error writing to daemon: Bad file descriptor
Jul 25 11:34:02 rphelps-DELL lightdm[993]: Failed to write utmpx: Permission denied
Jul 25 11:40:38 rphelps-DELL lightdm[993]: Failed to write utmpx: Permission denied
Jul 25 11:40:38 rphelps-DELL lightdm[993]: Error writing to daemon: Bad file descriptor
Jul 25 11:40:38 rphelps-DELL lightdm[993]: Failed to write utmpx: Permission denied
Jul 25 11:50:05 rphelps-DELL lightdm[993]: Failed to write utmpx: Permission denied
Jul 25 11:50:05 rphelps-DELL systemd[1]: Stopping Light Display Manager...
Jul 25 11:50:05 rphelps-DELL lightdm[993]: Error updating user /org/freedesktop/Accounts/User1000: GDBus.Error:org.freedesktop.systemd1.ShuttingDown: Refusing
Jul 25 11:50:05 rphelps-DELL lightdm[993]: seat_lock: assertion 'seat != NULL' failed
Jul 25 11:50:05 rphelps-DELL lightdm[993]: Error updating user /org/freedesktop/Accounts/User1000: GDBus.Error:org.freedesktop.systemd1.ShuttingDown: Refusing
Jul 25 11:50:05 rphelps-DELL lightdm[993]: Error updating user /org/freedesktop/Accounts/User1000: GDBus.Error:org.freedesktop.systemd1.ShuttingDown: Refusing
Jul 25 11:50:07 rphelps-DELL systemd[1]: Stopped Light Display Manager.