Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Help, I was messing with the display settings (trying another similar card on the list) and now I can't switch back to 1024x768 resolution (it is grey'ed out in the System Settings --> Display). Now it only gives me the choice of "640x480" and "800x600".
I had 1024x768 prior to choosing a different card, and now when I switch back to that card on the list, it's gone.
Is there anyway to get that resolution back? I forgot to backup the original /etc/X11/XF86Config before messing with the changes.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
try Ctrl + Alt + (Numpad-) to see if you can zoom out. If not edit your XF86Config to put the resolution you want as the first one in the Screen section. Restart X
Originally posted by nxny The 3rd line from the bottom is the only place that needed it. And that's what's lacking it. You mean it disappeared?
Did you edit this file as root? Who are you running the server as? Are you sure the file was saved properly?
Yes, I edited it with "1024x768" on that line.
I started X and it still went into "800x600" mode.
I exit X to check the file and the "1024x768" entry was removed.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
1)What runlevel are you at ?
2)Repeat, who are you running the server as?
(XFree86 is a suid binary, so it always run as root, but who's running startx and hence xinit?)
3)Do you happen to have file named XF86Config-4 next to the XF86Config?
4)What does XFree86 -version say?
Originally posted by nxny 1)What runlevel are you at ?
2)Repeat, who are you running the server as?
(XFree86 is a suid binary, so it always run as root, but who's running startx and hence xinit?)
3)Do you happen to have file named XF86Config-4 next to the XF86Config?
4)What does XFree86 -version say?
1) 5 (default)
2) 'root'. same thing happens as user
3) nope.
4)
Code:
XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-72) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-11smp i686 [ELF]
Build Host: daffy.perf.redhat.com
Module Loader present
OS Kernel: Linux version 2.4.18-19.8.0 (bhcompile@tweety.devel.redhat.com) (gcc
version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Thu Dec 12 04:37:40 EST 2002
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
Quote:
Originally posted by BxBoy 1) 5 (default)
2) 'root'. same thing happens as user
3) nope.
4)
Code:
XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-72) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-11smp i686 [ELF]
Build Host: daffy.perf.redhat.com
Module Loader present
OS Kernel: Linux version 2.4.18-19.8.0 (bhcompile@tweety.devel.redhat.com) (gcc
version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Thu Dec 12 04:37:40 EST 2002
Here are some things to think about.
a) The fact that you're starting X as root seems to indicate that you are using the root login where is not exactly needed. You should never login as root for day-to-day use ( for this - if you didnt create another login during the install process - you may do an adduser bxboy followed by a passwd bxboy to create the new user bxboy and set his passwd. Or redhat-config-users if you enjoy the GUI toolset). Login as bxboy, for config edits and stuff, you may temporarily become root using su - and logout to reurn to the bxboy shell. root is an all too powerful login and doesnt take much effort to misuse. One mistake as root maybe prove too expensive!
b) do an init 3 as root. This should present you with a text login prompt. login as bxboy, become root by supplying the root password at the su - prompt, edit XF86Config to add the 1024x768, save the file and exit from the su ( root) shell. now start an X session with startx and let's see what happens.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
Quote:
Originally posted by traked Dude, you have the default depth set to 24, and the Section for Depth 24 only has 800x600 and 640x480.
The very last Modes line is the one you may want to try adding 1024x768 to.
traked, that was definitely the right thing to say ( if the post you were commenting on was the last one in the thread ). But things had progressed quite a bit from that point. Please make sure that you read thru the following posts to see where its at before you post your comment.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.