Solaris下使用VNC z


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.


<script type="text/javascript"> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值