老電腦常有個問題:時間錯誤,所以在安裝好Linux與網路之後,系統自動同步時間,sodu就會發生因為時間錯誤而無法使用,解決方法參考自:
http://ubuntu.group.javaeye.com/group/blog/71999
1.查看錯誤信息,如,sudo: timestamp too far in the future: Apr 18 04:56:03 2007
2.修改系統當前時間,晚於錯誤中的日期時間,如改為Apr 19 04:56:03 2007
3.執行 sudo -k 命令.
4.將系統時間改回當前的正確時間.ok一切完成.
螢幕解析度方面,ubuntu居然抓不到CRT解析度,結果只能顯示800x600,造成螢幕太小根本點不到調整解析度的按鈕,只好手動處理~
修改/etc/X11/xorg.conf
#Section "Monitor"為螢幕設定值,重點似乎是加入HorizSync與VertRefresh,有了之後似乎會比較正常~
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-70
VertRefresh 50-160
EndSection
#Section "Screen"為螢幕解析度設定,應該是可以手動增加SubSection "Display"的部份去設定解析度,在Modes的地方設定"1024x768"好像就可以了~
Section "Screen"
Identifier "Screen0"
Device "945GM"
Monitor "Acer AL1711"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection
基本上我這樣亂調就可以設定到1024x768了,反正能完整看到畫面就好了~其他不在意~
安裝Xubuntu沒有附遠端桌面系統,得自行安裝~
比較網路資料後,還是選擇安裝:tightvncserver - virtual network computing server software
參考自:http://www.ubuntu.org.tw/modules/newbb/viewtopic.php?post_id=6028#forumpost6028
試著將 ~/.vnc/xstartup 換成下面的內容試試:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
#exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session &
若要使用Xubuntu的Xfce4介面則將粗體字改為:xfce4-session &即可