LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-12-2001, 11:25 PM   #1
X11
Member
 
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

Rep: Reputation: 30
Exclamation X Windows won't work on my Laptop...


My Laptop's Specs:

Make/Model: Targa G795 (You probably never heard of it)
CPU: AMD K6/2 400
RAM: 32 MB RAM
VIDEO: 4 MB ATI Rage Mobility-M
OS: Mandrake Linux 8.0

Problem:
I have tried to configure X Windows through 'xf86config' trying all of the video cards with ATI chipsets with no luck. Once have finished with 'xf86config' and type in 'startx' I get the following error/message:

execve failed for /etc/X11/X (errno 2)

The above error/message appears with any of the ATI video cards I choose.
 
Old 12-13-2001, 10:21 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try this, depth 24 works also

file /etc/X11/XF86Config-4


Section "Device"
Identifier "ATI Rage 128 Mobility"
Driver "r128"
BoardName "Rage Mobility"
EndSection


Section "Screen"
Identifier "Screen0"
Device "ATI Rage 128 Mobility"
Monitor "My Monitor"
DefaultDepth 16 Subsection "Display"
Depth 16
Modes "1024x768"
EndSubSection

Section "DRI"
Mode 0666
EndSection

Last edited by DavidPhillips; 12-13-2001 at 10:25 AM.
 
Old 12-13-2001, 10:45 PM   #3
X11
Member
 
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

Original Poster
Rep: Reputation: 30
I typed the below into XF86Config-4 under the /etc/X11/ directory using the text editor of my choice and saved it:


Section "Device"
Identifier "ATI Rage 128 Mobility"
Driver "r128"
BoardName "Rage Mobility"
EndSection


Section "Screen"
Identifier "Screen0"
Device "ATI Rage 128 Mobility"
Monitor "My Monitor"
DefaultDepth 16 Subsection "Display"
Depth 16
Modes "1024x768"
EndSubSection

Section "DRI"
Mode 0666
EndSection


After I did all that. I typed in 'startx' and it still comes up with the same message:

execve failed for /etc/X11/X (errno 2)

BTW: Would the problem have anything to do with ALi AGP153e (I pretty sure this the driver for AGP under Windows)
 
Old 12-14-2001, 12:20 AM   #4
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
I did a search on google and the recurring theme was that ' /etc/X11/X ' is a symbolic link and that the error probably means that it is pointing to nothing. Check out the info here . Go all the way to the bottom of the page then scroll up a little and look for the one titled ' X won't start '. I hope this helps.
 
Old 12-14-2001, 02:41 AM   #5
X11
Member
 
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

Original Poster
Rep: Reputation: 30
Thanks a lot for that LinuxCool. But now I think got another problem with the follwoing file (located in the /etc/X11 directory):

FILE NAME: XF86Config-4

CONTENTS OF FILE:


Section "Device"
Identifier "ATI Rage 128 Mobility"
Driver "r128"
BoardName "Rage Mobility"
EndSection


Section "Screen"
Identifier "Screen0"
Device "ATI Rage 128 Mobility"
Monitor "My Monitor"
DefaultDepth 16 Subsection "Display"
Depth 16
Modes "1024x768"
EndSubSection

Section "DRI"
Mode 0666
EndSection

Now when I type in 'startx', I get the following problem/message (the below what I think is most important part of the message):


Parse error on line 15 of section Screen in file /etc/X11/XF86Config-4
"Section" is not a vaild keyword in this section.

(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()

Fatal server error:
no screens found
 
Old 12-14-2001, 02:59 AM   #6
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
I can't tell which line it's talking about. Try renaming your ' XF86Config-4 ' file to ' XF86Config-4.old ' and run the configuration program again and see if it will generate a new configuration file that will work.
 
Old 12-14-2001, 03:35 AM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
yea, sorry about that.

this line should be two lines


DefaultDepth 16 Subsection "Display"


DefaultDepth 16


Subsection "Display"


pasting did it for some reason


and you might try xinit see if that works.

Last edited by DavidPhillips; 12-14-2001 at 03:37 AM.
 
Old 12-17-2001, 03:21 AM   #8
X11
Member
 
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

Original Poster
Rep: Reputation: 30
Sorry if kept anyone in the dark for 2-3 days. I have got X Windows now up and running. Here shortened (sort of) version of how I did it. Firstly I typed in 'xf86cfg'.

When 'xf86cfg' (this is a basic graphical configuration program for X)

I choose Configure Modeline from the top right of the window (it says Configure Modeline by default) and then started carefully configure the options for my laptop's monitor.

After about an hour of fiddling around with the settings for the above and the video card.

I typed in 'startx' (crossed my fingers) and then it worked . But started in a low resolution with a low colour depth. So I started the 'Mandrake Control Center'. Choose the 'Hardware' tree and then display under that tree.

Then I played around with the resolution and color depth settings and clicked on OK (I could just see the top of the button). And the n restarted X.
 
Old 01-28-2002, 09:38 AM   #9
thatjeepguy
LQ Newbie
 
Registered: Jan 2002
Posts: 1

Rep: Reputation: 0
Well. I know this is a bit of a dead horse but I had the same issue after installing Red Hat 7.2 on a system with an Intel chipset video card. Anyways, after much messing around, I simply ran Xconfigurator. Went thru the whole X setup and tried running startx again. Success!!! =) Anyways, hope this helps out someone out there...
 
  


Reply



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
Will it work on my laptop!? DDoS YourseLF *BSD 4 07-28-2005 09:36 AM
should have left the laptop at work... arslin Linux - Newbie 1 05-14-2005 04:43 AM
Will Linux Work On A laptop MyNotMyAccount Linux - Laptop and Netbook 6 08-24-2004 11:58 AM
How well will Mandrake 10.0 work with my laptop? eBopBob Mandriva 7 04-26-2004 04:11 PM
what version will work on a laptop scooter6175 Linux - Newbie 4 07-15-2003 11:59 AM

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

All times are GMT -5. The time now is 01:04 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
Open Source Consulting | Domain Registration