首页 > centos7 安装vnc

centos7 安装vnc

vncserver可以打开
[root@localhost Desktop]# vncserver

New 'localhost.localdomain:1 (mariadb)' desktop is localhost.localdomain:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log
也配置了xstartup

启动vnc服务

/etc/rc.d/init.d/vncserver start

提示找不到文件
bash: /etc/rc.d/init.d/vncserver: No such file or directory

怎么解决


命令行执行vncserver后就启动vnc服务器,还要vncserver start干嘛

/etc/init.d/vncserver这个文件应该是要存在的,请问你用的是什么vnc,重新安装一遍yum reinstall tigervnc-server -y

【热门文章】
【热门文章】