Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
|
07-12-2003, 10:02 AM
|
#1
|
Member
Registered: Jul 2003
Location: Cardiff, England ;)
Distribution: Mandrake 9.1
Posts: 94
Rep:
|
Whoops - yanc mistake and can't load X
Whoopsie! I was doing so well - got sound working, got dual screens working, watched a film on it last night, really starting to enjoy mandrake&me. Should've kept my hands in my pockets!
As root, I altered my resolutions using yanc, but must've made a typo and chosen a dud resolution or something, because now I just boot to the command line. If I log in and type X <return> it tells me that
"no modes remaining for display device TV-0
Aborting
Screens found but none have a usable configuration."
Now, I'm making good progress with linux mandy9.0 but I'm not 133t enough to work without the GUI yet! How should I go about putting it back in a working setup?
|
|
|
07-12-2003, 10:11 AM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Try loggin in as root and run:
XFdrake
(I think that is the correct case)
|
|
|
07-12-2003, 10:28 AM
|
#3
|
Member
Registered: Jul 2003
Location: Cardiff, England ;)
Distribution: Mandrake 9.1
Posts: 94
Original Poster
Rep:
|
Thanks for the quick reply.
I ran XFDrake and set the display to 800x600 16bit plug&play monitor, and upon going "test" the program said:
"Nvidia(0): No modes remaining for display advice TV-0
Aborting
Try to change some parameters."
To further explain what I did to break it:
I had used Yanc to set up one monitor and one television to both be on 800x600. I had tweaked the resolution successfully a few times, and each time I'd verified all the other settings at the same time (e.g. TV0:CRT/LCD/TV? TV1:CRT/LCD/TV? Refresh rates etc)
This time I just changed the resolution (called Metamodes? Can't quite remember) without verifying the other settings. I guess they went back to defaults, and got saved to my, ohh, what's that file called, /etc/X11-4 or something! I think perhaps I need to edit that file to put it correct, but I don't know a command line editor (like MSDOS's "edit.exe") that I can use.
|
|
|
07-12-2003, 10:43 AM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Use any of:
vi
pico
emacs
|
|
|
07-12-2003, 11:41 AM
|
#5
|
Member
Registered: Jul 2003
Location: Cardiff, England ;)
Distribution: Mandrake 9.1
Posts: 94
Original Poster
Rep:
|
I'm in the south of england today and it's roasting hot! I'm useless when I'm hot - no tolerance or patience: I had a look at "man vi" but rather than tackle it today I decided instead to stick my mandy9.0 CD in and chose "upgrade". That fixed it in about 20 minutes, rather than working for 2 hours. Lazy, I didn't learn anything, I feel guilty, but it worked so hey.
Thankyou for your help though
|
|
|
07-29-2003, 04:31 PM
|
#6
|
Member
Registered: Jul 2003
Location: Cardiff, England ;)
Distribution: Mandrake 9.1
Posts: 94
Original Poster
Rep:
|
Damn, well I managed to get in the same pickle again, but this time I feel strong enough to tackle it properly
I've got vi going, and have managed to create, edit and save documents, so I'm ready to start fiddling with my /etc/X11/XF86Config file.
I've opened XF86Config in vi, and found the section about monitors. Does anyone have advice as to how I should edit it? Should I comment out (looks like I use "#") everything to do with TV-0?
|
|
|
07-30-2003, 02:48 AM
|
#7
|
Member
Registered: Jul 2003
Location: Cardiff, England ;)
Distribution: Mandrake 9.1
Posts: 94
Original Poster
Rep:
|
After a little more study I've got some new ideas...
The way I got the error this time was as follows:
Everything was working fine using Mandrake9.0 but I decided to upgrade to Mandrake9.1. I put the CD in, rebooted, followed the instructions, and installed 9.1. For some reason, when it finished installing, I got the "no screens found" error.
Reading this thread:
http://www.linuxquestions.org/questions/history/55754
has given me a clue. When I get home tonight I intend to log in as root, rename XF86Config-4 to something else using the command
mv XF86Config-4 wasXF86Config-4
and reboot. Hopefully this will fix the issue. I can't wait till 17:00h to try this now!
|
|
|
07-30-2003, 05:32 AM
|
#8
|
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
|
Yanc normally makes a backup cpoy of your original settings at /etc/X11/XF86Config.yanc
Just open that file with nano or pico or the likes:
nano -w /etc/X11/XF86Config.yanc
and save it as XF86Config
|
|
|
07-30-2003, 02:04 PM
|
#9
|
Member
Registered: Jul 2003
Location: Cardiff, England ;)
Distribution: Mandrake 9.1
Posts: 94
Original Poster
Rep:
|
Well, I tried:
removing XF86Config-4 completely (to use XF86Config)
removing both XF86Config and XF86Config-4 completely (who knows? Maybe it would be rebuilt!)
reverting to XF86Config-4.yanc (by renaming)
reverting to XF86Config-4.old (by renaming)
reverting to XF86Config-4.old.test (by renaming)
And none of them were a working configuration. I can't copy paste my XF86Config files here because I am on my XP machine (the Mandrake one isn't working, natch!)
I guess I need to start hacking away at editing XF86Config-4 then... where to start?
Last edited by asktoby; 07-30-2003 at 02:05 PM.
|
|
|
07-30-2003, 03:04 PM
|
#10
|
Member
Registered: Jul 2003
Location: Cardiff, England ;)
Distribution: Mandrake 9.1
Posts: 94
Original Poster
Rep:
|
lol, well, here I am in lynx on my dead mandrake box. I'd heard of lynx but never seen it - just typed "lynx" as an experiment and here I am. I wonder if it's possible to somehow copy the contents of XF86Config-4 and paste it here using lynx?
|
|
|
07-31-2003, 04:27 AM
|
#11
|
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
|
Send me a mail.I'll send you my config file.
|
|
|
07-31-2003, 12:49 PM
|
#12
|
Member
Registered: Jul 2003
Location: Cardiff, England ;)
Distribution: Mandrake 9.1
Posts: 94
Original Poster
Rep:
|
PROBLEM SOLVED!
As root, I renamed my XF86Config and XF86Config-4 to wasXF86Config and wasXF86Config-4. I then ran xf86config (note lowercase, this is an app not a textfile)
I found that text kept scrolling off the top of the screen, so switched to a fullscreen terminal window using ctrl-alt-f2, and running xf86config from there.
I followed the instructions, using the default values for most of the time, and saved a new XF86Config file. As it happens, when I tried opening kde using the:
startx
command, I got a mouse error. Turns out I'd incorrectly guessed the value for my mouse port setting, but the correct value was still inside wasXF86Config-4, so I corrected that.
And here I am, using Konqueror, in KDE, on Mandy9.1
Thankyou all for your helpful advise and support
Toby
|
|
|
All times are GMT -5. The time now is 07:40 AM.
|
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
|
|