远程桌面 - RDP 黑屏并在断开连接后中止

cod*_*leb 12 remote-desktop mate raspberrypi xrdp windows-10

注意:我浏览了很多问题,没有找到答案,请不要将其标记为重复!一个类似的问题已经在这里,但遗憾的是它没有收到任何答案。

我正在尝试从我的 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.
Run Code Online (Sandbox Code Playgroud)

cod*_*leb 11

我找到了解决方案,将此行放入终端后,它起作用了:

echo mate-session> ~/.xsession
Run Code Online (Sandbox Code Playgroud)

如果这对您没有帮助,请先尝试以下命令:

sudo apt-get install mate-core
Run Code Online (Sandbox Code Playgroud)

(我不确定,但我使用了 hardkernel 的预编译修改 ubuntu。Mate 是桌面环境,但我能够“新”安装 mate-core,而不仅仅是更新现有的。也许这是问题。)