1. 检查vnc客户端和服务器是否已经安装: [gavin@centos ~]$ rpm -q vnc vnc-server package vnc is not installed vnc-server-4.0-8.1 cent os 5已包含vnc的安装包 2. 将用户名称加入到配置文件: (注:这里的“用户名”是指linux系统用户的名称) [gavin@centos ~]# vi /etc/sysconfig/vncservers # # Uncomment the line below
整个流程如下~ 1.首先,检查下本机是否安装了vnc: 提示没有安装,那么开始装吧: 2.先关闭防火墙 查看防火墙状态: 关闭防火墙: 注:要切到root下 [carsonzhu@localhost 桌面]$ yum install vnc vnc-server Loaded plugins: fastestmirror, refresh-packagekit, security You need to be root to perform this command. [carsonzhu@lo