![远程桌面 - 断开连接后 RDP 黑屏并中止](https://linux22.com/image/876423/%E8%BF%9C%E7%A8%8B%E6%A1%8C%E9%9D%A2%20-%20%E6%96%AD%E5%BC%80%E8%BF%9E%E6%8E%A5%E5%90%8E%20RDP%20%E9%BB%91%E5%B1%8F%E5%B9%B6%E4%B8%AD%E6%AD%A2.png)
注意:我浏览了很多问题,但没找到答案,请不要将此标记为重复!类似的问题已经在这里,但遗憾的是没有得到任何答案。
我正在尝试从我的 Windows 10 PC 连接到我的 Odroid XU4,在成功建立连接后(至少我认为如此),我的 Windows PC 上的屏幕变灰几秒钟,然后消失,没有任何错误消息。我在我的 Linux 机器上安装了“xrdp”。以下是 3 个步骤:
##中止##
编辑 这是系统日志输出:
Oct 3 08:25:18 odroid systemd[1]: Starting Session c4 of user odroid.
Oct 3 08:25:19 odroid org.a11y.Bus[2241]: Activating service name='org.a11y.atspi.Registry'
Oct 3 08:25:19 odroid org.a11y.Bus[2241]: Successfully activated service 'org.a11y.atspi.Registry'
Oct 3 08:25:19 odroid org.a11y.atspi.Registry[2283]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Oct 3 08:25:19 odroid gnome-session[2197]: gnome-session-is-accelerated: No composite extension.
Oct 3 08:25:19 odroid gnome-session[2197]: gnome-session-check-accelerated: Helper exited with code 256
Oct 3 08:25:24 odroid gnome-session[2197]: gnome-session-is-accelerated: No composite extension.
Oct 3 08:25:24 odroid gnome-session[2197]: gnome-session-check-accelerated: Helper exited with code 256
Oct 3 08:25:24 odroid gnome-session[2197]: x-session-manager[2197]: WARNING: software acceleration check failed: Child process exited with code 1
Oct 3 08:25:24 odroid x-session-manager[2197]: WARNING: software acceleration check failed: Child process exited with code 1
Oct 3 08:25:24 odroid x-session-manager[2197]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Oct 3 08:25:24 odroid gnome-session[2197]: x-session-manager[2197]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Oct 3 08:25:24 odroid org.a11y.atspi.Registry[2283]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":10.0"
Oct 3 08:25:24 odroid org.a11y.atspi.Registry[2283]: after 11 requests (11 known processed) with 0 events remaining.
Oct 3 08:25:24 odroid org.gtk.vfs.Daemon[2241]: A connection to the bus can't be made
Oct 3 08:25:24 odroid org.gtk.vfs.Daemon[2241]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Oct 3 08:25:24 odroid org.a11y.Bus[2241]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
答案1
我找到了解决方案,将此行放入终端后,它起作用了:
echo mate-session> ~/.xsession
如果这对您没有帮助,请先尝试以下命令:
sudo apt-get install mate-core
(我不确定,但我使用了 hardkernel 预编译的修改版 ubuntu。Mate 是桌面环境,但我能够“重新”安装 mate-core,而不仅仅是更新现有的。也许这就是问题所在。)
答案2
已解决:输入以下命令:
sudo sed -i '/allowed_users=console/allowed_users=anybody/' /etc/X11/Xwrapper.config
答案3
另一个选择是尝试 Parallels 客户端:
有关如何获取和安装它的说明可以在这里找到: http://kb.parallels.com/en/123304 (他们提供了一个 .deb 包,让你的生活更轻松。:))
答案4
您所看到的是由于这个错误在 GNOME 3 中。您可以使用其他桌面环境,例如 KDE。