Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been using suse 9.1 for about a month and a half. Recently, I changed the monitor and graphics settings in Yast from the 60hz monitor it kept detecting to what I have(old viewsonic 17ps, up to 1152x85hz), I clicked save instead of test because test seemed to freeze on any setting,(yeah, I know that was really stupid) and after that, it won't boot anymore, I get a blank screen where KDE would start loading. Failsafe mode doesn't work either. (the monitor does not go into idle mode when I get the blank screen)
In Knoppix I looked for the /etc/x11/xorg.conf file, didn't find it but found something called IIRC xf86org of which the contents seemed alike, I tried editing the maximum refresh rates in there from 86khz horizontal and 160hz vertical to 60khz and 75hz, I also tried renaming a file I found in that directory called xf86org.bak to xf86org. None of that worked.
What can I do to try to get it working again? Or would I most likely be better of just reinstalling it?
First of all.
Xorg and XF86 are two types of X configuration utils.
Dont mix em, It only causes problems if you dont know what you are doing.
Well the KDE boot screen that freezes, try to press Alt+Ctrl+Backspace.
If this works, try reconfigurating your X using this command in SuSE (I think):
xf86config.
follow the steps and everything should work out for you.
the information above is pretty useful and it should work..
as said, Xorg and XF86 are different types of config...
so look at one thing: you seem to have looked in the wrong file
what you saw while runnig Knoppix was Knoppix's grafical configuration..
what you have to do to see your Suse config, is mounting the partition where it is installed in an existing directory and access the files that are there.. THEY are suse's right configuration files..
caught it?
I've done that a million of times, friend.. had the same annoying problems when first installed linux..
ahh and if you're sure you have a /etc/X11/xorg.conf
run xorgconfig not XF86Config
Distribution: openSUSE, Raspbian, Slackware. Older: Coherent, MacOS, Red Hat, Big Iron IXs: AIX, Solaris, Tru64
Posts: 2,741
Rep:
YaST ought to help...
"Won't boot" means you boot into level 5 (I take it). But the system does boot; it just isn't giving you the X login dialog screen.
You should still be able to get to a text console (using Ctrl-Alt-F[1-6]). From there you can log in as root and run 'YaST'. Follow the menues to 'Hardware' -> 'Graphics Card and Monitor'. At that point you have the option to change settings and/or reprobe the hardware and set up the basic X configuration. Also, if memory serves, any previous X configuration file(s) are saved off to the side. You can 'diff' them later to see what the change was that hosed things up.
haven't you been forcing any non-normal shutdown??
it seems your file system is a little "messed-up"
or maybe you could have installed linux on some bad blocks..
Yes I have forced shut down 2 or 3 times when it got jammed and started going balistic on the hard disk. I assumed it was because I only have 512 megs of ram, does that make it a bad idea to use anything heavier than debian? I'm rather reluctant to install debian because knoppix keeps jamming after a short time of using it. My swap partition is two gigs IIRC, should that be bigger?
I doubt bad blocks are the problem, I installed it on a new (samsung) hard disk, and it doesn't get very hot.
If the problem has been caused by changing the monitor and video card settings, what other files would I need to learn about and edit?
you shouldn't be having problems bacause of memory and swap..
journaling filesystems such as ext3 should be safer
but it doesn't mean they can't be corrupted..
and it seems your kernel is running some script to recover the journaling..
editind the xorg.conf or xf86 GUI settings should be enough
if reformating and reinstalling is not a frustrating thing
for you and if you backup everything you need,
it's worth the attempt
I'm trying to avoid reformating because getting the data off that drive seems problematic because suse and windows on another disk are not getting along too well on my PC, and on a 70 gig fat32 logical partition on my linux drive some of the directories don't show up right in WIN, and scandisk doesn't want to touch that partition, giving some excuse about insuficient memory. I think I'm likely going to have to format that partition anyway and not allow linux and windows to write to the same partition anymore, but I thought getting everything off that partition would be safest and easiest from within suse.
On the other hand, I have /home on a separate partition, and I'm under the impression that that should make formating/reinstalling easier.
Try booting with the option of 'single'. This should boot you into a non-graphical single user (root) mode. Then you can change the /etc/inittab entry so that the computer boots into init level 3.
Has happened to me so many times, it's crazy. If it just flashes into a black screen right as you're about to log into KDE you have the same problem as I once did. Only I changed my screen res. not any specific monitor changes.
As it's rebooting punch in "ctrl+alt+FX" (The "X" stands for the numbers 1-5 or 1-6 I think, just do F1 for now). Login and you should be able to choose some option to see your screen res or your monitor display and such just play around with it for a bit.
You can also go in as a single user but I don't highly recommend that. Something else is just reinstalling your distro and resetting all of the screen stuff as they should, then when you boot back in get a driver so you'll be able to make changes without crashes.
My suggestion to boot using the option single, was for just once, to change the default level (editing /etc/inittab) so you can start at the console without the screen blanking on you. Then you can reboot or type 'init 3' as root.
I edited /etc/inittab and changed the boot level to three, but I could not get xf86config to fix the problem. I guess I'll have to format the / partition and reinstall. Sorry about all the trouble.
About how knoppix kept freezing on my system, I checked the disc it was on(CMC magnetics manufactured and about half a year old) with nero scandisk like I did before using it to try to fix this problem, and it has some errors that ECC couldn't overcome, although it was supposedly perfectly fine before, so nevermind those knoppix lockups.
I reinstalled, and this time I left the monitor on 1024*85hz. But after I did an online update of everything recomended by Yast plus the nvidia drivers, next time I rebooted, I got the same problem again!
So I reinstalled again, and this time I didn't turn on autologgin so that if it happens again I'll know if it locks up when X starts, or when KDE starts. I guess I should install fluxbox or something in case this is a KDE problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.