PDA

View Full Version : Cannot Access Display Settings after hdd install



Coolnat2004
12-11-2003, 04:32 AM
I just installed knoppix/debian as a bual boot with the helpful assistance of the people in the chatroom.

But since the drfault resolution is 800x600 i wanted to change it. I went into control center and i cant get to the display settings!

It just tries to opens and times out and stops trying.

I also get a "Video mode undefined" at startup and I have to hit enter twice..help?

m_yates
12-11-2003, 05:16 AM
The problem is you have to be root user to change the display settings. You can do this two ways:

1. Logout of KDE and login as root user, then try to change display settings using KDE control center.

2. To do it without logging out, open a terminal and enter "su", then you will be prompted for a password. Enter the root password, then you will be root in the terminal. Enter the command "kcontrol" to open the control center as root and make the display change.

Good luck.

Stephen
12-11-2003, 05:25 AM
I just installed knoppix/debian as a bual boot with the helpful assistance of the people in the chatroom.

But since the drfault resolution is 800x600 i wanted to change it. I went into control center and i cant get to the display settings!

It just tries to opens and times out and stops trying.

I also get a "Video mode undefined" at startup and I have to hit enter twice..help?
To fix the undefined video mode you need to edit the file /etc/lilo.conf and change the vga=791 line to vga=normal to do this open a console window (clam shell icon on taskbar) and type in su and the enter key type in your root password and then enter key again you are now root. Next gvim /etc/fstab then enter key once more make the required change and save the file to write the changes to LILO type /sbin/lilo -v and enter key. For the resolution we need to know the video card and monitor you have in the system and you need to post the contents of the file /etc/X11/XF86Config-4 file.

m_yates
12-11-2003, 08:55 PM
When you edit lilo.conf and put vga=normal, it will give 640x480 resolution for the text that scrolls by during boot up. If you want higher resolution, you can try the following mode numbers:

Colors 640x480 800x600 1024x768 1280x1024 1600x1200
------------------------------------------------------
256 | 769 771 773 775 796
32,768 | 784 787 790 793 797
65,536 | 785 788 791 794 798
16.8M | 786 789 792 795 799

For example, vga = 788 will give you 800x600 resolution with 65,536 colors. You may have to do trial and error to find one that works. My nforce2 motherboard with integrated graphics also didn't support vga = 791, but I changed it to vga = 788 and all is well. Now I see the pengiun on my screen during boot up!

Coolnat2004
12-11-2003, 09:14 PM
can't I just set the resolution in KDE and It'll change it when it runs? Because I don't care about how big the boot text is :?

Oh, and I realised the loggin in as root thing last night, my mistake to not try that.

One other question: Is it worth logging into a personal account or should I just always log in as root. Since I am the only main user of the computer, you know. I noticed the root account doesn't have the hard drive icons on the desktop as the personal account does (by default any way). Until then I'm logging into my personal account :o

EDIT: and about the undefined video mode, I'm reinstalling linux through the knoppix-installer script. I think it just takes your cheatcode settings from when you boot knoppix and puts them in the lilo config automatically. So I used vga=normal this time and it should work.

Coolnat2004
12-11-2003, 09:38 PM
nevermind..i do that and now i have to use the text/shell with no GUI. I use the Intel 840 something integrated chipset. the card wasnt listed on the control panel so i left it..hopefully ill be able to set it back through this. perhaps intel has some linux drivers?

m_yates
12-11-2003, 09:41 PM
You should be able to change resolution in KDE, but that will not change the resolution during boot up, it only changes the resolution used after X windows starts. If you don't care about boot up, vga=normal should work. If you used vga=normal as a cheat code, it should stay that way after hard drive install also.

It is not a good idea to always log in as root. There are no safety warnings (like "are you sure?" in windows) and you can really screw things up by mistake when you run as root.

m_yates
12-11-2003, 10:04 PM
The configuration file is XF86Config-4. Your old one should be backed up. Open a terminal, "su" to become root and try:

cp /etc/X11/XF86Config-4.kxconfig.backup /etc/X11/XF86Config-4

That will overwrite the new configuration file with your old one. You can now try starting KDE with the command "startx" or "startkde". You can try running kcontrol again and selecting "generic" drivers and select the driver "i810" and see if that works. It may take some trial and error to see if it works.

Another option is to boot up with the Knoppix CD using a cheat code for resolution (like screen=1280x1024). If that works, you can copy the Knoppix generated file is /etc/X11/XF86Config-4 to your hard drive and overwrite the current XF86Config-4 file on your hard drive with it.

A. Jorge Garcia
12-17-2003, 09:25 PM
Colors 640x480 800x600 1024x768 1280x1024 1600x1200
------------------------------------------------------
256 | 769 771 773 775 796
32,768 | 784 787 790 793 797
65,536 | 785 788 791 794 798
16.8M | 786 789 792 795 799


OK, I changed vga=791 to vga=normal in lilo on my knoppix-installed as debian box. This got rid of the boot errors. My Dell Optiplex GX270 has the onboard intel video chip (i810). When in WIMxP, I can get 16bit (65536 colors) and 24bit (16.8 million colors) color depth at 800x600 and 1024x768 resolution. These are the only video modes available on this chip.

So, in lilo:
I tried vga=788 for 800x600x16, no joy;
I tried vga=791 for 1024x768x16, no joy;
I tried vga=789 for 800x600x24, no joy;
I tried vga=792 for 1024x768x24, no joy.

In every case I get the video boot errors back and kcontrol reports only 640x480x8. The res is low, but it looks better than 640x480 (maybe 800x600). How do I get 1024x768??

BTW, I got my res to work off the liveCD with the following cheat: vga=normal screen=1024x768 xvrefresh=60

TIA,

Coolnat2004
12-17-2003, 11:23 PM
Somehow, using Knoppix cheatcodes, I got a XF86Config-4 file that gets me at 1024x768 resolution (not sure bout the colors I think its 24 bit, not sure)

Well, actually I used this

boot: knoppix screen=1280x1024

and thats all, although it gave me 1024x768 (odd)

Well, I'm using the onboard intel i810 too, on my Dell Dimension 2350, so it should work for you. btw, when you get knoppix running at a good resolution, in the KNOPPIX menu select root shell, and enter this.

mount /dev/hda2 [linux install partition] /dev/hda2 [matching hda number, hdb, etc]
cp /etc/X11/XF86Config-4 /mnt/hda2/etc/X11/XF86Config-4

make sure that it's not mounted through the desktop because then you can't mount it with RW permissions from the root shell.

Anyway, that should get your X Window session at the same resolution as it is when you boot from the CD (wow and I'm a Linux n00b as of December 3rd!)

Worked for me, although I can't get 1152x864 or 1280x1024 while those modes are available and working in Windows.
Any ideas for upping that? When I try to change them it just runs at 640x480x8, the lowest, must I say "safe-mode" setting.

Oh, and I have my current XF86Config-4 backed up in 3 different places hehehe

A. Jorge Garcia
12-18-2003, 01:47 AM
I tried copying XF86Config-4, but that only worked on my knoppix-installer 20031119 as knoppix box. If I try to do this with my knoppix-installer 20031119 as debian box, X crashes on boot-up!

BTW, you can mount a partition from the desktop as read/write. Click on the partition's icon to mount it. Then right-click it to "change read/write mode."

Thanx,

Coolnat2004
12-19-2003, 10:58 PM
Hmm, well I'm using like 10-23-2003 Knoppix for this (Took 4 hours to download that, dont feel like getting another one till theres some major improvement)

knoppixman
01-05-2004, 04:11 PM
Colors 640x480 800x600 1024x768 1280x1024 1600x1200
------------------------------------------------------
256 | 769 771 773 775 796
32,768 | 784 787 790 793 797
65,536 | 785 788 791 794 798
16.8M | 786 789 792 795 799


OK, I changed vga=791 to vga=normal in lilo on my knoppix-installed as debian box. This got rid of the boot errors. My Dell Optiplex GX270 has the onboard intel video chip (i810). When in WIMxP, I can get 16bit (65536 colors) and 24bit (16.8 million colors) color depth at 800x600 and 1024x768 resolution. These are the only video modes available on this chip.

So, in lilo:
I tried vga=788 for 800x600x16, no joy;
I tried vga=791 for 1024x768x16, no joy;
I tried vga=789 for 800x600x24, no joy;
I tried vga=792 for 1024x768x24, no joy.

In every case I get the video boot errors back and kcontrol reports only 640x480x8. The res is low, but it looks better than 640x480 (maybe 800x600). How do I get 1024x768??

BTW, I got my res to work off the liveCD with the following cheat: vga=normal screen=1024x768 xvrefresh=60

TIA,

It is a BIOS setting issue. Go into your BIOS and into the "Integrated Peripherals" section and change the silly "1 MB" shared video memory to "8 MB" and you won't need any fancy kernel command line options to get any resolution working on a Dell Optiplex GX's onboard video chip.

A. Jorge Garcia
01-06-2004, 12:48 AM
OK, good! However, why would I need 8MB VRAM? The highest res and color combo i810 has is 1024x768x24 which is less than 3MB.

TIA,

knoppixman
01-06-2004, 07:47 AM
OK, good! However, why would I need 8MB VRAM? The highest res and color combo i810 has is 1024x768x24 which is less than 3MB.

TIA,

Well, the last time I was near a Dell Optiplex GX270, it didn't have any choices other than "1 MB" and "8 MB" in the BIOS for the ram it uses for onboard video and choosing "1 MB" meant I couldn't get more than 640x480 at 16 bit in ANY distro of linux (yet somehow Windows got 1024x768 @ 24bit just fine without needing the change, probably something the included driver pulled off without telling the Linux developers how to do it) on the machine while choosing "8 MB" let me go as high as 1024x768 @ 24 bit without problems. So, even if it is 3 MB or less of usage for that resolution, you would have to choose the only choice higher than "1 MB" in the BIOS to use it in linux.

A. Jorge Garcia
01-06-2004, 01:14 PM
Got it, however, I notice now for the first time since I switched to a hdinsatll in my lab at school that I no longer get the "BIOS login screen" that used to say "hit F12 for BIOS and F11 for something else?" Even if I hit F12 during boot-up, nothing happens. I get the lilo screen choices and thats it! How do I get into the BIOS again to change to 8MB VRAM?

TIA,

knoppixman
01-06-2004, 02:15 PM
Got it, however, I notice now for the first time since I switched to a hdinsatll in my lab at school that I no longer get the "BIOS login screen" that used to say "hit F12 for BIOS and F11 for something else?" Even if I hit F12 during boot-up, nothing happens. I get the lilo screen choices and thats it! How do I get into the BIOS again to change to 8MB VRAM?

TIA,

Try holding the key to get into the bios (I forgot which it was, either F2 or something) while pressing the power button or press and hold it immediately after you hit the power button. You have to be fast or it boots the hard drive.

A. Jorge Garcia
01-06-2004, 09:34 PM
OK, the F2/F12 screen goes by too fast if the monitor is not already awake. Anyway, I reset the 8MB VRAM on all my stations. All the clients now do 800x600x16 and the server does 1024x768x24.

One problem, one of the client's monitors just flashes all the lights on the front panel right after switching to runlevel 5 when set to 8MB and it gets stuck. At the 1MB setting I get the kdm login screen at 640x480x16 as before. Anyone experience this problem?

TIA,
AJG

A. Jorge Garcia
01-08-2004, 07:26 PM
OK, first I thought it was a RAM problem due to the BIOS setting, but when I switched back to 1MB, 640x480x16 works ok.

Then I thought it was a defective Monitor as the whole lab has the exact same hardware and the exact same install (knoppix-installer as debian 20031119). So I swaped monitors with a working station and got the same blinking lights and no video again.

Then in kxconfig I changed from a generic/i810 card to an intel/i810 card and changed the Xres to 1024x768. After rebooting I get the same problem, but the output worked fine on my LCD projector! the generic seting does too.

So, I find that the problem is the wrong monitor default in kcontrol (ie: kxconfig). On all the other PCs it defaults to dell/della000. On this PC, the dell monitors listed are all different so it defaulted to monitor0/monitor0???

BTW, its really a Dell E551 monitor. I'm reinstalling the whole knoppix partition right now in hopes of correcting the incorrect monitor data....

Any other suggestions are welcome!

TIA,
AJG

Stephen
01-08-2004, 08:01 PM
OK, first I thought it was a RAM problem due to the BIOS setting, but when I switched back to 1MB, 640x480x16 works ok.

Then I thought it was a defective Monitor as the whole lab has the exact same hardware and the exact same install (knoppix-installer as debian 20031119). So I swaped monitors with a working station and got the same blinking lights and no video again.

Then in kxconfig I changed from a generic/i810 card to an intel/i810 card and changed the Xres to 1024x768. After rebooting I get the same problem, but the output worked fine on my LCD projector! the generic seting does too.

So, I find that the problem is the wrong monitor default in kcontrol (ie: kxconfig). On all the other PCs it defaults to dell/della000. On this PC, the dell monitors listed are all different so it defaulted to monitor0/monitor0???

BTW, its really a Dell E551 monitor. I'm reinstalling the whole knoppix partition right now in hopes of correcting the incorrect monitor data....

Any other suggestions are welcome!

TIA,
AJG

If you have the proper horizontal and vertical settings for the monitor then you do not the Load "ddc" that is most likely in the file and may be causing problems by detecting the monitor wrong so comment that line out in your XF86Config-4 and make sure of the setings and restart the xserver and see if that helps.

A. Jorge Garcia
01-08-2004, 11:40 PM
Thanx for the input, Stephen.

However, the reinstall on that one PC (the only one I had a problem on out of 25 PCs in the lab) fixed the problem. I think that something was wrong with the CD I used to install that PC. I always check the md5sum when I download a new iso and I always run knoppix testcd after I burn it. I did not get errors on this CD, but it sounded funny and seemed to have a slower access rate than usual when I was doing that installation.

I think the problem is the new CD-R burner that I used that burned the CDs at a higher but erratic rate than my other burners when I used cdrecord.

What's strnage is that I had no other install problems and I used this CD on 5 other PCs. You see, when I burn a new ISO, I usually make 5 copies: 1 for home and 4 for the lab. My lab is broken up into 6 islands of 4 PCs each (plus the server which I did not reinstall and is still running knoppix-installer as debian 20030924). I only reinstall 4 PCs at a time (one period during the school day). This way I reinstall 4-8 PCs a day and the whole lab 3-6 school days. So I had used these 4 CDs on 5 other islands before without a problem. This problem surfaced on the first PC of the sixth island. This is very strange, I never had a problem like this before....

Regards,