//root
$ apt-get install tightvncserver
$ sudo adduser vusr
//vncusr
$ vncserver
http://www.realvnc.com/products/download.html
Free Edition
VNC Viewer vnc-4_1_3-x86_win32
a.b.c.d:5901
login as: vusr
vusr@10.11.12.210's password: ***********
Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-8-server x86_64)
* Documentation: http://www.ubuntu.com/server/doc
System information as of Mon Nov 28 22:40:11 CST 2011
System load: 0.27 Processes: 118
Usage of /: 2.5% of 67.38GB Users logged in: 1
Memory usage: 2% IP address for eth0: 10.11.12.210
Swap usage: 0%
Graph this data and manage this system at https://landscape.canonical.com/
Last login: Mon Nov 28 22:18:39 2011 from 10.11.12.218
vusr@u1104s64:~$ vncserver
You will require a password to access your desktops.
Password:
Warning: password truncated to the length of 8.
Verify:
Would you like to enter a view-only password (y/n)? y
Password:
Warning: password truncated to the length of 8.
Verify:
xauth: file /home/vusr/.Xauthority does not exist
New 'X' desktop is u1104s64:1
Creating default startup script /home/vusr/.vnc/xstartup
Starting applications specified in /home/vusr/.vnc/xstartup
Log file is /home/vusr/.vnc/u1104s64:1.log
vusr@u1104s64:~$
//terminal turn on
vncserver
//default 5901 port
//vncpasswd
沒有留言:
張貼留言