狼愛上貍

          我胡漢三又回來了

          Solaris下安裝VNC

          以前都是讓硬件部門協(xié)助安裝,今天硬件人員不在,嘗試自己安裝。

           


          首先從VNC官方網(wǎng)站下載一個FREE版本的VNC。

          在目標(biāo)服務(wù)器上解壓:

          # gunzip vnc-4_1_3-sparc_solaris.pkg.gz

          下面利用pkgadd命令安裝VNC包:

          # pkgadd -d vnc-4_1_3-sparc_solaris.pkg

          The following packages are available:
          1 VNC VNC Free Edition for Solaris
          (sparc) 4.1.3

          Select package(s) you wish to process (or 'all' to process
          all packages). (default: all) [?,??,q]: 1

          Processing package instance <VNC> from </var/spool/pkg/vnc-4_1_3-sparc_solaris.pkg>

          VNC Free Edition for Solaris(sparc) 4.1.3

          Copyright (C) 2002-2005 RealVNC Ltd. All rights reserved.

          This is free software; you can redistribute it and/or modify
          it under the terms of the GNU General Public License as published by
          the Free Software Foundation; either version 2 of the License, or
          (at your option) any later version.

          This software is distributed in the hope that it will be useful,
          but WITHOUT ANY WARRANTY; without even the implied warranty of
          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
          GNU General Public License for more details.
          Using </usr/local> as the package base directory.
          ## Processing package information.
          ## Processing system information.
          ## Verifying disk space requirements.
          ## Checking for conflicts with packages already installed.

          The following files are already installed on the system and are being
          used by another package:
          * /usr/local/bin <attribute change only>

          * - conflict with a file which does not belong to any package.

          Do you want to install these conflicting files [y,n,?,q] y
          ## Checking for setuid/setgid programs.

          This package contains scripts which will be executed with super-user
          permission during the process of installing this package.

          Do you want to continue with the installation of <VNC> [y,n,?] y

          Installing VNC Free Edition for Solaris as <VNC>

          ## Installing part 1 of 1.
          /usr/local/bin/Xvnc
          /usr/local/bin/vncconfig
          /usr/local/bin/vncpasswd
          /usr/local/bin/vncserver
          /usr/local/bin/x0vncserver
          /usr/local/man/man1/Xvnc.1
          /usr/local/man/man1/vncconfig.1
          /usr/local/man/man1/vncpasswd.1
          /usr/local/man/man1/vncserver.1
          /usr/local/man/man1/x0vncserver.1
          /usr/local/vnc/classes/index.vnc
          /usr/local/vnc/classes/logo150x150.gif
          /usr/local/vnc/classes/vncviewer.jar
          [ verifying class <server> ]
          /usr/local/bin/vncviewer
          /usr/local/man/man1/vncviewer.1
          [ verifying class <viewer> ]
          /usr/local/doc/vnc-E/LICENSE.txt
          /usr/local/doc/vnc-E/README
          [ verifying class <doc> ]
          ## Executing postinstall script.
          Checking for xauth... /usr/openwin/bin
          WARNING: /usr/openwin/bin/xauth is not on your path.
          Checking for perl... [OK]
          Checking for uname... [OK]

          Installation of <VNC> was successful.

          下面就可以通過VNCPASSWORD設(shè)置密碼,并使用VNCSERVER來啟動VNC后臺進(jìn)程:

          # /usr/local/bin/vncpasswd
          Password:
          Verify:
          # /usr/local/bin/vncserver
          vncserver: couldn't find "Xvnc" on your PATH.
          # export PATH=$PATH:/usr/local/bin
          # vncserver &
          [1] 15921
          # xauth: creating new authority file //.Xauthority

          New 'ser2:1 ()' desktop is ser2:1

          Creating default startup script //.vnc/xstartup
          Starting applications specified in //.vnc/xstartup
          Log file is //.vnc/ser2:1.log


          [1]+ Done vncserver

          注意要將VNCSERVER命令的目錄添加到PATH路徑中,后臺啟動VNCSERVER后,就可以使用VNCVIEWER訪問ser2:1了。



          來自:  http://pub.itpub.net/post/468/482239

          posted on 2009-12-31 16:38 狼愛上貍 閱讀(819) 評論(0)  編輯  收藏 所屬分類: SOLARIS

          主站蜘蛛池模板: 东阿县| 长垣县| 上思县| 郎溪县| 宁国市| 叶城县| 涟水县| 罗甸县| 韩城市| 高清| 五原县| 卢氏县| 汉阴县| 两当县| 西贡区| 肃宁县| 宁武县| 新绛县| 曲阳县| 札达县| 邵阳县| 蚌埠市| 陵川县| 英吉沙县| 视频| 宜昌市| 嘉兴市| 博乐市| 东明县| 宁夏| 建水县| 池州市| 嘉义县| 柳林县| 阳东县| 鄂托克旗| 栖霞市| 咸宁市| 博客| 万荣县| 定兴县|