2011年1月26日 星期三

羊角村交通

交通
羊角村距離阿姆斯特丹約 120 公里,坐火車到 Amersfoort 換車, 到Steenwijk下車。出Steenwijk車站後左前方即可看到公車站牌。轉公車 No.70 在 Ds T O Hylkemaweg (Giethoorn)下車,一小時一班車,站排上時間表表示週六週日沒有公車,所以盡量不要在週六週日安排至羊角村

公車下車後,往前走約30公尺左轉約30公尺,在右手邊就可以看到 VVV (Informaiton center),(在附近有一個超市),看到VVV 左轉約50公尺就可以看到河道,右轉沿著河道就可以看到租船,一直走到底約1.5公里,就是羊角村的步行觀光區域,與走來得路線成一個 T 字型。

2011年1月4日 星期二

ubuntu ncurses

According to http://packages.ubuntu.com/dapper/libdevel/

We can find
lib32ncurses5-dev (5.5-1ubuntu3) [universe]
Developer's libraries for ncurses (32-bit)
==> sudo apt-get install libncurses5-dev

VNC 自動登陸於 ubuntu

I have found a workaround for this issue on 10.04.
Open up Applications->Accessories->Passwords and Encryption Keys
Right click Passwords:login and unlock it.
You should be able to expand the tree and find a listing for vino. Right click and delete it.
Close Passwords and Encryption Keys.
Open gconf-editor as and navigate to /desktop/gnome/remote_access
Enter in your BASE64 encoded password into the vnc_password key.
Save the config and close the editor.
Reboot and you can now use your VNC client to connect to your machine without being first prompted with the keyring.

http://edmullen.net/mozilla/moz_base64.php

2011年1月3日 星期一

Fedora VNC

1. System - Preferences - Remote Desktop
2. Sharing
    --> Enable "Allow other users to view your desktop"
3. Security
    --> Disable "You must confirm each access to this machine"
    --> Enable "Require the user to enter this password:" and input a password
4. vi /etc/sysconfig/iptables
    --> Add "-A INPUT -m state --state NEW -m tcp -p tcp -- dport 5900 -j ACCEPT"
5. issue "service iptables restart"

Network proxy

1. System - Preferences - Network Proxy

2. For apt-get
     export http_proxy=http://172.19.67.126:3128
     export ftp_proxy=http://172.19.67.126:3128