怎么用Centos系统做VNC远程桌面
VNC是Centos系列系统自带的一款远程桌面
操作方法
- 01
如果安装系统的时候没有装图形界面,那么需要安装图形界面的rpm包,共289个 [root@test Packages]# yum -y groupinstall "desktop"[root@test Packages]# yum -y install mousetweaks
- 02
安装完毕后再安装VNC的rpm包 [root@test Packages]# yum -y install vnc *vnc-server*
- 03
安装完毕后修改VNC的主配置文件 [root@test ~]# vi /etc/sysconfig/vncservers
- 04
复制最后两行并去掉注释,修改为 VNCSERVERS="1:root"VNCSERVERARGS[1]="-geometry 1024x768 "
- 05
设置VNCserver服务root用户远程连接密码 [root@test ~]# vncserver You will require a password to access your desktops.Password:Verify:xauth: creating new authority file /root/.XauthorityNew 'test:1 (root)' desktop is test:1Creating default startup script /root/.vnc/xstartupStarting applications specified in /root/.vnc/xstartupLog file is /root/.vnc/test:1.log
- 06
启动VNCserver服务 [root@test ~]# service vncserver startStarting VNC server: 1:root New 'test:1 (root)' desktop is test:1Starting applications specified in /root/.vnc/xstartupLog file is /root/.vnc/test:1.log[ OK ]