Reconfigure Crash Xserver on Ubuntu

The problems that often occur there is usually a change in the resolution of a monitor in ubuntu. In fact this problem can be solved by running the command:

$ Sudo dpkg-reconfigure xserver-Xorg

But for the ubuntu distro version above 7:10, the command above does not fully solve the problem, so the need to manually edit the file /etc/X11/xorg.conf. To make editing the following in your terminal:

$ Sudo pico / etc/X11/xorg.conf

default contents are as follows (xorg.conf ubuntu 8.10):

#Xorg.conf (X. Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# Values from the debconf database.
#
# Edit this file with CAUTION, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-Xorg package Upgrades * only *
# If it has not been modified since the last upgrade of the xserver-Xorg
# Package.
#
# Note that some configuration settings that could be done Previously
# In this file, now are automatically configured by the server and settings
# Here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# Again, run the following command:
# Sudo dpkg-reconfigure-phigh xserver-Xorg


Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection


To restore the screen resolution to be 1024Ã-768, after the change or error occurs, you can edit the file over into the following:


Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "Xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "VESA"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31.0 - 48.0
VertRefresh 50.0 - 70.0
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection

next stay in the store. Because I use the pico text editor, to save enough so that pressing
Ctrl + w

Restart your compter.
Happy Testing....!!!

No comments:

Post a Comment

Please Comment...!!