What should I do if the Ubuntu login screen resolution is too high?

  

Recently, users have reported that the Ubuntu system installed in the virtual machine found that the resolution of the login interface is very high, which makes it necessary to drag the page to enter the login name and password each time you log in, which brings inconvenience to the operation. Some users have also modified the screen resolution, but the problem has not been solved. So, what should I do if the Ubuntu login interface resolution is too high?

Under /ect /X11 /, found in a xorg.conf.BeforeVMwareToolsInstall file appears to be due to the installation VMwareTools modified the configuration file. So I made a comparison and found the original

Section “Screen”

Identifier “Default Screen”

Device “VMware Inc [VMware SVGA II] PCI Display Adapter”

Monitor “Generic Monitor 

DefaultDepth 24

EndSection

has been modified to:

Section “Screen”

Identifier “Default Screen”

Device “VMware SVGA 

Monitor “VMware”

# Don‘t specify DefaultColorDepth unless you know what you&rsquo ;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

In Section “Screen” There are several subsections Subsection “Display”, these sub-segments list several sets of resolution and color depth, suddenly understand, in fact, you can also modify the /etc/X11/xorg.conf file , modify method: remove the original default color depth, add several groups Subsection “Display”, in the sub-segment, enumerate the corresponding Modes mode (that is, resolution), Depth color depth, and ViewPort (which should be the view vertex, 0 0). Note that these groups The resolution should be the resolution you want to change, but the color depth is different; save after saving, and then restart.

In addition, after installing VMwareTools, the mouse wheel suddenly cannot be used. The configuration of the mouse in the original configuration file has also been modified:

Section “InputDevice”

Identifier “Configured Mouse”

Driver “mouse”

Option “CorePointer”

Option “Device” “/dev/input/mice”

Option “Protocol” “ps/2” #here was originally “ImPS/2”

Option “ZAxisMapping” “4 5”

Option “ Emulate3Buttons” “true”

EndSection

Change “ps/2” to “ImPS/2” save and restart.

The above is the solution for the Ubuntu login interface resolution is too high, the resolution of the login interface is too high will affect the operation, users who encounter the same problem quickly try the above method.

Copyright © Windows knowledge All Rights Reserved