将 Debian 从 Stretch 升级到 Buster,但我在启动时遇到了麻烦xmonad
。
什么不起作用
我以前是从登录管理器开始的,但现在要么用gdm3
或lightdm
,我就直接被抛出了。
解决方法
从原始控制台(Ctrl++ )登录后,如果我创建一个文件并运行,Alt我可以启动 xmonad 。F2~/.xinitrx
startx
我想要的是
我希望能够选择xmonad
in gdm3
,然后登录,就像我以前在拉伸中所做的那样。
我使用的是默认的极简配置(从控制台运行),所以我不认为这是问题。
请告诉我哪些日志文件可能与发送相关!
日志
/var/log/syslog
尝试登录时:
Aug 13 09:12:24 vinden systemd[1]: session-c8.scope: Killing process 15753 (lightdm) with signal SIGTERM.
Aug 13 09:12:24 vinden systemd[1]: session-c8.scope: Killing process 15756 (lightdm-gtk-gre) with signal SIGTERM.
Aug 13 09:12:24 vinden systemd[1]: session-c8.scope: Killing process 15769 (uim-helper-serv) with signal SIGTERM.
Aug 13 09:12:24 vinden systemd[1]: Stopping Session c8 of user lightdm.
Aug 13 09:12:24 vinden systemd[1]: session-66.scope: Failed to add inotify watch descriptor for control group /user.slice/user-1000.slice/session-66.scope: No space left on device
Aug 13 09:12:24 vinden systemd[1]: Started Session 66 of user gauthier.
Aug 13 09:12:24 vinden at-spi-bus-launcher[8381]: dbus-daemon[8385]: Activating service name='org.a11y.atspi.Registry' requested by ':1.5' (uid=1000 pid=15983 comm="trayer --edge top --align right --SetDockType true")
Aug 13 09:12:24 vinden at-spi2-registr[15994]: Could not open X display
Aug 13 09:12:24 vinden at-spi-bus-launcher[8381]: dbus-daemon[8385]: Successfully activated service 'org.a11y.atspi.Registry'
Aug 13 09:12:24 vinden at-spi-bus-launcher[8381]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Aug 13 09:12:24 vinden at-spi2-registr[15994]: AT-SPI: Cannot open default display
Aug 13 09:12:24 vinden dbus-daemon[7613]: [session uid=1000 pid=7613] Activating service name='org.freedesktop.portal.IBus' requested by ':1.22' (uid=1000 pid=15977 comm="/usr/bin/ibus-daemon --daemonize --xim ")
Aug 13 09:12:24 vinden dbus-daemon[7613]: [session uid=1000 pid=7613] Successfully activated service 'org.freedesktop.portal.IBus'
Aug 13 09:12:25 vinden systemd[1]: session-66.scope: Killing process 15897 (lightdm) with signal SIGTERM.
Aug 13 09:12:25 vinden systemd[1]: session-66.scope: Killing process 15903 (gnome-keyring-d) with signal SIGTERM.
Aug 13 09:12:25 vinden systemd[1]: session-66.scope: Killing process 15906 (xmonad-session) with signal SIGTERM.
Aug 13 09:12:25 vinden systemd[1]: session-66.scope: Killing process 15960 (ssh-agent) with signal SIGTERM.
Aug 13 09:12:25 vinden systemd[1]: session-66.scope: Killing process 15977 (ibus-daemon) with signal SIGTERM.
Aug 13 09:12:25 vinden systemd[1]: session-66.scope: Killing process 15988 (ibus-dconf) with signal SIGTERM.
Aug 13 09:12:25 vinden systemd[1]: session-66.scope: Killing process 16007 (dropbox) with signal SIGTERM.
Aug 13 09:12:25 vinden systemd[1]: session-66.scope: Killing process 16008 (dropbox) with signal SIGTERM.
Aug 13 09:12:25 vinden systemd[1]: Stopping Session 66 of user gauthier.
Aug 13 09:12:25 vinden acpid: client 15746[0:0] has disconnected
Aug 13 09:12:25 vinden acpid: client connected from 16014[0:0]
Aug 13 09:12:25 vinden acpid: 1 client rule loaded
Aug 13 09:12:26 vinden systemd[1]: session-c9.scope: Failed to add inotify watch descriptor for control group /user.slice/user-118.slice/session-c9.scope: No space left on device
Aug 13 09:12:26 vinden systemd[1]: Started Session c9 of user lightdm.
答案1
问题解决了,但无关。我将发布我如何调试这个问题。
我需要检查/var/log/Xorg.0.log
,但该文件以某种方式被截断,因此我错过了错误。
- Ctrl使用+ Alt+在另一个 tty 中登录F1。
- 将日志文件中的所有新输入保存到单独的文件中:
tail -f /var/log/Xorg.0.log >> ~/tmp/Xorg.log
- Ctrl使用+ Alt+返回登录管理器F7。
- 尝试登录,在我的情况下它崩溃并返回到登录管理器。
- Ctrl使用+ Alt+返回到您的另一个 tty F1,观察 中发生了什么
~/tmp/Xorg.log
。
就我而言,如果您必须知道的话,xkbcomp
由于我的键盘配置文件中的错误而因分段错误而崩溃,并带走了整个事情。我认为这xkbcomp
是一个比我之前的版本更新的版本(因为我升级了 Debian),并且比旧版本对配置错误的恢复能力较差。