LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 05-17-2004, 12:16 PM   #1
Paico
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake
Posts: 9

Rep: Reputation: 0
newbee in trouble. (video) Please help


Hi just got mandrake linux 10 installed it and it was working fine. i tinkered with the video settings and changed the res from 800x600 to 1024x768 now i cant see anything it's all garbled. Can anyone tell me how to fix it so that i can see again? and the sound doesn't work for me either i tried sndconfig but nothing. I want to thank you in advance for your help.


I'm installing on IBM Aptiva E2U model. memory and hd upgrade only video and sound built in.


ThanX ThanX ThanX ThanX
 
Old 05-17-2004, 12:27 PM   #2
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
hey,

do you have your video card module loaded?

Hamish
 
Old 05-17-2004, 12:32 PM   #3
Paico
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
Everything loads but the video is distorted and it moves to right so fast i can't even get a chance to try and change the settings.


Is there some kind of safemode i can boot to and change the setting?

Thanks for your reply Hamish

Last edited by Paico; 05-17-2004 at 12:34 PM.
 
Old 05-17-2004, 12:33 PM   #4
t3___
Member
 
Registered: Sep 2003
Posts: 240

Rep: Reputation: 30
couldnt he just edit his XF86Config file located in etc/X11? I'm new so I could be wrong...
 
Old 05-17-2004, 12:57 PM   #5
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
yeah, you can do that.

the file you want is /etc/X11/XF86Config

Make a backup of your old one first though.
Hamish
 
Old 05-17-2004, 01:01 PM   #6
Paico
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
The problem with that would be that i cant get to the drive from windows.

gezz i feel i really messed it up.
 
Old 05-17-2004, 01:48 PM   #7
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
Ok,

Shall I guess that your linux install automatically boots into a graphical mode?

In that case, you have to change that AND we will fix your graphics at the same time.

Firstly, download RIP Linux (this is a Live CD which lets to fix linux stuff) http://www.tux.org/pub/people/kent-r...IP-8.5.iso.bin and burn the ISO in windows.

Boot the computer with RIP linux in the cd drive.
then
1. mount /dev/<partition where linux is> /mnt/linux
I appreciate that <partition where linux is> isn't very helpful, but you will have to find this out. You might be able to do "fdisk -l" and it will tell you. if the hard drive is the primary master, then it will be "/dev/hdaX", if primary slave "/dev/hdaX". The X is the partition number.

2. nano /mn/linux/etc/X11/XF86Config
here, you will find a section called "Screen sections" and there will be some lines in there like:

Section "Screen"
Identifier "Screen 1"
Device "nvidia integrated 32Mb"
Monitor "multisync 75F"
DefaultDepth 16

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection

Subsection "Display"
Depth 16
# Modes "1280x1024" "1024x768" "800x600" "640x480"
Modes "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"

Find which Display is your default (eg "DefaultDepth 16") and the go tothe appropriate
Depth (eg "Depth 16"). Set the mode there to whatever you want. Of coruse, your graphics card might not support 16 depth, so try something like 8. You could also go back to 800x600 to test that it works.

Then exit (ctrl + X) and save on your way out.
Assuming that your video card module is loaded, this will work.
 
Old 05-17-2004, 02:33 PM   #8
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
OK, that will maybe fix your graphics.

Now we have to fix the fact that your PC boots in graphical mode. THis isn't a good idea because, as has happened here, if your graphics screw up, you can't do anything.

go to
#nano /etc/inittab
and change the line which looks like:
# Default runlevel.
id:5:initdefault:

to

# Default runlevel.
id:3:initdefault:

Now, when you start the computer, it will boot into a black creen and you have to use command line to start the graphics. THis is done by:

1. logging in
2. typing
$ startx

This will do it.

hamish
 
Old 05-17-2004, 03:10 PM   #9
Paico
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
ok i'm downloading the file now. It's taking a long time. when it is done i will follow your instructions and post again.

I can't thank you enough for your help. It's very nice of you.

ThanX again
 
Old 05-17-2004, 06:13 PM   #10
Paico
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
ok
i tried it but to no avail. i get a message saying

can't find in
/etc/fstab or /etc/mtab
my drive is identified as hdb1. even tried a few combo words and spaces but nothing.

I'm sorry, i'm sure this is very easy but i have only been doing linux for two days. Please bare with me.
 
Old 05-17-2004, 06:41 PM   #11
Paico
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
I have been trying to fix this all day. I think i'm going to just re-install linux and this time i'm going to take your advice and not have the gui boot at startup at least until i get better at this.

Hamish, I want to thank you very much for all your help on this. i thought that by fixing it would give me better understanding of how linux works but i guess i have to read a whole lot more.

Thank you Thank You Thank You
 
Old 05-17-2004, 06:50 PM   #12
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Rep: Reputation: 30
Try opening up a terminal from start applications.

Then type cd /etc/x11/

then alter the XF86config

or alter the /etc/inittab

by vi inittab and alter the runlevel
 
Old 05-17-2004, 07:26 PM   #13
Paico
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0


LOLOLOL This is funnyI booted the computer ready to re-install then i selected the upgrade feature instead of the install. I figured that since it was the last version and recently installed that i wouldn't have to go through the whole thing. and soon enough, in less than fifteen minutes i was writing this post. the installer gave me the chance of changing my video settings and thats that. here i am again. tired but happy.
 
Old 05-17-2004, 07:33 PM   #14
Paico
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
Hey hadesThunder Thanks for the reply.
I got to tell you that while in my travels through the system i found those directories and files i even got a chance to edit the xf86config file but i couldn't put it back from windows i could only read the drive. but i did look into inittab to see if i could change anything but couldn't. same thing.

Once again thanks for your help.

Now if i can only get my sound to work... hahahahahaha

Last edited by Paico; 05-17-2004 at 07:35 PM.
 
Old 05-17-2004, 08:13 PM   #15
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
You need to su to root before you can make changes to system files.

The setup program for video on Mandrake Linux is called 'XFdrake'.
You can run it from a terminal if you video setup isn't working. (run it as root)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble with video card nuteThug Linux - Newbie 5 06-01-2004 09:27 AM
New Video card trouble C-Squared Linux - Newbie 2 06-01-2003 08:24 AM
trouble w/ video cards reepark Linux - Hardware 0 12-18-2002 10:25 AM
For a newbee, cause newbee is a friend, and we must take care of friends. neo77777 Linux - Newbie 4 01-20-2002 01:01 AM
video trouble espoon Linux - Newbie 2 12-10-2001 01:00 PM


All times are GMT -5. The time now is 04:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration