免费注册 查看新帖 |

Chinaunix

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

VNC solaris HOWTO [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-09-14 11:19 |只看该作者 |倒序浏览

                                                VNC is a remote control software which lets you see and interact with desktop applications across the network.
  • install VNC from www.blastwave.org[aubrey-lab@~] sudo pkg-get install vncserver
    [aubrey-lab@~] sudo pkg-get install vncviewer
  • Change fontpath to match solaris configuration[aubrey-lab@~]cat /opt/csw/bin/vncserver.diff
    --- $fontPath = "tcp/localhost:7100";
    +++ #$fontPath = "tcp/localhost:7100";
    ---#$fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi";
    +++$fontPath = "/usr/lib/X11/X11/fonts/misc/,/usr/lib/X11/X11/fonts/75dpi";
    • Add the path of the command "xrdb" to your environment PATH
    [aubrey-lab@~]exporth PATH=/usr/openwin/bin:$PATH
  • Startup gnome-session when start VNC server[aubrey-lab@~]cat ~/.vnc/xstartup
    ---/usr/openwin/bin/twm &
    +++#/usr/openwin/bin/twn &
    +++/usr/bin/gnome-session &
  • Now it's time to start VNC server[aubrey-lab@~]vncserver
    New 'X' desktop is aubrey-lab:1
    Starting application specified in /export/home/aubrey/.vnc/xstartup
    Log file is /export/home/aubrey/.vnc/aubrey-lab:1.log
    • And It can be killed by the following command
    [aubrey-lab@~]vncserver -kill :1
    • OK, you can connect this server by vncviewer on another machine, enter VNC server as "aubrey-lab:1", after password is checked successfully, you'll see the gnome desktop of the server.

                   
                   
                   
                   
                   
                   
                   
                   
                   

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

    本版积分规则 发表回复

      

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

    清除 Cookies - ChinaUnix - Archiver - WAP - TOP