Chinaunix首页 | 论坛 | 博客
  • 博客访问: 12982
  • 博文数量: 1
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 20
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-18 18:08
文章分类
文章存档

2015年(1)

我的朋友

分类: SOLARIS

2015-01-22 17:14:11

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、客户端连接测试
阅读(1801) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:没有了

给主人留下些什么吧!~~