Chyrania Posted December 18, 2005 Report Share Posted December 18, 2005 Guys, I cocked up my xorg.conf trying to get my MX510 to jump through hoops and now I can't boot into graphical mode. I figure if I access xorg.conf I can restore the original settings that I commented out. Exactly how I do edit xorg.conf from command line? Quote Link to comment Share on other sites More sharing options...
scarecrow Posted December 18, 2005 Report Share Posted December 18, 2005 Exactly how I do edit xorg.conf from command line? <{POST_SNAPBACK}> su (provide root password) urpmi mc nano (if they aren't already installed) Now either type mc and then navigate to the /etx/X11 directory, highlight xorg.conf and pressing F4 (for editing) F2 (for saving) and F10 (for leaving), or alternatively nano /etc/x11/xorg.conf (Very easy to use console text editor, don't think any particular usage instructions are needed, unlike the more common vi editor). Quote Link to comment Share on other sites More sharing options...
Chyrania Posted December 18, 2005 Author Report Share Posted December 18, 2005 Will give it a try. Thanks. Quote Link to comment Share on other sites More sharing options...
Chyrania Posted December 18, 2005 Author Report Share Posted December 18, 2005 I'm still unable to boot into graphical mode. How do I print my xorg.conf while running at command line level? If I can figure that out, I will post my xorg.conf for you to look at. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted December 18, 2005 Report Share Posted December 18, 2005 Do you have some easy storage medium, e.g. a USB pendrive? Quote Link to comment Share on other sites More sharing options...
Chyrania Posted December 18, 2005 Author Report Share Posted December 18, 2005 The only storage I have is a DVD burner. I copied the mouse entries from my xorg.conf in the hope that it will point someone in the right direction: Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "dev/mouse" Option "ZAxisMapping" "6 7" Hope that helps a bit. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted December 18, 2005 Report Share Posted December 18, 2005 It doesn't help. Open your printer, and try first the simple lpr /etc/X11/xorg.conf as root. Quote Link to comment Share on other sites More sharing options...
Chyrania Posted December 18, 2005 Author Report Share Posted December 18, 2005 Couldn't figure out how to get this from Linux to Windows. Thank the lordy for command line ftp. ------------------------------------------------------------------------------------------ Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "6 7" EndSection # File generated by XFdrake. # ********************************************************************** # Refer to the XF86Config man page for details about the format of # this file. # ********************************************************************** Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" Screen "screen1" 0 0 EndSection Section "Files" # Multiple FontPath entries are allowed (they are concatenated together) # By default, Mandrake 6.0 and later now use a font server independent of # the X server to render fonts. FontPath "unix/:-1" EndSection Section "Module" Load "dbe" # Double-Buffering Extension Load "v4l" # Video for Linux Load "extmod" Load "type1" Load "freetype" Load "glx" # 3D layer Load "dri" # direct rendering EndSection Section "ServerFlags" #DontZap # disable <Crtl><Alt><BS> (server abort) #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching) # allows the server to start up even if the mouse does not work Option "allowmouseopenfail" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "keyboard" Option "XkbModel" "pc105" Option "XkbLayout" "gb" Option "XkbOptions" "compose:rwin" EndSection Section "Monitor" # Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4) ### Uncomment if you don't want to default to DDC: # HorizSync 30.0 - 81.0 # VertRefresh 56.0 - 75.0 Identifier "monitor1" VendorName "Plug'n Play" ModelName "SyncMaster" ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync ModeLine "768x576" 50.0 768 832 846 1000 576 590 595 630 ModeLine "768x576" 63.1 768 800 960 1024 576 578 590 616 EndSection Section "Device" # Note: When OpenGL Overlay is enabled, Video Overlay # will be disabled automatically # === Screen Management === # === disable PnP Monitor === Identifier "device1" VendorName "ATI" BoardName "ATI Radeon (fglrx)" Driver "fglrx" Option "DPMS" Option "FSAAMSPosY1" "0.000000" Option "StereoSyncEnable" "1" #Option "NoDDC" Option "FSAAMSPosX5" "0.000000" Option "FSAAMSPosX2" "0.000000" Option "FSAAMSPosY4" "0.000000" Option "FSAAMSPosX4" "0.000000" Option "FSAAMSPosY0" "0.000000" Option "FSAADisableGamma" "no" # === Video Overlay for the Xv extension === Option "VideoOverlay" "on" Option "GammaCorrectionII" "0x00000000" Option "ForceGenericCPU" "no" Option "VRefresh2" "unspecified" Option "CenterMode" "off" Option "FSAAMSPosY5" "0.000000" Option "IgnoreEDID" "off" # === OpenGL Overlay === Option "OpenGLOverlay" "off" Option "FSAACustomizeMSPos" "no" # === FSAA === Option "FSAAScale" "1" # === FireGL DDX driver module specific settings === Option "DesktopSetup" "0x00000000" Option "HSync2" "unspecified" Option "TVHStartAdj" "0" Option "FSAAMSPosX0" "0.000000" Option "no_dri" "no" Option "GammaCorrectionI" "0x00000000" Option "BlockSignalsOnLock" "on" Option "FSAAMSPosX1" "0.000000" Option "UseInternalAGPGART" "no" Option "MonitorLayout" "AUTO, AUTO" # === Misc Options === Option "UseFastTLS" "0" # === disable/enable XAA/DRI === Option "no_accel" "no" # === OpenGL specific profiles/settings === Option "Capabilities" "0x00000000" Option "FSAAMSPosY3" "0.000000" Option "TVColorAdj" "0" Option "TVVPosAdj" "0" Option "TVStandard" "NTSC-M" Option "FSAAMSPosY2" "0.000000" # === TV-out Management === Option "NoTV" "yes" Option "TVHPosAdj" "0" Option "TVHSizeAdj" "0" # === QBS Support === Option "Stereo" "off" Option "ScreenOverlap" "0" Option "FSAAMSPosX3" "0.000000" Option "TVVSizeAdj" "0" EndSection Section "Screen" Identifier "screen1" Device "device1" Monitor "monitor1" DefaultDepth 24 Subsection "Display" Depth 8 Virtual 1280 1024 EndSubsection Subsection "Display" Depth 15 Virtual 1280 1024 EndSubsection Subsection "Display" Depth 16 Virtual 1280 1024 EndSubsection Subsection "Display" Depth 24 Virtual 1280 1024 EndSubsection EndSection Quote Link to comment Share on other sites More sharing options...
scarecrow Posted December 18, 2005 Report Share Posted December 18, 2005 (edited) Most likely a borked ATI driver installation... either reinstall the proprietary ATI driver, or change by hand the whole "Device" section to something like that: Section "Device" Identifier "device1" VendorName "ATI" BoardName "ATI Radeon (fglrx)" Driver "radeon" # MANDATORY! Option "DPMS" EndSection Other than that, you can try changing the virtual resolutions to real ones- that is in the "Screen" section, subsections "Display", changing Virtual 1280 1024 to Modes "1280x1024" Sorry I can't help more, ATI videocards aren't my forte... If for any reason you still have no X, then the file /var/log/xorg0.log has very useful info about the failure- you can FTP that one as well, of course, but please upload it rather somewhere to the web instead of pasting it here: it should be rather huge! B) Edited December 18, 2005 by scarecrow Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.