開機: VBoxHeadless -v off -s VMNAME (不開啟 VRDE server)
關機: VBoxManage controlvm VMNAME acpipowerbutton (acpipowerbutton 可換成 poweroff)
掛載光碟: VBoxManage storageattach VMNAME --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium ./CDIMAGE.iso
更改硬碟大小: VBoxManage modifyhd VDIFILE.vdi --resize 30000 (單位 MB)
Convert mdf/mds to iso on Mac
Posted by
Yu-Jui Chiang (Rocet)
at
10:50
在 Mac 上要 mount mdf/mds 的 CD image,有人說只要把 mdf 附檔名改成 iso 就可以了,但我試的結果是失敗的。
所以去找了 mdf2iso 這隻程式,抓下來 compile 一下就可以用了,轉換的速度也蠻快的。
所以去找了 mdf2iso 這隻程式,抓下來 compile 一下就可以用了,轉換的速度也蠻快的。
Tags:
Mac
Cygwin 安裝設定
Posted by
Yu-Jui Chiang (Rocet)
at
16:26
1. 安裝 X server: xinit, xhost
修改鍵盤設定: D:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c '/usr/bin/startxwin.exe -- -xkblayout us_intl'
設定權限: xhost + [ip]
2. 安裝 SSH server: openssh
改 port: /etc/sshd_config (先 chmod 666)
開啟 X11Forwarding yes
修改鍵盤設定: D:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c '/usr/bin/startxwin.exe -- -xkblayout us_intl'
設定權限: xhost + [ip]
2. 安裝 SSH server: openssh
改 port: /etc/sshd_config (先 chmod 666)
開啟 X11Forwarding yes
Tags:
cygwin
X remote display
Posted by
Yu-Jui Chiang (Rocet)
at
20:50
開啟 xserver 的 tcp listen
修改 /etc/gdm/gdm.conf 將 DisallowTCP 設為 false
restart gdm
允許 host 使用 local 的 xserver
#xhost + [host]
remote side:
設定 DISPLAY=xserver:0.0
修改 /etc/gdm/gdm.conf 將 DisallowTCP 設為 false
restart gdm
允許 host 使用 local 的 xserver
#xhost + [host]
remote side:
設定 DISPLAY=xserver:0.0
Firefox 3.5 在 Ubuntu 上的字體
Posted by
Yu-Jui Chiang (Rocet)
at
11:12
Firefox 3.5 已經出來一段時間了,可是在 Ubuntu 上我還是一直在用 3.0,因為 3.5 版的字體看起來比較胖,讓我不是很喜歡 XD。還好後來找到了這篇討論,照著改之後就變成跟 3.0 一樣的字體了。
修改方法:
修改方法:
cd /etc/fonts/
sudo mv conf.d/10-hinting-slight.conf .
sudo ln -s conf.avail/10-hinting-slight.conf conf.d/
sudo mv conf.d/10-hinting.conf .
sudo ln -s conf.avail/10-hinting.conf conf.d/
sudo dpkg-reconfigure fontconfig
ibb - 手機上的 BBS 瀏覽器
Posted by
Yu-Jui Chiang (Rocet)
at
15:40
今天在 PTT 上找到 ibb 這個軟體,上網查了一下他的介面,感覺還不錯,只是看到介紹說一定要先把登入密碼儲存起來就覺得怪怪的,就開 wireshark 來聽一下封包,才知道原來所有的連線都是以 HTTP 的方式透過 ibb 的 server 在傳輸,雖然 ibb 網站上的隱私權與使用條款是寫不會紀錄帳號密碼,但還是覺得不太書胡;除了這個問題之外,這種連線方式也會讓傳輸的資料量變大,也就是如果手機上網不是吃到飽方案的話,可能需要多付一點 $$。所以有重度 BBS 需求的就自己評估一下囉。
訂閱:
文章 (Atom)