Posts Tagged ‘Ubuntu’

Turn your VPS/Dedicated Server into a Remote Desktop!

Monday, April 21st, 2008

警告,這很惡搞 XD

Why would you do that? Because you can! And the fact that it’s a VPS/Dedicated Server, chances are its Internet connection is a lot faster than yours. As root, the following steps are tested working for Ubuntu 7.10 Gutsy.

1) Install Gnome, vnc4server, inetd
apt-get install gnome compiz vnc4server openbsd-inetd

2) Enable XDMCP
Edit /etc/gdm/gdm.conf
Look for:
[xdmcp]
Enable=false

Change it to:
Enable=true

3) Configure inetd:
Edit /etc/inetd.conf, add (one line):
5901 stream tcp nowait root /usr/bin/Xvnc Xvnc -inetd :1 -query localhost -geometry 800x600 -once -fp /usr/share/fonts/X11/misc -DisconnectClients=0 -NeverShared securitytypes=none -extension XFIXES
Now restart inetd with service restart openbsd-inetd

4) Restart GDM
service restart gdm

DONE. Now you can access your VPS as a GNOME desktop with with any vnc client at serveraddress:1, :1 being the display. You can add multiple displays for multiple desktops at the same time ;)

好孩子不要嘗試喔 XD

SSH 斷線問題

Sunday, April 20th, 2008

最近剛搬到 Slicehost,有個大問題就是 SSH 沒放多久就自動斷線
明明隔壁視窗的 Bluehost 都放了兩天 idle 都沒斷,為啥 Slicehost 才半個小時就葛掉了
稍微找了一下 (其實我丟了一張 ticket :$),發現其實只要再 sshd 裡面修改一下就好了:
編輯 /etc/ssh/sshd_config
KeepAlive yes
ClientAliveInterval 60

還有因為我是從 Ubuntu 下面 GTerm 連過去的,所以其實還可以這樣改:
編輯 ~/.ssh/config
ServerAliveInterval 60

然後很奇妙的是,不再斷線了 XD
Bye bye SSH disconnecting every so fu*ing often :)

Daemon Tools for Ubuntu

Sunday, April 13th, 2008

沒那種東西 .D.

不過 AcetoneISO 是個很不錯的 replacement!

寫這篇文章時候裝的版本是 2.0.1 (Package) 裝了後馬上就可以用了

他有個很方便的 Play DVD-Movie ISO 的功能

AcetoneISO2

簡單說就是 Mount + Launch Media Player 包在一起的貼心 (!?) 小程式

Microsoft Scroll Wheel Speed in GNOME

Tuesday, March 18th, 2008

我的 Microsoft Wireless Laser Mouse 6000 在 GNOME 裡面一直有捲動的問題

簡單說就是輕輕碰到 scroll wheel 就會捲個整個畫面,非常的無法使用

剛剛在覺得很煩的時候下定決心去找一下,看看 GNOME 裡面有沒有選項來改變

找到了這篇: Change scroll wheel speed

裡面內容大致就是說那滑鼠會那麼敏感是因為發送出 multiple event

解法就是在 Linux 下面拔起來再重新插回去就好了

Wireless Receiver 似乎是在 Windows 下面時候會跟 Driver 談好送 multiple event

而 GNOME 下面還不認識那些 Event,就會造成捲動大暴走

Burn .ccd .img .sub in Ubuntu

Monday, January 28th, 2008

sudo apt-get install ccd2iso

ccd2iso image.img image.iso

All Rights Reserved Copyright © 2008 Design by StyleShout and Clazh