DebianThis forum is for the discussion of Debian Linux.
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.
Sorry guys, I feel ashamed for this silly question.
Recently I have upgraded my distro from Woody to Sarge; everything a-OK eccept that the screen resolution is awfully large. I have run "dpkg-reconfigure
xserver-xfree86" a couple of time and chose the screen resolution to 1278x768 but it does not change.
How can I just adjust the resolution without having to go through all the options of the dpkg-reconfigure?
Also, I have upgraded and installed a new kernel 2.6.12 and I need to install the NVidia drivers.
I have run the command as root: "sh Nvidia-1x-x-x-x blah blah thingy and is says that it cannot complete the installation because it does not find the kernel header.
I remember that before all I needed to do was install the new kernel and run the commmand but now,......I dun'know"!
I've had the same problem. I don't know why Debian refuses to use the resolution that was asked for during installation. It's a bit silly.
In the file /etc/X11/XF86-Config-4 you'll find sections on the screen/display settings that look something like this: (there will be multiple lines like this but with different depths)
Depth 24
Modes "800x600" "640x480"
Try adding "1278x768" to the modes lines and reboot.
Modes "1278x768" "800x600" "640x480"
I've read, somewhere, where people have had to install additional modules to get higher resolutions working, but I can't recall what it was at this point. For now, try the above as it would be the easiest fix.
Solution:
Reinstal ur distro. when it ask for "AUTODETECTION for ur MONITOR" say so then its next page is What type of setup u want to instal monitor, say ADVANCED.
Now UR VGA driver will be "VESA" and enter ur monitor Sync Range is as follows
Vertical : 50-75
Horizantal: 28-96
now go through remaining setup. and hopefully u get u desired screen.
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Rep:
I never got the nvidea drivers working, but don't need them as my LCD monitor does just fine with the VESA drivers (I am not a gamer, so this is OK). But when running dpkg-reconfigure xserver-xfree86, I not only chose 1024 x 768, but I removed the other pre-chosen resolutions. This only gives Debian one choice to choose from and it worked.
Tons of Fun did the installation stop with an erro? It might be that your video card isn't supported anymore by the official nvidia installer. It works however with the nvidia-glx in the debian repositories.
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Rep:
I don't remember what the error code was. It is an old card, a Riva TNT 16 MB card, so it is possible that it's too old. Thanks for the link, I will give it a try and see what happens. If for no other reason, to accomplish another configuration challange.
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Rep:
Darkleaf,
Thank you very much for the link in your previous post to me. I followed the instructions on that page, and I now have the nVidia drivers loaded. I was definitely wrong when I said that the VESA drivers were as good. With the nVidia drivers loaded, the screen is much clearer, the text more sharp, and the lines tighter. It looked good before, but this is excellent.
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Rep:
Oh yea, one more question; now that the drivers are loaded, do I need to comment out the new address I added to my /etc/apt/sources.list, or do I leave it for updates?
Which address did you add? Cause you could have got it from the testing directory (as I see you're using etch as well). If you added the sid repository for it and you don't want all your packages to go to sid but only nvidia:
Leave the sources.list as it is. Open /etc/apt/preferences and do this nvidia-glx add the nvidia packages to pinning in sid. I don't know which packages you installed but i have these:
So from your distro in your profile it says sarge/etch. Did you already have that line but only had to add nonfree? Nonfree is for everything that doesn't fit in debian's policy. It's a closed source part of the driver so the license is wrong to have it in another repository.
If you keep it like this you'll upgrade packages into testing.
edit: unless you pinned everything on sarge but then adding this line wouldn't have had any difference.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.