2009年3月11日 星期三

vnc on ubuntu 遠端遙控電腦

看了這一篇文章,一下子就裝好了:http://lifehacker.com/317125/set-up-vnc-on-ubuntu-in-four-steps

  1. Install packages. Code: sudo apt-get install x11vnc vnc-java
  2. Set up a password for clients. Code: x11vnc -storepasswd
  3. Open up ports 5800 and 5900 on your firewall
  4. Run the terminal command: x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800 and add it for auto-starting in future sessions
建一個文字檔.存成vncserver.sh並設為可以執行。
加個參數讓它在背景執行 x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800 -bg

以上是當server端的安裝

那需要一個client的工具:直接到安裝與刪除應用程式功能中,裝Gtk VNC Viewer就可以了。系統裝完就有個遠端桌面檢視器,也很好用。

沒有留言:

張貼留言