|
通常管理使用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
请指正。
有空写点服务管理的体会。 |
|