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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have done a fair amount of research here and and google, and I haven't found a successful solution to my problem. I had Fedora Core 1 running fine a week ago, and formatted and reinstall to correct a kernel upgrade gone awry.
I used to have the screen set to 1024x768 resolution, and that is what I want to get back to. FC for whatever reason won't allow anything bigger than 800x600, which makes it impossible to see most web pages. Fedora does correctly see my video card as an ATI Mach64 3D rage II. It doesn't detect my monitor, but that is irrevalent to screen resolution, afaik.
I have ran the redhat-config-xfree86 command, and that simply brings up the same GUI as doing system settings -> display in Gnome. I am only shown 800x600 and 640x480 resolutions. I have the choice of 256, thousands, or millions of colors.
I tried manually adding "1024x768" into first place in my /etc/X11/XF86Config, and restarted x, but that didn't work either. Even though I made the changes as root, after restarting X it simply added lines below the one I edited, screwing things up. Here is my /etc/X11/XF86Config file in full:
# XFree86 4 configuration created by redhat-config-xfree86
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
As you can see just above, it doubled the [SubSection "Display"], I'd assume because it didn't like my values. When I added the 1024 resolution, the depth was set to 16, and the system changed that to 24, and I see the default depth calls for 16. I just swaped the 2 depth numbers, so the SubSection "Display" with 1024 is now 16, and the one without it is 24. I'll try restarting X again, and see if that corrects it.
Any help that anyone can give will be greatly apprecaited as it always is.
I live on this site it seems!
After a restart of x, the damn computer switched my values AGAIN! After switching the 16 and the 24 in the 2 SubSection "Display" lines, it switched the default from 16 to 24. I forgot to mention earlier, ctrl-alt + or - switches back and forth between 800x600, and 640x480, but won't get any bigger. Thanks again.
Distribution: Lots of distros in the past, now Linux Mint
You've still got the "old 'subsection display'" in your file (immediately after your altered preferences). Comment it out with the '#', or remove it altogether. Likely, the last one is the one accepted, meaning you're set at the two lower resolutions and 16 bits. Personally, I'd toss any resolutions I wasn't planning on using, as well. Just dump the 800x600 and 640x480 parts.
Edit: As root, use nano/ae/pico or similar text editor to alter the file by hand. It's not like a windows registry file, where the slightest typo will send your system to oblivion (though it might feel like it at first). Gedit works if your able to use the system at the lower resolution.
As wonderful as GUI things are, they definitely do have their "oops" moments, no matter their age, maturity, or OS.
Commenting out the offensive lines as you suggested. I logged out of X, and then restarted it. The file still shows up exactly as you see it above, but I'm still in 800x600 resolution! The only difference that seemed to cause was I can no longer do ctrl-alt-+ or - to change screen size.
I run my machine at runlevel 3, so even if I were to set something up that completely crashes X, I can still edit it in text mode. About the only thing I use X for is graphical internet. I don't mind lynx, but internet without the pictures is lame!
So in any case, is there another file that the configs for screen resolution may be pulled from? Obviously it is ignoring my XF87Config file. I'll use the windows solution of actually rebooting the box, and I'll see how that behaves itself afterwards.
Situation is the same after a reboot - file shows only 1024x768 resolution, but it boots into 800x600, and I can't switch between resolutions with ctrl-alt-(+ or -).
Shameless bump. Sorry for that, I just wanted to stay on page 1.
One further bit of useful info, I have installed vnc on the box, and vnc gives me a 1024x768 screen. I know that is because it is programmed to do so, and it is a virtual desktop, not the real one, which is why it is possible.