About DevDailies
-
What to do when your XSERVER crashes?
How to login if there is no video display in Linux?
The different linux flavours like ubuntu, mandriva, redhat, opensuse uses xserver to display video onto the display device i.e your monitor.
A common problem faced while installing a new system is that the auto-detection of the graphic chip is not successful or is incorrect, in such a situation the systm boots with no display at all. A similar problem can occur if an attempt to install or upgrade the graphic drivers of the graphic card is unsuccessful.
What to do? How to repair the system when we cant see anything?
The simple solution to this problem is to go to a virtual console i.e press Ctrl-F1 or Ctrl-F2 ... or till Ctrl-F12.. (Ctrl-F7 will not work as it is the terminal on which the xserver is running.. so you wont see a thing..) :D
1.) Now log into the virtual terminal as root.
2.) type vi /etc/X11/xorg.conf
3.) press INSERT key
4.) edit the following section.. as directed
Section "Device"
Identifier "device1"
VendorName "ATI Technologies Inc"
BoardName "ATI Radeon X1950 and earlier"
Driver "ati"-----------------(edit this to Driver "vesa")
Option "DPMS"
EndSection
5.) press ESC key
6.) type :wq
7.) reboot system or press Ctrl-Alt-Backspace to restart xserver.
TroubleShooting :
If you are getting out of frequency warning. You need to do this.
Section "Monitor"
Identifier "monitor1"
VendorName "LG Electronics Inc."
ModelName "LG ez T710SH"
HorizSync 30.0-71.0------(comment out these two lines as shown below)
VertRefresh 50.0-160.0
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "LG Electronics Inc."
ModelName "LG ez T710SH"
#HorizSync 30.0-71.0------(commented out lines)
#VertRefresh 50.0-160.0------(commented out lines)
EndSection
========================================
A SAMPLE xorg.conf FILE......
========================================
## # xorg.conf for kernel=2.4.x # Graphics = Creator/Elite (ffb/afb) # sun type5 keyboard Section "ServerLayout" Identifier "Modified_for_xorg-x11_kernel_2.4.26" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "HandleSpecialKeys" "Always" Option "DontVTSwitch" "off" EndSection Section "Files" RgbPath "/usr/lib/X11/rgb" ModulePath "/usr/lib/modules" FontPath "/usr/share/fonts/misc:unscaled" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/misc" FontPath "/usr/share/fonts/75dpi" FontPath "/usr/share/fonts/100dpi" FontPath "/usr/share/fonts/cyrillic" FontPath "/usr/share/fonts/truetype" FontPath "/usr/share/fonts/TTF" FontPath "/usr/share/fonts/ukr" EndSection Section "ServerFlags" Option "StandbyTime" "10" Option "SuspendTime" "20" Option "OffTime" "30" EndSection Section "Module" Load "dbe" Load "type1" Load "bitmap" Load "drm" Load "dri" Load "extmod" Load "freetype" Load "record" Load "glx" ## # If you are experimenting with USE='hardened dlloader' you should also use: # If you are using >=xorg-x11-6.8.0-r4, dlloader is REQUIRED and you MUST use: Load "cfb" Load "cfb32" EndSection Section "InputDevice" Identifier "Keyboard0" ## # Driver "kbd" Option "Protocol" "Standard" Option "XkbKeycodes" "sun(type5)" Option "XkbModel" "type5" Option "XkbRules" "sun" Option "XkbLayout" "us" Option "XkbTypes" "types/complete" Option "XkbCompat" "compat/complete" Option "XkbGeometry" "sun(type5unix)" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "MouseSystems" Option "Device" "/dev/sunmouse" Option "Emulate3Buttons" "false" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Samsung" ModelName "SyncMaster 171v" Option "DPMS" "on" EndSection Section "Device" Identifier "Card0" BoardName "Sun|FFB2+ Creator 3D (series 3) (ffb2+)" VendorName "Sun Microsystems" Driver "sunffb" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 EndSubSection EndSection Section "DRI" Group "video" Mode 0666 EndSection
========================================




0 comments: