gdm3를 사용하여 로그인한 후 검은 화면

gdm3를 사용하여 로그인한 후 검은 화면

Ubuntu 22.04.3을 사용하여 Dell에서 gdm3을 수정하려고 시도한 후 이틀 동안 여러 번 시도했습니다. 어느 날 노트북을 부팅하고 사용자 비밀번호를 입력한 후 갑자기 검은 화면이 나타났습니다. 이 화면은 사용자 선택 목록으로 돌아가기 전에 약 2분 동안 유지됩니다.

lightdm에는 문제가 없고 gdm과 모든 계정에만 문제가 있습니다.

시스템 로그를 보면 다음과 같은 내용이 흥미로울 것이라고 생각했습니다.

systemd[1782]: app-gnome-gnome\x2dkeyring\x2dpkcs11-2132.scope: Couldn't move process 2132 to requested cgroup '/user.slice/user-1000.slice/[email protected]/app.slice/app-gnome-gnome\x2dkeyring\x2dpkcs11-2132.scope': No such process
systemd[1782]: app-gnome-gnome\x2dkeyring\x2dpkcs11-2132.scope: Failed with result 'resources'.
systemd[1782]: app-gnome-gnome\x2dkeyring\x2dpkcs11-2132.scope: Failed to add PIDs to scope's control group: No such process
systemd[1782]: Failed to start Application launched by gnome-session-binary.
...
gnome-session[2106]: gnome-session-binary[2106]: GnomeDesktop-WARNING: Could not create transient scope for PID 2136: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 2136 does not exist.
gnome-session-binary[2106]: GnomeDesktop-WARNING: Could not create transient scope for PID 2136: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 2136 does not exist.
systemd[1782]: [email protected]: Skipped due to 'exec-condition'.
systemd[1782]: Condition check resulted in GNOME Shell on X11 being skipped.
systemd[1782]: [email protected]: Scheduled restart job, restart counter is at 1.
systemd[1782]: Started Application launched by gnome-session-binary.
systemd[1782]: Stopped GNOME Shell on X11.
systemd[1782]: Starting GNOME Shell on X11...
...
systemd[1782]: [email protected]: start operation timed out. Terminating.
systemd[1782]: [email protected]: State 'stop-sigterm' timed out. Killing.
systemd[1782]: [email protected]: Killing process 2142 (gnome-shell) with signal SIGKILL.
systemd[1782]: [email protected]: Killing process 2172 (n/a) with signal SIGKILL.
systemd[1782]: [email protected]: Processes still around after SIGKILL. Ignoring.
systemd[1782]: [email protected]: State 'stop-post' timed out. Terminating.
systemd[1782]: [email protected]: State 'final-sigterm' timed out. Killing.
systemd[1782]: [email protected]: Killing process 2142 (gnome-shell) with signal SIGKILL.
systemd[1782]: [email protected]: Processes still around after final SIGKILL. Entering failed mode.
systemd[1782]: [email protected]: Failed with result 'timeout'.
systemd[1782]: [email protected]: Unit process 2142 (gnome-shell) remains running after unit stopped.
systemd[1782]: Failed to start GNOME Shell on Wayland.
systemd[1782]: [email protected]: Triggering OnFailure= dependencies.
systemd[1782]: Stopped Path trigger for Apport crash notifications.
systemd[1782]: Stopped Path trigger for new release of Ubuntu notifications.
systemd[1782]: Stopped target GNOME Wayland Session.
systemd[1782]: Stopped target GNOME Session Manager is ready.
systemd[1782]: Stopped target GNOME Shell.
systemd[1782]: Stopping GNOME Session Manager (session: ubuntu)...
systemd[1782]: Condition check resulted in Disable GNOME Shell extensions after failure being skipped.
systemd[1782]: Stopped GNOME Session Manager (session: ubuntu).
systemd[1782]: Stopped target Tasks to be run before GNOME Session starts.
systemd[1782]: Stopped target Session services which should run early before the graphical session is brought up.
systemd[1782]: Reached target Shutdown running GNOME Session.
systemd[1782]: Stopping Start gnome-keyring as SSH agent...
systemd[1782]: Stopping Monitor Session leader for GNOME Session...
systemd[1782]: Starting Restart DBus after GNOME Session shutdown...
systemd[1782]: Stopped target Shutdown running GNOME Session.
systemd[1782]: Reached target Shutdown running GNOME Session.
systemd[1782]: Stopped target Shutdown running GNOME Session.
systemd[1782]: Stopped Monitor Session leader for GNOME Session.
sh[2250]: /bin/sh: 1: initctl: not found
gdm-wayland-session: Gdm: session exited with status 0
systemd[1782]: Stopped Start gnome-keyring as SSH agent.
systemd[1782]: Started Restart DBus after GNOME Session shutdown.
systemd[1782]: Startup finished in 1min 57.339s.
[gdm-password]: Gdm: GdmSessionWorker: child (pid:1909) done (status:0)
[gdm-password]: Gdm: GdmSessionWorker: uninitializing PAM
gvfsd[1813]: A connection to the bus can't be made
[gdm-password]: Gdm: GdmSessionWorker: state NONE
[gdm-password]: Gdm: Trying script /etc/gdm3/PostSession
[gdm-password]: Gdm: script /etc/gdm3/PostSession not found; skipping
[gdm-password]: Gdm: Trying script /etc/gdm3/PostSession/Default
[gdm-password]: Gdm: Running process: /etc/gdm3/PostSession/Default
[gdm-password]: Gdm: Gdm: script environment: PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
[gdm-password]: Gdm: Gdm: script environment: LOGNAME=admin
[gdm-password]: Gdm: Gdm: script environment: USER=admin
[gdm-password]: Gdm: Gdm: script environment: USERNAME=admin
[gdm-password]: Gdm: Gdm: script environment: PWD=/home/admin
[gdm-password]: Gdm: Gdm: script environment: SHELL=/bin/bash
[gdm-password]: Gdm: Gdm: script environment: RUNNING_UNDER_GDM=true
[gdm-password]: Gdm: Gdm: script environment: GROUP=admin
[gdm-password]: Gdm: Gdm: script environment: HOME=/home/admin
systemd[1782]: Stopping D-Bus User Message Bus...
systemd[1]: run-user-1000-gvfs.mount: Deactivated successfully.
[gdm-password]: Gdm: Process exit status: 0
gdm3: Gdm: GdmSession: Emitting 'session-exited' signal with exit code '0'

tty를 사용할 수 있으므로 다음을 수행했습니다.

  • gdm3, gnome-software, ubuntu-desktop 및 ubuntu-gnome-desktop을 다시 설치했습니다.
  • .Xauthority파일 권한 확인
  • /etc/gdm3/custom.conf이 줄을 수정 하고 주석 처리를 제거하세요.WaylandEnable=false
  • 삭제된 .Xauthority파일
  • 삭제된 .config/dconf/user파일

불행히도 이들 중 어느 것도 작동하지 않습니다.

내 시스템에 대한 일부 정보:

uname -a

Linux admin-Inspiron-15-5510 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 13 16:27:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

LSPCI | VGA를 그렙

00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 03)

운전사:

문제가 무엇인지 모르겠습니다 :/

관련 정보