我在这个网站上寻找解决尝试运行时发生的分段错误的办法gnome-control-center
。我犯了一个可悲的错误,盲目地遵循了发布的解决方案这里我没有检查他们的技术情况是否符合我自己的技术情况。我使用了命令
$ gsettings reset-recursively org.gnome.desktop.wm.keybindings
然后重新启动。当我尝试重新登录时,这导致了登录循环。有人建议尝试重新安装gnome-keyring
或卸载某些 Nvidia 驱动程序,但是,我不知道这些命令可能产生的意外后果。系统信息如下。我在 Thinkpad X220 上使用 Ubuntu 20.04,运行 DWM 作为我的 wm。
.xinitrc
文件:
#!/bin/sh
setxkbmap -option caps:escape
feh --bg-scale ~/Downloads/Pictures/darkforest.jpg
export AWT_TOOLKIT=MToolkit
dwmstatus 2>&1 >/dev/null &
exec dwm
journalctl -xe
输出:
Mar 12 16:03:34 bxtt dbus-daemon[841]: [session uid=1000 pid=841] Activating service name='org.freedesktop.secrets' requested by ':1.9' (uid=1000 pid=905 comm="/usr/libexec/goa-daemon " label="unconfined")
Mar 12 16:03:34 bxtt gnome-keyring-daemon[975]: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
Mar 12 16:03:34 bxtt gnome-keyring-d[975]: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
Mar 12 16:03:34 bxtt dbus-daemon[841]: [session uid=1000 pid=841] Successfully activated service 'org.freedesktop.secrets'
Mar 12 16:03:34 bxtt dbus-daemon[841]: [session uid=1000 pid=841] Activating service name='org.gnome.keyring.SystemPrompter' requested by ':1.15' (uid=1000 pid=975 comm="/usr/bin/gnome-keyring-daemon --start --foreground" label="unconfined")
Mar 12 16:03:34 bxtt org.gnome.keyring.SystemPrompter[982]: Unable to init server: Could not connect: Connection refused
Mar 12 16:03:34 bxtt gcr-prompter[982]: cannot open display:
Mar 12 16:03:34 bxtt dbus-daemon[841]: [session uid=1000 pid=841] Activated service 'org.gnome.keyring.SystemPrompter' failed: Process org.gnome.keyring.SystemPrompter exited with status 1
Mar 12 16:03:34 bxtt gnome-keyring-daemon[975]: couldn't create system prompt: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.keyring.SystemPrompter exited with status 1
Mar 12 16:03:34 bxtt gnome-keyring-d[975]: couldn't create system prompt: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.keyring.SystemPrompter exited with status 1
Mar 12 16:03:34 bxtt goa-daemon[905]: secret_password_lookup_sync() returned NULL
Mar 12 16:03:34 bxtt goa-daemon[905]: /org/gnome/OnlineAccounts/Accounts/account_1624846805_0: Setting AttentionNeeded to TRUE because EnsureCredentials() failed with: No credentials found in the keyring (goa-error-quark, 4)
答案1
尝试放入dbus-update-activation-environment --systemd DISPLAY
我的.xinitrc
和.bashrc
但没有结果后,我只是使用Ctrl+Alt+F3
然后卸载xdm
并重新安装,从而解决了该问题。