CentOS安装xfce以及XRDP的方法

安装XFCE部分


yum install -y epel-release
yum groupinstall -y "X Window system"
yum groupinstall -y xfce
yum install -y wqy*
systemctl isolate graphical.target
systemctl set-default graphical.target
yum install -y ibus.x86_64 ibus-libpinyin.x86_64 im-chooser.x86_64
wget  https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

sudo yum localinstall -y google-chrome-stable_current_x86_64.rpm
adduser username
passwd username
reboot

安装XRDP部分

yum install -y xrdp
systemctl enable xrdp
systemctl start xrdp
firewall-cmd --add-port=3389/tcp --permanent
firewall-cmd --reload
echo "xfce4-session" > ~/.Xclients
chmod a+x ~/.Xclients


发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注