LinuxQuestions.org
Review your favorite Linux distribution.
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 02-03-2002, 07:54 PM   #1
Linux_N0oby
Member
 
Registered: Feb 2002
Location: Springfield, Misery
Distribution: Debian (Woody), RedHat 7.2, FreeBSD 4.5
Posts: 31

Rep: Reputation: 15
Question Debian "startx" problem.


Ok, I'm on my 6th install on Debian. 4 out of the 6 times I had no problem installing a DM. Now after a fresh install, I can't even get 'startx' to work! The line that I think is stopping it is : Failed to initialize core devices. The only other errors are mouse problems. Does anyone know what to do in a situation like this?
 
Old 02-04-2002, 04:37 AM   #2
alfie
Debian Developer
 
Registered: Jan 2002
Location: Vienna / Austria / Europe / Earth / Milky Way
Distribution: Debian
Posts: 22

Rep: Reputation: 15
Re: Debian "startx" problem.

Quote:
Originally posted by Linux_N0oby
The line that I think is stopping it is : Failed to initialize core devices. The only other errors are mouse problems.
It wouldn't be bad to check the whole output. Please keep in mind the following lines that are at the start of each startx output:
Code:
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
So you check of course for (EE) lines, but also take a look at the (WW) and (!!) lines. They might offer additional infos, too.

What I usually do when debugging a broken startx:
Code:
startx 2>&1 | less
Then I can scroll back and track down the problem in all of the messages.

When it says it can't initialize the core devices the mouse might be one of those. Search for device in that output and look for errors or warnings there.

HTH,
Alfie
 
Old 02-04-2002, 09:20 PM   #3
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
Yeah i used to get that error, its like 90% it is the mouse and like 10% the keyboard.
Edit your XF86Config file and make sure you have the right mouse protocol setup. You will need to change this if you are using a optical mouse.
 
Old 02-05-2002, 09:34 AM   #4
Linux_N0oby
Member
 
Registered: Feb 2002
Location: Springfield, Misery
Distribution: Debian (Woody), RedHat 7.2, FreeBSD 4.5
Posts: 31

Original Poster
Rep: Reputation: 15
Whatever it is, it's keeping me from starting a desktop manager. The current error it shows when I try "startx" is something about the video, and the "xinit". Would the mouse problem stop it from starting? I set the video the exact same way I did last time I got it to work.
 
Old 02-05-2002, 06:33 PM   #5
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
To see if its the mouse add this line to the XF86Config file:

"Option" "AllowMouseOpenFail"

If its an error in the xinit then that means you didn't specify a valid Desktop. These include but are not limited to KDE, GNOME, WM etc.

If you are using KDE the shortcut to add is:


exec startkde

in the ~/.xinitrc file..its a hidden file so to see it you need to "ls -a"
 
Old 02-05-2002, 08:26 PM   #6
Linux_N0oby
Member
 
Registered: Feb 2002
Location: Springfield, Misery
Distribution: Debian (Woody), RedHat 7.2, FreeBSD 4.5
Posts: 31

Original Poster
Rep: Reputation: 15
Okay, here's the exact problem XF86 is having:

Config Error: /etc/X11/XF86Config : 48

SubSection "extmod"
^^^^^^^^^

Module section keyword expected
Giving Up.


I can't find anything that has to do with "extmod", nor do I know what it means. It is Line 48, and it seems to be what is causing my problem.



Also there isn't an XF86Setup file!?! Is there a package I'm missing?

Last edited by Linux_N0oby; 02-05-2002 at 09:16 PM.
 
Old 02-05-2002, 09:39 PM   #7
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
If you have the Core package then you should have one of a few different programs:

XF86Setup -- For old versions
xf86cfg -textmode -- for new versions
XFree86Config -- for old versions.
 
Old 02-05-2002, 09:44 PM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by Linux_N0oby


Also there isn't an XF86Setup file!?! Is there a package I'm missing?
try using xf86config to configure X..

Last edited by trickykid; 02-05-2002 at 09:45 PM.
 
Old 02-05-2002, 10:00 PM   #9
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
Yeah try all those, it depends on alot of things but generally at least one of them work.
 
Old 02-05-2002, 10:14 PM   #10
Linux_N0oby
Member
 
Registered: Feb 2002
Location: Springfield, Misery
Distribution: Debian (Woody), RedHat 7.2, FreeBSD 4.5
Posts: 31

Original Poster
Rep: Reputation: 15
Talking

I did use 'xf86config'. I had no problems with that. It just doesn't know what to do when it hits the: SubSection "extmod". Neither do I. :P Last install I had the XF86Setup file, but not this time. I don't know where the "extmod", file comes from, or if it even is a missing file. vI'm guessing whatever package has the XF86Setup file might have the soulution to my problem. I hope.
 
Old 02-06-2002, 12:31 AM   #11
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Try renaming the XF86Config file to XF86Config.old. Then run xf86config again and see if it will create a new XF86Config file for you that will work.
 
Old 02-06-2002, 05:40 AM   #12
Linux_N0oby
Member
 
Registered: Feb 2002
Location: Springfield, Misery
Distribution: Debian (Woody), RedHat 7.2, FreeBSD 4.5
Posts: 31

Original Poster
Rep: Reputation: 15
Didn't work.
 
Old 02-06-2002, 06:58 PM   #13
el_felipe
Member
 
Registered: Dec 2001
Location: Sicily (Italy)
Distribution: DEBIAN! - (also used: Red Hat, Mandrake, Slackware, SuSE, BestLinux, EasyLinux, muLinux...)
Posts: 92

Rep: Reputation: 15
N0oby, many ways, two of them:

1) try "apt-get install xf86setup" (in sid) or if the package has a different name do an "apt-cache search XF86Setup" and then "apt-get install <package_name>"

This will have apt-get download and install packages + probably some dependecies (xserver-vga16...), then XF86Setup and follow the graphical setup.

or

2) "dpkg-reconfigure xserver-xfree86", or "xserver-whatever_xserver_you_have_installed", to see what x-server you have installed type "dpkg -l xserver*": those entries marked with "ii" are packages already installed.

Example:

felipe@entropic:~$ dpkg -l xserver*
[...]
pn xserver-mach32 <none> (no description available)
ii xserver-mach64 3.3.6-44 X server for ATI Mach64-based graphics cards
pn xserver-mach8 <none> (no description available)
pn xserver-mono <none> (no description available)
pn xserver-p9000 <none> (no description available)
pn xserver-s3 <none> (no description available)
pn xserver-s3v <none> (no description available)
ii xserver-svga 3.3.6-44 X server for SVGA graphics cards
[...]

Then I can dpkg-reconfigure xserver-svga or xserver-mach64

Hope this helps!

el_felipe
.
.
 
Old 02-06-2002, 07:04 PM   #14
Linux_N0oby
Member
 
Registered: Feb 2002
Location: Springfield, Misery
Distribution: Debian (Woody), RedHat 7.2, FreeBSD 4.5
Posts: 31

Original Poster
Rep: Reputation: 15
Thank you! Well, I guess I'll see if it works. :P
 
Old 02-06-2002, 10:33 PM   #15
Linux_N0oby
Member
 
Registered: Feb 2002
Location: Springfield, Misery
Distribution: Debian (Woody), RedHat 7.2, FreeBSD 4.5
Posts: 31

Original Poster
Rep: Reputation: 15
Okay, it showed that I only had it half installed. Also when I went to reinstall I noticed 2 xserver-comm files. One was 4.1.0, and the other was 3.3.x . Do I need both of these or is that what is causing my conflict? Well, I guess I will find out. Just for future reference, what is the best way to uninstall packages without really screwing anything up?

Last edited by Linux_N0oby; 02-06-2002 at 10:37 PM.
 
  


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
Debian Boot Up Problem - stuck at "BR" & "I" jc70417 Debian 2 08-30-2005 04:36 PM
How to start KDE automaticlly without typing "startx" then "startkde" Jonescity Slackware 8 10-29-2004 09:32 PM
problem with "startx" greklas Slackware 4 09-10-2004 08:49 AM
Controlling "startx" WM selection in Debian Woody wartstew Linux - Distributions 11 03-21-2003 05:15 PM
"startx" problem pixelV Linux - General 4 12-28-2002 10:02 AM

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

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