一大早上起來折騰Solaris10 on VMWare.
本來安裝沒什麼問題,不過不知怎麼搞得X裡沒法顯示中文。
這下麻煩了。再用Xorg -configure無論如何不靈了--黑屏,按啥鍵都沒反應了,只能重啟。
以前也碰到這種情況,一直不知道怎麼解決。今天決定弄個清楚。
Textmode is not properly restored
This has been reported on some configurations. Many laptops use the programmable clock of the 6554x chips at the console. It is not always possible to find out the setting that is used for this clock if BIOS has written the MClk after the VClk. Hence the server assumes a 25.175MHz clock at the console. This is correct for most modes, but can cause some problems. Usually this is fixed by switching between the LCD and CRT. Alternatively the user can use the "TextClockFreq" option described above to select a different clock for the text console. Another possible cause of this problem is if linux kernels are compiled with the "APM_DISPLAY_BLANK" option. As mentioned before, try disabling this option.
無語了。。。我沒有CRT可換,也不知道上哪去找那個text mode的clock。只能用xorgconfig了。
用xorgconfig要回答一堆問題,在選顯卡的時候竟然看見了這個:
29 ** VMWare guest OS (generic) [vmware] -
30 2 the Max MAXColor S3 Trio64V+ -
31 2-the-Max MAXColor 6000 ET6000
...
設置完後進入X,這回字體正常了,但鼠標不能在vmware內外自由切換了(我之前裝過vmware tools)。
想了一下,可能是因為xorgconfig的時候改變了鼠標設置。重新運行了一下vmware-config-tools-.pl,一切OK了。
在Solaris的console模式下,經常因為輸入錯誤系統發出滴滴得聲音,在Dell D620筆記本上,這個聲音非常大,經常會把家裡人嚇一跳(其實我已經在Windows裡把它關掉了,但不知為什麼對vmware不起作用)。如果是在X Window裡面,可以很容易的把它關掉:xset b 0
f=400 # beep frequency in Hz
echo "beep_params+4?W0t$f;.+c?W0t$f" | mdb -kwm
(注意分號後面是個"."
可以把這段加到/etc/rc2.d/S20sysetup中