Linux - SoftwareThis 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.
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.
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?
Location: Vienna / Austria / Europe / Earth / Milky Way
Distribution: Debian
Posts: 22
Rep:
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.
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.
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.
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.
Distribution: DEBIAN! - (also used: Red Hat, Mandrake, Slackware, SuSE, BestLinux, EasyLinux, muLinux...)
Posts: 92
Rep:
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.