修改VMware下Ubuntu界面分辨率过高问题
2008-11-26 00:57
471 查看
在虚拟机中安装UBuntu后,登录界面的分辨率一直过高,导致每次输入登录名和密码都要拖动,很是不方便;修改屏幕分辨率也无济于事。
后来,在/ect/X11/下,发现多了一个xorg.conf.BeforeVMwareToolsInstall文件,看来是由于安装VMwareTools修改了配置文件。于是进行对照,发现原来的
Section "Screen"
Identifier "Default Screen"
Device "VMware Inc [VMware SVGA II] PCI Display Adapter"
Monitor "Generic Monitor"
DefaultDepth 24
EndSection
被修改为:
Section "Screen"
Identifier "Default Screen"
Device "VMware SVGA"
Monitor "vmware"
# Don't specify DefaultColorDepth unless you know what you're
# doing. It will override the driver's preferences which can
# cause the X server not to run if the host doesn't support the
# depth.
Subsection "Display"
# VGA mode: better left untouched
Depth 4
Modes "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 8
Modes "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 15
Modes "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768"
ViewPort 0 0
EndSubsection
EndSection
在Section "Screen"中多了几个子段Subsection "Display",这几个子段中列举出了几组分辨率和颜色深度,忽然明白,其实也可以自己进行修改/etc/X11/xorg.conf文件,修改方法:去掉原来的默认的颜色深度,增加几组子段Subsection "Display",在子段中,列举出相应的Modes模式(也就是分辨率),Depth颜色深度,以及ViewPort(应该是视图顶点,为0 0),需要注意的是:这几组中的分辨率应该为你要改成的分辨率,只是其颜色深度不同而已;修改完成后保存,然后重启即可。
另外,安装完VMwareTools后,鼠标的滚轮突然不能使用,原来配置文件中关于鼠标的配置也被修改:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ps/2" #此处原来为"ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
将"ps/2"改为"ImPS/2"保存,重启后即可。
后来,在/ect/X11/下,发现多了一个xorg.conf.BeforeVMwareToolsInstall文件,看来是由于安装VMwareTools修改了配置文件。于是进行对照,发现原来的
Section "Screen"
Identifier "Default Screen"
Device "VMware Inc [VMware SVGA II] PCI Display Adapter"
Monitor "Generic Monitor"
DefaultDepth 24
EndSection
被修改为:
Section "Screen"
Identifier "Default Screen"
Device "VMware SVGA"
Monitor "vmware"
# Don't specify DefaultColorDepth unless you know what you're
# doing. It will override the driver's preferences which can
# cause the X server not to run if the host doesn't support the
# depth.
Subsection "Display"
# VGA mode: better left untouched
Depth 4
Modes "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 8
Modes "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 15
Modes "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768"
ViewPort 0 0
EndSubsection
EndSection
在Section "Screen"中多了几个子段Subsection "Display",这几个子段中列举出了几组分辨率和颜色深度,忽然明白,其实也可以自己进行修改/etc/X11/xorg.conf文件,修改方法:去掉原来的默认的颜色深度,增加几组子段Subsection "Display",在子段中,列举出相应的Modes模式(也就是分辨率),Depth颜色深度,以及ViewPort(应该是视图顶点,为0 0),需要注意的是:这几组中的分辨率应该为你要改成的分辨率,只是其颜色深度不同而已;修改完成后保存,然后重启即可。
另外,安装完VMwareTools后,鼠标的滚轮突然不能使用,原来配置文件中关于鼠标的配置也被修改:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ps/2" #此处原来为"ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
将"ps/2"改为"ImPS/2"保存,重启后即可。
相关文章推荐
- 修改Ubuntu登录界面分辨率过高的问题
- Vmware 中安装 Ubuntu Server (或者ubuntu 以文本界面登陆时) 分辨率无法全屏问题
- 在用vmware安装ubuntu的时候由于分辨率问题,界面显示不全解决办法
- 在用vmware安装ubuntu的时候由于分辨率问题,界面显示不全解决办法
- Vmware 14.0 版本中安装Ubuntu 17.10版本无法调整分辨率的问题
- vmware中修改ubuntu的分辨率
- 解决Ubuntu 启动时登录界面分辨率问题
- VMware下安装Ubuntu16.04不支持1920*1080分辨率的问题(1920*1080下无法全屏)
- New Surface pro +Vmware 12 +Ubuntu 16.04 分辨率问题
- vmware修改Linux终端界面分辨率的方法
- Ubuntu 14.04 13.10修改字符界面分辨率,字体大小
- 解决VMware下安装Ubuntu15不支持1920X1080分辨率的问题
- 安装vmware-tools后,Ubuntu还是无法正常显示分辨率的问题
- Ubuntu10.04修改开机画面界面分辨率
- 解决VMware下安装Ubuntu 16.04 不支持1920X1080分辨率的问题
- VMware中修改Ubuntu的分辨率
- 解决ubuntu无法修改分辨率为1920*1080问题
- vmware14Pro中ubuntu系统界面太小的问题解决
- VMware中Ubuntu 修改分辨率
- 关于Ubuntu14.04在VMware中分辨率的问题