Centos7 vnc配置

来源:互联网 发布:阿里云服务器能退吗 编辑:程序博客网 时间:2024/06/15 08:02

yum install tigervnc-server 

 

systemctl stop firewalld.service

 

systemctl disable firewalld.service

 

cp /lib/systemd/system/vncserver@.service /lib/systemd/system/vncserver@:1.service

 

vncpasswd 

 

systemctl daemon-reload  

 

systemctl start vncserver@:1.service && systemctl enable vncserver@:1.servic

#若出现抱错,是因为配置文件root路径的原因

0 0
原创粉丝点击