不重启X Windows服务,怎样改变显示分辨率?
解决方法:

xrandr工具提供这样的功能。执行命令xrandr,查看xrandr可以支持的分辨率列表:

可以切换的分辨率列表:

 SZ:    Pixels          Physical       Refresh
 0   1600 x 1200   ( 363mm x 272mm )   75
*1   1280 x 1024   ( 363mm x 272mm )  *85
 2   1024 x 768    ( 363mm x 272mm )   85
 3    800 x 600    ( 363mm x 272mm )   85
 4    640 x 480    ( 363mm x 272mm )   85
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none

当前使用的分辨率会被星号("*")标出来。在这里,当前的分辨率是1280x1024。

改变分辨率,执行xrandr -s 0,0在这里是想要的分辨率编号。

例如:xrandr -s 3 将系统的分辨率改为800x600。在不同的系统中显示的分辨率列表不一定相同,意思就是xrandr -s 2这一个系统中显示的分辨率不一定和其他系统中的一样。