#!/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. export GNOME_SHELL_SESSION_MODE=ubuntu # 修改点1 export XDG_CURRENT_DESKTOP=ubuntu:GNOME # 修改点1
if test -r /etc/profile; then . /etc/profile fi export $(dbus-launch) # 修改点2
test -x /etc/X11/Xsession && exec /etc/X11/Xsession exec /bin/sh /etc/X11/Xsession