一大早上起来折腾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中