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 have installed the latest debian on a dell optiplex gx260 which has a 82845G chipset and there are some strange problems.
The system is configured with autologon as a standard user.
Sometimes, after logging on, the screen goes black but if I connect to it with vnc, I get a working desktop.
Yesterday I booted it without a display attached to it and now I cannot set it to the right screen resolution anymore (1440 x 900) which was working fine before.
I have googled and searh the forum but cannot find the right information.
According to Intel, the latest driver should be in the distro but I cannot find any details about that (version/date).
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 1280 x 1280
VGA connected 1280x800+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1280x800 60.0*
1280x768 60.0
1024x768 60.0
800x600 60.3
640x480 59.9
Any suggestions on solving this are more then welcome!
Peter
The contents of Xorg.0.log will give you some information about what is happening on startup.
I didn't expect that your /etc/X11/xorg.conf would have anything in it on a clean install. You could try renaming it (so you can reinstate it if you need to), and create an xorg.conf that is empty. On Debian Lenny, an empty xorg.conf is the default; the content means that some later configuration changes have been made.
Hi neonsignal, thank you for your reply!
Attaching Xorg.0.log doesn't work due to an 'invalid file' error... (pasting here is also a no go since the file has 600 lines of text)
I just copied & deleted the original xorg.conf, rebooted but no difference.
I assume you mean you created a new xorg.conf that is empty. I don't think X will start if you have no xorg.conf file at all.
If they behaviour continues to vary even though you haven't made any changes, it may indicate a hard drive (or memory issue), rather than some particular problem with the X setup.
In order to attach Xorg.0.log to a forum post, I think you would have to rename it to 'Xorg.txt'.
Last edited by neonsignal; 01-14-2010 at 05:06 PM.
Ok, it was indeed a matter of extension that kept me from uploading the logfile so now it's enclosed.
Does it show somewhere if this problem is related to a bad HD/memory - even though I don't think that this is a problem since the system has worked flawlessly before.
No, I didn't recreate xorg.conf and it seems that knudfl is right because after that error message I rebooted and got it working again.
Recreating it leaves it empty anyway.
Is it normal that before I was able to choose 1440x900 and now I'm not?
It does happen that X sometimes doesn't detect all the possible resolutions (some devices do not quite follow the standard). The automatically detected settings can be overridden by setting up xorg.conf, but I just wanted to be sure that you could at least get X starting reliably without it.
If X is starting consistently, ignore my suggestion about other devices failing.
If you have a look in your /etc/X11 directory, you may find older versions of xorg.conf with some working settings. The relevant sections are the Monitor section (particularly HorizSync and VertRefresh), and the Screen section (particularly the Display resolutions).
I'm don't know what changed your xorg.conf in the first place.
Last edited by neonsignal; 01-14-2010 at 07:56 PM.
Well, X starts most of the times but I wouldn't call it reliable since sometimes the screen just goes black.
On the other hand, if having autologon enabled I can see through vnc that the system works.
Is it normal that before logging on (autologon disabled) there are different display settings compared to being logged in?
I noticed that the image is not at the same place -> refresh rate?
There are no older version of xorg.conf and the one I've created remains empty.
Is it normal that before logging on (autologon disabled) there are different display settings compared to being logged in?
Yes, that is normal, the display manager shows the login screen in a low resolution, since different logins may have different X settings (and not all necessarily work on all displays).
Quote:
I wouldn't call it reliable since sometimes the screen just goes black.
You probably need to follow up the links that knudfl provided, and see if this corresponds to the same issues that others have had. You might also find an xorg.conf with settings for your graphics.
Quote:
Uhm... how come it says 'total 68'
That's just the size of the directory, not the number of files in it.
If the xorg.conf you tried is working, then go with it.
Some of it is not relevant to your system, but you can always edit it if you need to, as you learn what different parts of it mean. 'man xorg.conf' will give you a description, but there is a fair bit to read through.
Quote:
The only thing is that my mouse is not functioning but with vnc it is, how is this possible?
The mouse driver is also set up by xorg.conf, and the xorg.conf you tried had a specific setup which doesn't match yours. It works with vnc because vnc isn't using the mouse driver on the target computer, it is using the mouse driver on the computer you are jumping in from.
You can have a fairly minimal mouse setup in xorg.conf, and the system will (hopefully) work out the rest, eg
at first it was working, I selected 1440x900 as resolotion, rebooted and the image was darker then it should be. Rebooted once again and got a 'failed to start x server' error again - see the enclosed logfile.
Rebooting again bypasses the error again...
Ok, thanks A LOT for helping out! Gotta go to bed now since it's 4:37 a.m. over here!
Last edited by Peterken; 01-14-2010 at 09:38 PM.
Reason: added info
Another couple of things to try (it might be a problem with the intel driver).
In xorg.conf, try replacing this line:
Code:
Driver "intel"
with
Code:
Driver "i810"
If that doesn't help (or doesn't work at all), go back to the intel driver and try uncommenting the acceleration line:
Code:
Option "NoAccel"
If the 'no acceleration' solves the problem, it points to a driver issue. The system will work without the acceleration, but it will significantly slow down desktop effects and may make 3D games unusable.
Thanks for your tips: I just changed those settings in my xorg.conf file and it's a big improvement!
I also activated the no acceleration option immediately since the system doesn't need any 3-D related stuff.
Rebooted the system about 20 times and now it's a lot more consistent.
There is one issue though: the colors are still not what they should be. I tried to change the refresh rates in the monitor section according to the display connected but that didn't go well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.