fbconfig 命令(适用于 Solaris 10 及更早版本)fbconfig -list
fbconfig -res 1920x1080x60
# 格式:宽度x高度x刷新率
修改 /etc/X11/gdm/gdm.conf 或相应显示管理器配置文件。
xrandr 命令(适用于 Solaris 11 及更新版本)xrandr
xrandr --output VGA-0 --mode 1920x1080 --rate 60
vi /etc/X11/xorg.conf
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Modes "1920x1080" "1280x1024" "1024x768"
EndSubSection
EndSection
kdmconfig(CDE 环境)运行交互式配置工具:
kdmconfig
按照提示选择合适的分辨率。
# 查看显卡信息
prtconf -v | grep display
# 查看当前分辨率
xwininfo -root | grep geometry
# 临时测试分辨率(15秒后恢复)
xrandr --output VGA-1 --mode 1280x1024 --rate 75 --size 1280x1024
根据你的 Solaris 版本和桌面环境选择合适的方案。