#!/bin/sh
# xrdp X session start script (c) 2015, 2017, 2021 mirabilos
# published under The MirOS Licence
# Rely on /etc/pam.d/xrdp-sesman using pam_env to load both
# /etc/environment and /etc/default/locale to initialise the
# locale and the user environment properly.
if test -r /etc/profile; then
. /etc/profile
fi
export STARTUP=/usr/libexec/gnome-flashback-metacity
test -x /etc/X11/Xsession && exec /etc/X11/Xsession
exec /bin/sh /etc/X11/Xsession
gnome 会话非常依赖于 GL 加速。在 xrdp 上,它实际上没有实现。我什至没有尝试设置它。我看到两种简单的方法:
使用更简单的会话,例如
gnome-session-flashback
.apt install gnome-session-flashback
并在登录设置中选择“Gnome Flashback (Metacity)”。
要在特定用户上安装:
或者为文件 /etc/xrdp/startwm.sh 中的每个人添加一行 STARTUP
或者使用 X2Go、XSpice 和 XVnc 代替 xrdp。在我看来,香料更有希望。
但可能更好地证明了 x2go