LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1306|回复: 0

NetBSD 远程桌面的使用(vnc)的一点体会。

[复制链接]
发表于 2004-7-30 00:51:00 | 显示全部楼层 |阅读模式
通常管理使用ssh webmin不过使用vnc也许更有趣
netbsd: {70} pkgfind vnc
net/tightvnc: Display X and Win32 desktops on remote X/Win32/Java displays
net/tightvncviewer: Viewer for remote X and Win32 VNC servers
net/vnc: Display X and Win32 desktops on remote X/Win32/Java displays
net/vncviewer: Viewer for remote X and Win32 VNC servers
net/x2vnc: Multi-console display using X and VNC
我使用的是 tightvnc
cd /usr/pkgsrc/net/tightvnc
make install clean-depends
--------------------server------------------------------------------------
netbsd: {71} pkg_info -dL tightvnc
Information for tightvnc-1.2.9:

Description:
"VNC stands for Virtual Network Computing. It is, in essence, a remote
display system which allows you to view a computing 'desktop'
environment not only on the machine where it is running, but from
anywhere on the Internet and from a wide variety of machine
architectures."

Tight VNC is a modified version of VNC that offers some performance
improvements -- local cursor handling, better compression algorithms,
etc.

Homepage:
http://www.tightvnc.com/

Files:
/usr/pkg/bin/Xvnc
/usr/pkg/bin/vncconnect
/usr/pkg/bin/vncpasswd
/usr/pkg/bin/vncserver
/usr/pkg/man/man1/Xvnc.1
/usr/pkg/man/man1/vncconnect.1
/usr/pkg/man/man1/vncpasswd.1
/usr/pkg/man/man1/vncserver.1

------------------------client-----------------------
cd /usr/pkgsrc/net/tightvncviewer
make clean-depends

netbsd: {73} pkg_info -dL tightvncviewer
Information for tightvncviewer-1.2.9:

Description:
"VNC stands for Virtual Network Computing. It is, in essence, a remote
display system which allows you to view a computing 'desktop'
environment not only on the machine where it is running, but from
anywhere on the Internet and from a wide variety of machine
architectures."

Tight VNC is a modified version of VNC that offers some performance
improvements -- local cursor handling, better compression algorithms,
etc.

This package contains the viewer for remote X and Win32 VNC servers

Homepage:
http://www.tightvnc.com/

Files:
/usr/pkg/bin/vncviewer
/usr/pkg/lib/X11/app-defaults/Vncviewer
/usr/pkg/man/cat1/vncviewer.0
/usr/pkg/share/doc/vncviewer/README
---------------------------创建服务器------------------
例如(man vncserver)
vncserver -geometry 800x600 -depth 16 :13
第一次,你输入密码(客户端登陆)用
以后可以不输入。
更改登陆环境
cd .vnc
vi xstarup
---my xstartup with chinese icewm-----

netbsd: {78} more xstartup
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
export LANG=zh_CN.eucCN
export LC_CTYPE=zh_CN.eucCN
icewm-session


----------------------------客户端连接-------------------
unix:
vncviewer xx.xx.xx.xx:13
windows
使用任何vnc客户端都可以。

好了就这么多。如果你觉得不安全,可以用ssh 隧道加密
-----------------------号外------------------------------
netbsd: {79} pkgfind rdesktop
net/rdesktop: Open-source Remote Desktop Protocol client
rdesktop是Windows 终端服务的客户端。-
用来远程桌面管理windows,很好用。

rdesktop -a16 -g800x600 xx.xx.xx.xx:port

请指正。

有空写点服务管理的体会。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表