I'm new to Linux, so please bear with me. I have a new install of Debian, latest stable release, on an old ALR server running quad 200 MHz Pentium Pros. I only get two choices for screen resolution: 800 X 600 or 640 X 480. How can I get a higher resolution? I may be mistaken, but I think the video card should be capable of higher resolution. Is there a program in Debian comparable to the "Device Manager" in Windows? If so, how do I access it to get the details of my video card?

Most likely Debian is using a default generic driver, one that only supports 'safe' resolutions like the ones you mentioned above. So, find the manufacturer of your video card, and use Google to find the appropriate drivers to install.

OK, how about the "Device Manager"? Is there something comparable in Linux, or will I have to shut down and pull the card to find the manufacturer and model?

Sorry. Open a terminal window and type

lspci

and then hit return. You should get a listing of all your computer's PCI-related hardware.

Thanks, Joe, thats what I was looking for. If only Windows had such a feature. No, wait, thats why I want to leave Microshaft and switch to Linux!

The max resolution probably wont be much higher anyway.

I have a compaq proliant (dual p2) and it does 1024x768 at the limited number of colours and 800x600 at the better colour, why is this?

Well, I found out that my video card is an STB Systems, with a Cirrus chipset, but I can't find any Linux drivers for it. So I dug up an old ATI card I had laying around with a Rage 128 Pro chipset. I can find drivers for it, but now I have to figure out how to change everything over from the STB card to the ATI. As I said earlier, I am new to Linux, so I'll probably ask a lot of really stupid questions for a while yet. Thanks for all the help so far!

login as root

dpkg --reconfigure xserver-xorg

This will run the graphics card configuration tool.

if the graphics dont work do alt+f2 to get a command line

I had a similiar problem when I was using debian awhile back. As Jbennet suggested, do dpkg --reconfigure xserver-org and ONLY select the res of our monitor when configuring.

I had a similiar problem when I was using debian awhile back. As Jbennet suggested, do dpkg --reconfigure xserver-org and ONLY select the res of our monitor when configuring.

hes putting in a different card now, but it should select the options for that automatically right?

Ah I don't know I haven't used debian in a while, things might of changed... Regardless you could just edit your xorg.conf manually.

OK, now how do I use dpkg? When I said I'm new to Linux, I meant I'm new to Linux! I haven't yet figured out how to do anything more than the most basic commands from a command line in Linux. I think I did manage to get the drivers from the old video card removed using aptitude, which says that the drivers are already installed for the new card. How do I now tell it that the hardware has been changed? Its still trying to load the old card.

just type this at a console (command prompt)

dpkg --reconfigure xserver-xorg

(a command prompt is available by holding down control + alt and hitting F2)

You will then be led through a series of menus where you can choose your resolution, driver etc. It should choose appropriate values automatically

When I try that with a space between "dpkg" and "--", I get the error message:

"dpgk: unknown option --reconfigure"

If I try it without the space, I get:

"-bash: dpkg--reconfigure: command not found"

What am I doing wrong? I have typed it in, exactly, as "dpkg --reconfigure xserver-xorg", both with and without a space between "dpkg" and "--".

try dpkg --configure xserver-xorg

ignore this post

Mine? ;-)

no mine, i posted the same thing but yours came out above it

commented: I was joking ;-) +2

"dpkg: error processing xserver-xorg (--configure):package xserver-xorg is already installed and configured
Errors were encountered while processing: xserver-xorg"

Do I have an odd-ball install, or what?

>Do I have an odd-ball install, or what?

Probably not, I just haven't used Debian in awhile.

Could you just post your xorg.conf file? (/etc/X11/)

"dpkg: error processing xserver-xorg (--configure):package xserver-xorg is already installed and configured
Errors were encountered while processing: xserver-xorg"

You just might want to use sudo:

$ sudo dpkg --configure xserver-xorg
commented: good idea but i dont think debian sets up sudo by default? maybe... +21

Joe, I tried adding the "sudo" to the command, and got the same results as without it.

Sturm, I'd be glad to, if I had any clue how to retrieve it. I currently have no xserver support, so no GUI, and I still have a lot to learn about using Linux that way. I'm logged in as root, and the only thing I can currently access is the root of the drive, and the "desktop" folder. I have no idea how to get to anything else. I'm pretty fluent with DOS, but, as I already said, very new to Linux.

cat /etc/X11/xorg.conf A really lame method of generating a usable xorg.conf is booting up w/ Ubuntu and stealing it. ;-)

are you logging in as root?

try it as him, not the user you made

commented: lol try it as "him." Root could be a girl! +2

You might want to try X --configure . I can't remember if xorgconfig or xorgcfg is installed on Debian by default, but you may want to try those as well.

if not then there is a sure-fire but very complex way of doing it:

login as ROOT
cd /
cd etc
cd X11 (case sensitive!)
nano xorg.conf

Nano is a text editor like EDIT for DOS. You can edit the file yousrelf (its easy e.g just change driver=xxxxx) and then hit control+x to exit and then push Y to save

commented: Stole my credit ;-p +2
commented: Right on the money, and solved my problem! +4

SUCCESS!!!

I am now posting with Debian, and my screen resolution is 1024 X 768! Thanks to all for advice and suggestions, but credit for the "kill" has to go to jbennet, as I used his final suggestion to manually edit my xorg.conf file with nano. Learning Linux is fun, but alas, I have so much (so very much!) farther to go! Thanks so much for everyone's help, and expect more problems from me as I embark into the wonderful world of Debian Linux!

Sturm sort of suggested this earlier, so he deserves credit too

yeah nano is a good tool, if you ever want to network with windows, you will probably use it to edit a file called smb.conf

Sturm sort of suggested this earlier, so he deserves credit too

Ah, but he didn't suggest how to do it;) ! However, I did acknowledge and thank everyone who helped. Modesty's a good quality, but take credit where its due, James!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.