Linux - Newbie This 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! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-17-2009, 12:08 AM
|
#1
|
LQ Newbie
Registered: Jan 2009
Posts: 5
Rep:
|
Set wrong resolution in Fedora 10 -- screen black, no automatic reset
I'm using an HDTV as a monitor and wanted to adjust the resolution of the display in Fedora Core 10. The software detected available resolutions and I selected 1280 x800 or something similar and the screen went black. The screen never automatically returned to the previous resolution and now whenever I log in the screen goes black and I can't operate the computer. Is there anyway to repair this or do I have to resinstall the OS?
I've tried logging in as 'root' with my password under 'other' but strangely it does not seem to authenticate user... I'm kind of at a loss. Am I going to have to reinstall the entire OS over screen resolution?
P.S. topic says 9, but I meant 10
Last edited by duffym; 01-17-2009 at 12:11 AM.
Reason: P.S.
|
|
|
01-17-2009, 01:21 AM
|
#2
|
Senior Member
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Rep:
|
One way of reverting to the original res is to delete/rename the file called xorg.conf under /etc/X11/ directory. Then when you log in, it will re-write that file with the original values.
It will also help if you can specify what video card are you using and have you installed the proper drivers.
As for root login, you cannot login as root in the graphical desktop under 10.
|
|
|
01-17-2009, 01:28 AM
|
#3
|
Senior Member
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Rep:
|
I forgot to add how. Assuming you are comfortable in the cli, [command line interface]
1) When you get to the login screen, hit Ctrl+Alt+F1. This will let you login into a cli session.
2) Login as root.
3) Issue the command at the prompt.
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.blackscreen [just renaming it]
4) Logout and hit Alt+F7, back to the login screen.
5) Kill the X session (login screen) once by hitting Ctrl+Alt+Backspace.
6) When the screen returns, login.
|
|
|
01-17-2009, 11:13 AM
|
#4
|
LQ Newbie
Registered: Jan 2009
Posts: 5
Original Poster
Rep:
|
Quote:
Originally Posted by Hitboxx
I forgot to add how. Assuming you are comfortable in the cli, [command line interface]
1) When you get to the login screen, hit Ctrl+Alt+F1. This will let you login into a cli session.
2) Login as root.
3) Issue the command at the prompt.
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.blackscreen [just renaming it]
4) Logout and hit Alt+F7, back to the login screen.
5) Kill the X session (login screen) once by hitting Ctrl+Alt+Backspace.
6) When the screen returns, login.
|
Not sure how to use the CLI -- literally the first time I've used Linux. The video card is a NVIDiA geforce 8500. I'm sure the video card can handle the resolution I just think its the monitor/TV that can't display it.
|
|
|
01-17-2009, 03:24 PM
|
#5
|
LQ Newbie
Registered: Jan 2009
Posts: 5
Original Poster
Rep:
|
cntrl + alt + f1 doesn't seem to make anything happen
|
|
|
01-17-2009, 10:01 PM
|
#7
|
LQ Newbie
Registered: Jan 2009
Posts: 5
Original Poster
Rep:
|
After hours of doing this I've managed to get myself into cd /etc/X11 , but there is no 'xorg.conf' located there, so I'm at a dead end. Any other suggestions?
|
|
|
01-17-2009, 11:42 PM
|
#8
|
Senior Member
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Rep:
|
Have you installed the nvidia drivers?
Ctrl + Alt + F1 gets you into a text only login screen where you will see a "login: " message. If F1 doesn't work, try F2 until F6, all do the same.
Once you login into text (CLI) mode, what does the command "yum list installed | grep nvidia" return ? [..without the quotes..]
|
|
|
01-18-2009, 11:37 AM
|
#9
|
LQ Newbie
Registered: Jan 2009
Posts: 5
Original Poster
Rep:
|
Hey everyone, thanks for the help and for being patient wiht me, I eventually found a solution in case anyone else runs into this sort of problem:
getting to CLI you press cntrl+alt+f3 in fedora 10
login by typing you user name (case sensitive) and password
type the following command:
rm -f ~/.config/monitors.xml
(that's rm[space]-f[space]~/.config/monitors.xml)
hit enter, hit cntrl + alt + f1, log in, and it should start right on up to that wonderful background image :-) .
|
|
|
12-01-2009, 02:46 PM
|
#10
|
LQ Newbie
Registered: Dec 2009
Posts: 2
Rep:
|
Thanks for the fix!
removing "monitors.xml" and "xorg.conf" worked like a charm...
I do want to add that for those that can't even get see anything using cntrl-alt-F1-7 (either black or totally messed up), and so wouldn't even be able to delete those files, go into run initlevel 3 (which boots up until the graphical X part) - the default is level 5.
Here's a short, great resource on how to do that on-the-fly during your grub boot, or permanently by editing '/etc/inittab' (here you would do it on-the fly obviously since you can't see anything after Grub
http://fedorasolved.org/post-install-solutions/runlevel
cheers and thanks again
|
|
|
All times are GMT -5. The time now is 08:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|