免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2080 | 回复: 0
打印 上一主题 下一主题

Solaris下使用VNC [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-24 13:49 |只看该作者 |倒序浏览
  1. Download
  
    For x11vnc, go to
ftp://ftp.sunfreeware.com/pub/freeware
;

    For RealVNC, go to
http://www.realvnc.com/index.html

  2. Install
  
    Decompress the package downloaded firstly.

    For x11vnc, install it in this way:
    pkgadd -d x11vnc-0.7-sol10-sparc-local

    For RealVNC, install it like this:
    cd vnc-4_1_2-sparc_solaris    ./vncinstall /usr/local/bin

  3. Configure
  
    Start a vnc session in this way:

    vncserver

    If it fails with the error like this:
    vncserver: couldn't find "xauth" on your PATH.

    It means that xauth can't be found in the current PATH variable.
    Add the location of 'xauth' to PATH in this way:
    export PATH=$PATH:/usr/X/bin/

    It only works if 'xauth' resides under '/usr/X/bin' and this may be different for other OS.
    Run 'vncserver' again, and the output may look like this:
#vncserver
New 'bjsol16:1 (antong)' desktop is bjsol16:1
Starting applications specified in /nfs/users/antong/.vnc/xstartup
Log file is /nfs/users/antong/.vnc/bjsol16:1.log

    If you want to see gnome desktop enviroment in vncviewer, you can modify .vnc/xstartup under you home directory
  4. Test
  
    Use vncviewer to connect to the server:
    vncviewer bjsol16:1

    Text the password and enjoy the remote desktop.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/78078/showart_1220161.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP