1、查看VNC版本
# pkginfo -l SUNWxvnc
PKGINST: SUNWxvnc
NAME: X11/VNC server
CATEGORY: system
ARCH: i386
VERSION: 6.6.2.0500,REV=0.2008.02.15
BASEDIR: /usr
VENDOR: Oracle Corporation
DESC: X Window System server based on X.Org Foundation open source release and RealVNC open source release that displays over RFB protocol to a VNC client
PSTAMP: x10x20110408150959
INSTDATE: Mar 19 2014 15:35
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 22 installed pathnames
10 shared pathnames
11 directories
4 executables
1 setuid/setgid executables
8842 blocks used (approx)
2、把以下行添加到 /etc/services
vnc-server 5900/tcp # Xvnc
3、启动Services
# svcadm enable xvnc-inetd
# svcs xvnc-inetd
STATE STIME FMRI
online 16:22:30 svc:/application/x11/xvnc-inetd:default
4、设置退出窗口保留
# svccfg -s xvnc-inetd
svc:/application/x11/xvnc-inetd> editprop
这是一个vi任务. 找到下面这一行...
#setprop inetd/wait = boolean: (false)
把值设为true,保存文件,exict退出svccfg,运行命令...
# svcadm refresh xvnc-inetd
5、把/usr/X11/bin添加到.profile
6、运行# vncserver,设置vnc登陆口令
7、客户端连接测试
阅读(1893) | 评论(0) | 转发(0) |