由于我的nvidia GPU和我最喜欢的终端目前不支持Wayland,我需要使用Xorg作为服务器。
在登录期间,使用Xorg选择与GNOME相关的设备(在安装17.10之后,我切换到了香草GNOME界面)给了我一个黑色的闪烁屏幕,然后我被弹回登录屏幕。有人能提供一些关于我需要做什么来解决这个问题的洞察力吗?
我可以通过openbox登录,echo $XDG_SESSION_TYPE给了我x11,所以我知道Xorg是存在的。我已经运行了安装程序附带的Ubuntu修复实用程序。
我已经将WaylandEnable=false在/etc/gdm3/custom.conf中设置为false,这允许登录屏幕运行Xorg,但是闪烁的黑色屏幕问题仍然存在。
这是我最后一次使用ubuntu从/var/log/auth.log登录:
Dec 5 18:37:37 micks-MS-7A33 gdm-password]: pam_unix(gdm-password:session): session opened for user micks by micks(uid=0)
Dec 5 18:37:37 micks-MS-7A33 systemd-logind[886]: New session 6 of user micks.
Dec 5 18:37:37 micks-MS-7A33 dbus[869]: [system] Rejected send message, 2 matched rules; type="error", sender=":1.2" (uid=0 pid=886 comm="/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" d
estination=":1.177" (uid=1000 pid=2861 comm="/usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/use")
Dec 5 18:37:38 micks-MS-7A33 dbus[869]: [system] Rejected send message, 2 matched rules; type="error", sender=":1.2" (uid=0 pid=886 comm="/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" d
estination=":1.177" (uid=1000 pid=2861 comm="/usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/use")
Dec 5 18:37:38 micks-MS-7A33 dbus[869]: [system] Rejected send message, 2 matched rules; type="error", sender=":1.2" (uid=0 pid=886 comm="/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" d
estination=":1.177" (uid=1000 pid=2861 comm="/usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/use")
Dec 5 18:37:38 micks-MS-7A33 dbus[869]: [system] Rejected send message, 2 matched rules; type="error", sender=":1.2" (uid=0 pid=886 comm="/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" d
estination=":1.177" (uid=1000 pid=2861 comm="/usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/use")
Dec 5 18:37:38 micks-MS-7A33 dbus[869]: [system] Rejected send message, 2 matched rules; type="error", sender=":1.2" (uid=0 pid=886 comm="/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" d
estination=":1.177" (uid=1000 pid=2861 comm="/usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/use")
Dec 5 18:37:38 micks-MS-7A33 dbus[869]: [system] Rejected send message, 2 matched rules; type="error", sender=":1.2" (uid=0 pid=886 comm="/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" d
estination=":1.177" (uid=1000 pid=2861 comm="/usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/use")
Dec 5 18:37:38 micks-MS-7A33 dbus[869]: [system] Rejected send message, 2 matched rules; type="error", sender=":1.2" (uid=0 pid=886 comm="/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" d
estination=":1.177" (uid=1000 pid=2861 comm="/usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/use")编辑:把WaylandEnable=false作为评论块放回我还是很受欢迎
Dec 5 19:13:48 micks-MS-7A33 dbus[877]: message repeated 17 times: [ [system] Rejected send message, 2 matched rules; type="error",
sender=":1.0" (uid=0 pid=833 comm="/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus
.Error.UnknownMethod" requested_reply="0" destination=":1.147" (uid=1000 pid=4369 comm="/usr/bin/gnome-shell ")]所以org.freedesktop.DBus.Error.UnknownMethod仍然是问题所在
发布于 2017-12-06 01:01:08
在WaylandEnable上运行会话并不需要将X.org设置为false。我建议在您的配置中注释这一行,重新启动,并尝试再次登录Xorg上的GNOME。
编辑:我应该补充说,在我自己的gdm3配置中更改这个设置会导致类似的登录问题,并恢复我所做的更改解决了它。
https://askubuntu.com/questions/983606
复制相似问题