Chinaunix首页 | 论坛 | 博客
  • 博客访问: 65522
  • 博文数量: 20
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 185
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-02 11:15
文章分类
文章存档

2009年(4)

2008年(16)

我的朋友

分类:

2008-09-24 13:49:46

1. Download

    For x11vnc, go to ;

    For RealVNC, go to

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.

阅读(1193) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~