Guest reyhaN Posted March 28, 2006 Report Share Posted March 28, 2006 I must have changed something and now linux is opening with the console and there is no gui I dont know how I can restore my settings? Quote Link to comment Share on other sites More sharing options...
scarecrow Posted March 28, 2006 Report Share Posted March 28, 2006 (edited) Logon from your vt as root, and run "mcc" for setting up your display settings. Edited March 28, 2006 by scarecrow Quote Link to comment Share on other sites More sharing options...
Guest reyhaN Posted March 28, 2006 Report Share Posted March 28, 2006 typing the mcc command a menu came I chose the display icon then chose my configurations for the display card and so then pressed test but an error writing " could not open default font 'fixed'" appeared and nothing is changed in fact Quote Link to comment Share on other sites More sharing options...
scarecrow Posted March 28, 2006 Report Share Posted March 28, 2006 Please try from the same console urpmi xorg-x11-75dpi-fonts xorg-x11-100dpi-fonts and probably as well urpmi --auto-select It's likely that you tried a system upgrade with the xserver running, and some things did not upgrade properly. After upgrading with X not running (factly I think you should always upgrade after dropping to init3), you would likely be able to configure X properly using thae same method as the failed one above. Quote Link to comment Share on other sites More sharing options...
Guest reyhaN Posted March 28, 2006 Report Share Posted March 28, 2006 again me =( I typed the command urpmi xorg-x11-75dpi-fonts xorg-x11-100dpi-fonts and it upgraded 7 things then using the mcc command I tested my diplay settings but it gave the same error and yes before this I was upgrading my computer but then I guess I forgot it and I shut down. so do you think I should use the command urpmi --auto-select because there are so many things to upgrade? Quote Link to comment Share on other sites More sharing options...
scarecrow Posted March 28, 2006 Report Share Posted March 28, 2006 It may be fixable without running a full system upgrade. Can you find the file /etc/X11/xorg.conf and post its contents here? Easiest way to navigate is typing at your console mc and then use the keyboard arrows to navigate thru directories. When you find xorg.conf highlight it and press F3 to view it, or copy the file to a pendrive or network drive. It would also be good to know some pieces of your hardware- namely keyboard and mouse model, video card, and screen. Quote Link to comment Share on other sites More sharing options...
Guest reyhaN Posted March 28, 2006 Report Share Posted March 28, 2006 this is briefly what is in the xorg.conf file Section “Module” Load “dbc” # double buffering extension Load “v41” Load “extmod” Load “type1” Load “freetype” Load “sympatics” Load “glx” # 3D layer EndSection Section “Input Device” Identifier “Mouse1” Driver “mouse” Option “Protocol” “Explor PS/2” Option “ZAxisMapping” “67” EndSection Section “Input Device” Identifier “SynapticMouse1” Driver “Synaptics” Option “Protocol” “auto-dev” Option “Device” “ /dev/input/mice” Option ‘EdgeMotion MinSpeed’ ‘200’ Option ‘MinSpeed’ ‘0.8’ Option ‘MaxSpeed’ ‘1.00’ Option ‘BottomEdge’ ‘650’ . . . . Option ‘TopEdge’ ‘120’ EndSection Section ‘Monitor’ Identifier ‘monitor1’ VendorName ‘Generic’ ModelName ‘FlatPanel 1024 x 768’ HorizSync 31.5 – 55 VerRefresh 40 – 70 Modeline ‘768 x 576’ 50/00 768 832 846 1000 576 590 595 630 Modeline ‘768 x 576’ 63.07 768 800 960 1024 576 578 590 616 EndSection Section ‘Device’ Identifier ‘device1’ VendorName ‘NVIDIA corp’ BoardName ‘NVIDIA GeForce FX(generic)’ Driver ‘NV’ Option ‘OPMS’ EndSection Section “Screen” Identifier “Screen1” Device “device1” Monitor “Monitor1” DefaultColorDepth 24 Subsection “Display” Depth 8 Virtual 1024 x 768 EndSubsection Subsection “Display” . . Depth 16 EndSubsection . . . Depth 24 . . EndSection Section “ServerLayout” Identifier “layout1” InputDevice “Keyboard1” “CoreKeyboard” InputDevice “Mouse1” “CorePointer” InputDevice “SynatpticsMouse1” “AlwaysCore” Screen “Screen1” EndSection by the way I have a Toshiba notebook and my graphics card is NVIDIA GeForce FX Quote Link to comment Share on other sites More sharing options...
scarecrow Posted March 28, 2006 Report Share Posted March 28, 2006 There are typos in there, sorry I made you type the whole thing... There are NO font paths in your config file, which is an issue, but the first thing I would like to ask is if you have installed any stock nvidia driver. So: Do you have installed any RPM named nvidia-* or not? If you did, you have to replace "nv" (not in capitals!) with "nvidia". Quote Link to comment Share on other sites More sharing options...
Guest reyhaN Posted March 28, 2006 Report Share Posted March 28, 2006 no I did not install any additional drivers and what should the line about the font settings say also another question is that there is an xorgold.conf is it fine or the new one is corrupted? Quote Link to comment Share on other sites More sharing options...
Guest reyhaN Posted March 28, 2006 Report Share Posted March 28, 2006 the old xorg file is in the form of xorg.conf.old the lines about the fonts are: Section "Files" # Multiple FontPath entries are allowed...... FontPath "unix/: -1" EndSection also about the NVIDIA only the part where device "nv" is not in upper case Quote Link to comment Share on other sites More sharing options...
Qchem Posted March 29, 2006 Report Share Posted March 29, 2006 You could try this: cp xorg.conf xorg.conf.broken.bak cp xorg.conf.old xorg.conf startx to see if the old config works. If not it's probably best to: cp xorg.conf.broken.bak xorg.conf Quote Link to comment Share on other sites More sharing options...
scarecrow Posted March 29, 2006 Report Share Posted March 29, 2006 Yes, try the old configuration. Dunno how the new one was made, but "nv" should be lower case, and Option ‘OPMS’ should be Option ‘DPMS’ instead. Quote Link to comment Share on other sites More sharing options...
Guest reyhaN Posted March 29, 2006 Report Share Posted March 29, 2006 I tried to copy xorg.conf into xorg.conf.broken.back and copy the old conf to the xorg.conf but it seems that they are similar because they gave the same error as a response to the startx command =( Quote Link to comment Share on other sites More sharing options...
scarecrow Posted March 29, 2006 Report Share Posted March 29, 2006 (edited) I don't know why you have no fonts there... you could try adding them by hand. here's my font config (I have omitted all non-xorg fonts on purpose from the copypaste). I have also commented the ModulePath line by hand, as it is xorg7 related. --------------------------------------------------------------------------------------- Section "Files" RgbPath "/usr/share/X11/rgb" # ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/misc:unscaled" FontPath "/usr/share/fonts/misc" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/75dpi" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/100dpi" # Additional fonts: Locale, Gimp, TTF... # FontPath "/usr/share/fonts/latin2/75dpi" # FontPath "/usr/share/fonts/latin2/100dpi" # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig! EndSection -------------------------------------------------------------------------------------------- If you already have a section in xorg.conf named "Files" then just add the lines omitting the first and the last one. The font paths in my config are actually from xorg 7, not xorg 6.9, and the OS is Arch Linux, not Mandriva, but the paths should be the same. Edited March 29, 2006 by scarecrow Quote Link to comment Share on other sites More sharing options...
devries Posted March 29, 2006 Report Share Posted March 29, 2006 Mandriva uses the x font server (xfs) no need to add the font paths, just make sure the server is running by typing (as root): service xfs status (it should output a green OK but in your case probably a red FAILED.). Start the server with: service xfs start 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.