gdm3を使用してログインした後、黒い画面

gdm3を使用してログインした後、黒い画面

Ubuntu 22.04.3を使用してDellでgdm3を修正しようとした後、2日間何度も試しました。ある日、ラップトップを起動してユーザーのパスワードを入力した後、突然黒い画面が表示されました。この画面は、ユーザー選択リストに戻る前に約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)

ドライバー:

問題が何であるかわからない:/

関連情報