服务器CentOS安装桌面

雨啸青锋 发布于 2021-03-12 701 次阅读


安装图形界面

安装图形桌面的软件包

yum groupinstall "Server with GUI" -y

设置图形模式为默认模式启动。

systemctl set-default graphical

执行以下命令,重启实例,重启后VNC连接看到图形界面。

reboot

windows远程桌面

安装连接工具Xrdp和VNC

wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum install -y xrdp

yum install -y tigervnc-server
启动xrdp并设置开机启动
systemctl start xrdp 
systemctl enable xrdp

嘿,大家好,小名尧尧,网名雨啸青锋,00后的小站主,某校高中生
最后更新于 2021-03-12