1. 安装VNC
1.1 安装图形界面
1.2 安装配置vnc
具体如下:
- [root@oracle ~]# vncserver :1
- You will require a password to access your desktops.
- Password:
- Verify:
- Would you like to enter a view-only password (y/n)? y
- Password:
- Verify:
- xauth: file /root/.Xauthority does not exist
- New 'oracle.sysit.cn:1 (root)' desktop is oracle.sysit.cn:1
- Creating default startup script /root/.vnc/xstartup
- Creating default config /root/.vnc/config
- Starting applications specified in /root/.vnc/xstartup
- Log file is /root/.vnc/oracle.sysit.cn:1.log
- [root@oracle ~]# netstat -antlp | grep vnc
- tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 31009/Xvnc
- tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN 31009/Xvnc
- tcp6 0 0 :::5901 :::* LISTEN 31009/Xvnc
- tcp6 0 0 :::6001 :::* LISTEN 31009/Xvnc
1.3 指定分辨率和色