首先从网上下载:
[Oracle@jumper]$ wget http://www.realVNC.com/dist/VNC-4.0-x86_Linux.tar.gz 100%[==============================>] 1,625,390 52.67K/s ETA 00:00 10:35:04 (52.67 KB/s) - `VNC-4.0-x86_Linux.tar.gz" saved [1625390/1625390] |
发现4.0版本安装起来更加方便,解压后按照README文档操作即可:
[root@xcorder ]# tar -xvf VNC-4.0-x86_Linux.tar
|
此时即可启动VNCserver:
[root@xcorder ]# VNCserver You will require a password to access your desktops. Password: New "xcorder.sky.cn:1 (root)" desktop is xcorder.sky.cn:1 Creating default startup script /root/.VNC/xstartup |
如果存在防火墙,还需要开放防火墙,然后就可以通过浏览器在5801端口访问VNCserver了.