LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 08-31-2005, 01:26 PM   #1
illusha
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandriva LE2005 10.2
Posts: 25

Rep: Reputation: 15
Mandriva & ATI 128 issues


Hi there,

so i'm a bit new to linux, trying to kinda learn as i go
i just installed Mandriva (aka Mandrake) 10.2 distriibution on
IBM Netfinity 4500R Server (Dual PIII 733, 1Gb), IDE M=20Gb HD, IDE S=CD-ROM

Works good automatically with the planar (built-in) video - Savage S3 - using it now
However, my PCI ATI All-in-wonder Rage 128 video card only works in text-only mode.

After searching online, I found out that XFree86 driver works only if i manually edit /etc/X11/XF86Config file "Device" Section by adding the following text:
Identifier "ATI Rage 128"
Chipset "ATI Rage 128"
Driver "r128"

Now, here's my problem:

When i log in using the internal S3 card, the XF86Config file is written for that S3 card. If i manually edit it to say the ATI stuff and save it, then try to restart, it still doesnt work. When i use the ATI card, it only goes through the initial start up screen (everything checks OK in verbose mode), but then right before the Log In screen everything goes black.

I found info about F1-F7 modes (F7 being the GUI one), and during the Verbose startup F2-F6 turn the screen black. F1 returns it back to Verbose mode (so i am assuming that is the only text mode that works stock with my card). However, when the screen goes black right before the Log In, the F keys stop working as well, and i cant get into the text mode either...

any ideas???

also, what exactly do i do if i do manage to get into the text-onnly mode???
i assume, log in as root... find the XF86Config file, then what??? How do i modify it under Bash??? then just restart???
 
Old 08-31-2005, 01:38 PM   #2
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Edit your /etc/inittab file (as root) and change the line which says

id:5:initdefault:

To

id:3:initdefault:

(3 is multiuser, no graphical environment).

You can boot up like that, login at the command prompt, su all around and do whatever you need, and if you want to test your new settings you can type 'startx' to start up your window manager and see how things look.

For rebooting the command would be 'shutdown -(r or h) now'; r for "reboot" or h for "halt" (i.e. shut down and stay down). The 'now' is also necessary, it tells shutdown when you'd like this to actually happen. You may have to execute shutdown as root, some systems don't give users the priviledge to do it themselves.

Change the initdefault level back to 5 in order to go straight into a GUI again.

Last edited by rose_bud4201; 08-31-2005 at 01:42 PM.
 
Old 08-31-2005, 02:02 PM   #3
illusha
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandriva LE2005 10.2
Posts: 25

Original Poster
Rep: Reputation: 15
how can edit that file if i cant get even into the text-only mode???
i can see the start up screen, but it doesnt let me type anything in
as soon as it goes to (i assume) Log In GUI screen, it goes black, and then even Ctrl-Alt-F1 doesnt work any more....
 
Old 08-31-2005, 02:04 PM   #4
illusha
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandriva LE2005 10.2
Posts: 25

Original Poster
Rep: Reputation: 15
oh wait, i'll try to edit it in S3 planar video mode,
then restart and put ATI in, eh
 
Old 08-31-2005, 02:25 PM   #5
illusha
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandriva LE2005 10.2
Posts: 25

Original Poster
Rep: Reputation: 15
ok another question:

the first part worked, i can navigate to the XF86Config file under bash, but i dunno how to open it so that it could be edited... shame on me what a noooob
 
Old 08-31-2005, 03:09 PM   #6
illusha
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandriva LE2005 10.2
Posts: 25

Original Poster
Rep: Reputation: 15
bash questions

ok,


I am logged in via text-only miode as "root", i can navigate to the file
i opened all the permissions to it by writing "chmod 0777 XF86Config"
when i try to write "gedit ..." it says :

(gedit :7471): Gtk-WARNING **: cannot open display:

i looked online and it said to put "export DISPLAY=:0.0" before "gedit", but that did not change anything....

how can i open, edit and save that file??? thanx in advance

Last edited by illusha; 08-31-2005 at 03:52 PM.
 
Old 08-31-2005, 03:18 PM   #7
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,195

Rep: Reputation: 50
gedit is a graphic editor. It won't open until you start a gui. You need to use a text-mode editor: vi, joe or mc to name a few.
 
Old 08-31-2005, 03:18 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
you don't have permission to connect to the X server. try 1) use a console editor, e.g. vi. you should learn vi, it's great. 2) as your normal user run "xhost +localhost" then you will have permission to connect to X.
 
Old 08-31-2005, 03:20 PM   #9
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Emacs, Vi or Pico are all command-line text editors which should be installed. If you're not familiar with them, peeking into their man pages and writing down some of their relevant commands ('save' and 'quit' to name a couple) before you start will p'bly save some hassle :-) They're none of them normal "ctrl+s, ctrl+q" type editors. The command to open the file is all the same, though:
emacs <filename>, vi <filename> or pico <filename>

You'll need to be root to edit the XF86Config file, as well.
And yeah - you can edit inittab while still in the GUI, it won't take effect 'til you reboot. Sorry about that!

Last edited by rose_bud4201; 08-31-2005 at 03:22 PM.
 
Old 08-31-2005, 03:21 PM   #10
illusha
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandriva LE2005 10.2
Posts: 25

Original Poster
Rep: Reputation: 15
ok, i got myself into vim, now i have to learn it so that i can save, undo, etc...
 
Old 08-31-2005, 03:27 PM   #11
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I merged your two posts as they are on the same subject.
 
Old 08-31-2005, 03:33 PM   #12
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
To insert text (i.e. edit the file) you must first hit the letter 'i' before it will let you type anything. Hitting Escape will get you out of Insert mode, and then typing :w will save your file. :q will quit, and :q! will quit without saving.

Gedit won't work only because when you're in commandline only mode, there's no X server running, and Gedit is an X application.
 
Old 08-31-2005, 04:03 PM   #13
illusha
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandriva LE2005 10.2
Posts: 25

Original Poster
Rep: Reputation: 15
well, now

inittab is edited back to :5:, XF86Config is edited too, but X-GUI does not want to load... just loads in text only

something about misplaced delimiter and something failed...

F1-F6 text-only modes all work, which tells me that the ATI card will be working OK (about time), but when if press Ctrl-Alt-F7 which is supposed to take me to GUI, it takes me to a black screen with a blinking cursor, but no way to type nothing...
 
Old 08-31-2005, 04:04 PM   #14
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Can you paste in the exact inittab line (s)? Or something more on the error message, to tell whether it's an XF86 problem or an inttab problem?
 
Old 08-31-2005, 04:07 PM   #15
illusha
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandriva LE2005 10.2
Posts: 25

Original Poster
Rep: Reputation: 15
when i log in as root and type "startx" it gives me bunch of crap, including:

Data incomplete in file /etc/X11/xorg.conf
Undefined Device "device1" referenced by Screen "screen1"
Problem parsing the config file
Error parsing the config file
Fatal server error: no screens found
 
  


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
Inspiron 6000 & Ati X300 And Mandriva 2005 Le endreb Linux - Laptop and Netbook 3 10-08-2005 08:21 AM
Mandriva 2006 rc2 & ATI X700 driver 1inxs Linux - Hardware 0 10-01-2005 12:07 AM
Will Mandriva support a laptop with 15.4" WXGA brightview on a ATI Radeon 128 xpress laan97ac Mandriva 2 09-01-2005 06:08 PM
ATI Rage 128 PF & Dell M990 tmeehan SUSE / openSUSE 0 08-20-2005 10:15 PM
ATI radeon8500le 128 georgew Linux - Hardware 0 04-04-2002 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:29 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