安装过程中,发现只有xfce和gnome两个与xrdp匹配没有问题,其余的dde闪退
sudo dnf makecache
sudo dnf groupinstall -y GNOME
sudo systemctl set-default graphical.target #修改启动级别为图形化
#GNOME应用安装-可选
sudo dnf install -y gnome-shell
sudo dnf install -y gnome-session
sudo dnf install -y gnome-terminal
sudo dnf install -y gnome-common
sudo dnf install -y gnome-software
sudo dnf install -y gnome-autoar
sudo dnf install -y gnome-bluetooth
sudo dnf install -y gnome-control-center
sudo dnf install -y gnome-control-center-filesystem
sudo dnf install -y gnome-dictionary
sudo dnf install -y gnome-disk-utility
sudo dnf install -y gnome-initial-setup
sudo dnf install -y gnome-keyring
sudo dnf install -y gnome-keyring-pam
sudo dnf install -y gnome-packagekit
sudo dnf install -y gnome-screenshot
sudo dnf install -y gnome-settings-daemon
sudo dnf install -y gnome-themes-standard
sudo dnf install -y gnome-backgrounds
sudo dnf install -y gnome-backgrounds-extras
sudo dnf install -y gnome-calculator
sudo dnf install -y gnome-calendar
sudo dnf install -y gnome-characters
sudo dnf install -y gnome-clocks
sudo dnf install -y gnome-contacts
sudo dnf install -y gnome-logs
sudo dnf install -y gnome-maps
sudo dnf install -y gnome-menus
sudo dnf install -y gnome-music
sudo dnf install -y gnome-photos
sudo dnf install -y gnome-remote-desktop
sudo dnf install -y gnome-system-monitor
sudo dnf install -y gnome-tour
sudo dnf install -y gnome-weather
-- 安装xfce桌面:https://docs.openeuler.org/zh/docs/22.03_LTS/docs/desktop/Install_XFCE.html
sudo dnf update
sudo dnf install -y dejavu-fonts liberation-fonts gnu-*-fonts \
google-*-fonts xorg-* xfwm4 xfdesktop xfce4-* xfce4-*-plugin \
network-manager-applet *fonts lightdm lightdm-gtk
dnf install -y dejavu-fonts
dnf install -y liberation-fonts
dnf install -y gnu-*-fonts
dnf install -y google-*-fonts
dnf install -y xorg-*
dnf install -y xfwm4
dnf install -y xfce4-*
dnf install -y xfce4-*-plugin
dnf install -y network-manager-applet
dnf install -y *fonts
dnf install -y lightdm
dnf install -y lightdm-gtk
dnf install -y firefox
echo 'user-session=xfce' >> /etc/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf
systemctl start lightdm
systemctl enable lightdm
systemctl status lightdm
systemctl set-default graphical.target
systemctl disable gdm
sudo reboot
-- 安装远程连接软件xrdp
wget https://mirrors.aliyun.com/epel/epel-release-latest-8.noarch.rpm
rpm -ivh epel-release-latest-8.noarch.rpm --nodeps
yum -y install xrdp
# sed -i 's/port=3389/port=3390/g' /etc/xrdp/xrdp.ini
sed -i 's/max_bpp=32/max_bpp=24/g' /etc/xrdp/xrdp.ini
echo xfce4-session > /root/.xsession
chmod +x /root/.xsession
systemctl restart xrdp && systemctl enable xrdp
rm -rf /etc/yum.repos.d/epel*
# 访问Linux(mstsc):192.168.59.220:3389
转载请注明出处: