Click to See Complete Forum and Search --> : Can't start "X" in newly installed Debian 3.0
amgeex
10-28-2003, 06:10 PM
I just installed Debian Woody and everything went fine (I'm really happy 'bout that). But when I type:
startx
the screen goes black and then shows me the following message:
(--) Assigning device section with no busID to primary device
(EE) No device detected.
Fatal Error:
No screens found
XIO: Fatal IO error 104 (connection reset by peer) on X server ".0.0" after 0 requests
(0 known processed) with 0 events remaining.
Then it drops me back to the command prompt.
I did set my video driver to "nv" during the installation and I'm sure I configured my monitor (HP S70) properly. I think it's important to note that my video card (PNY GeForce 4 MX 420 PCI) is PCI and it's in the first PCI slot of my comp (HP Pavilion 6545c) and I think it's IRQ value is "10". Or at least that was in Windows.
Can someone enlighten me on this?
Thanks y'all ;0)
Stuka
10-28-2003, 06:51 PM
Do you have an entry in your XF86Config(-4) file for the PCI location of the card? If not, do an 'lspci' and make sure you get that info in there!
amgeex
10-28-2003, 06:56 PM
Humm... how exactly do I do this?
jedthehumanoid
10-28-2003, 07:35 PM
you can use
less /etc/X11/XF86Config-4
to look at your config file and determine what is going on. make sure your kernel module for your vid card is loaded. i don't know if it's in there by default. try this:
modprobe nv
then
startx
if X runs then you just need to setup debian to load it at boot time.
you can use
apt-get update && apt-get install modconf
modconf
to do this rather painlessly.
another tool you may find useful is
dpkg-reconfigure xfree86-xserver
that will allow you to take another shot at configuring X the way it would have done during install.
hope this helps & good luck.
bwkaz
10-28-2003, 09:06 PM
There actually is no kernel module named "nv". That's an X driver (nv_drv.o in /usr/X11R6/lib/modules/drivers).
But if you're using X's "nv" driver, then you don't need a kernel module, either, so no problem.
Do the less /etc/X11/XF86Config, and look to see whether the BusID line in your Device section (there should be one; if there isn't, X will go with the first device it finds, which would work) matches what lspci tells you the bus ID is for your video card.
amgeex
10-28-2003, 11:43 PM
Thanks for the help guys. Will try right now and I'll post back with the results.
Thanks y'all ;0)
amgeex
10-29-2003, 10:07 AM
Ok, I tried the following:
less /etc/X11/XF86Config-4
It has many "Input Devices" sections, in one of those it said:
identifier generic video card
driver nv
then I typed:
modprobe nv
and it didnīt work, but I suppose thatīs because it isnīt a kernel module, but an X module.
Also, I tried:
dpkg-reconfigure xfree86-xserver
but it said that "xfree86-server" wasnīt completely installed. So I tried:
apt-get install xfree86-xserver
but itīs seems I got the package name wrong.
Now what?
Also, how do I do this 'Ispci' thing?
Is it just typing 'Ispci' ? Cause that didnīt work.
Thanks for all the help! ;0)
jedthehumanoid
10-29-2003, 11:13 AM
Originally posted by bwkaz
There actually is no kernel module named "nv". That's an X driver (nv_drv.o in /usr/X11R6/lib/modules/drivers).
But if you're using X's "nv" driver, then you don't need a kernel module, either, so no problem.
Do the less /etc/X11/XF86Config, and look to see whether the BusID line in your Device section (there should be one; if there isn't, X will go with the first device it finds, which would work) matches what lspci tells you the bus ID is for your video card.
oops. thanks bwkaz for clerifying that for me.
if your finding that x wasn't installed all the way then try
apt-get install x-window-system
and see what that does for you. or you could try
apt-get install <whatever window manager you want> because the dependacy management should then take care of x for you.
amgeex
10-29-2003, 11:22 AM
Ok. Iīll try that and I already did:
apt-get install xfce
Iīll post back tomorrow or at night, right now Iīve got to go to school to pick up my scores īn stuff. See y'all later, thx for all the help guys.
bwkaz
10-29-2003, 08:49 PM
Originally posted by amgeex
Also, how do I do this 'Ispci' thing?
Is it just typing 'Ispci' ? Cause that didnīt work. Try /usr/sbin/lspci
Or, you could use "su -" to become root before running it. But that's not needed, because lspci itself doesn't require root privileges.
Thereisnotry
10-30-2003, 06:06 PM
Hi Amgeex
I had the same problem,
ok, as root restart x-configure
#dkpg-reconfigure xserver-xfree86
now use the vesa driver (for geforce4 cards) and set the bit rate to 16 (not 24).
Also you might have a problem starting kde so go into gnome,do this by either setting to gdm instead of kdm or just reboot to get the login screen. If you do have a problem with kde post here and i will tell you the solution OK.
Good luck.
amgeex
10-31-2003, 12:25 PM
BIG THANKS to YOU ALL. Iīve been out of my home, and right now Iīm going to try the solutions you provided me with. Iīll post back.
the amgeex!
amgeex
10-31-2003, 12:41 PM
Ok, I tried:
apt-get install x-window-system
and then:
dpkg-reconfigure xserver-xfree86
and it worked and I set it up. The only thing I couldnīt input was my cardīs BusID. So when I finished setting "X" up I did /usr/sbin/Ispci, but nothing happened. It said: "not such file or directory". Then I did less /etc/X11/XF86Config-4, but I didnīt see any line with my cardīs BusID.
How can I get my cardīs BusID?
IT BOOTED INTO X!!!!!
But I want it to boot into XFce directly, how can I do this?
jedthehumanoid
10-31-2003, 01:12 PM
/usr/sbin/lspci
your typed /usr/sbin/Ispci
ls as in list pci.
now, buy saying you want to boot directly into xfce, do your mean you want to turn on your computer and have it go straight to xfce via your login? if, so, you can set up debian to use gdm instead of xdm and there should be a setting in the configuration to have it log you in automatically on startup.
by doing
apt-get install gdm
you will be given a a dialog during install that will ask you what login manager you want to use and at that point you would switch it to gdm. then after starting gdm you look for the confguration dialog. memory is kind of foggy on it and i'm not at linux box at the moment 'cause I'm at work, but configuring gdm should be pretty self explanitory.....
glad to hear it's working out for you!!!
amgeex
10-31-2003, 01:18 PM
Thanks for that. I feel so good. I installed Debian and I'm nearly a noob!! Haha!! That proves that Debian can be as easy to install as Mandrake and it's a lot more custumizable. I just installed Mozilla and posting from my Debian Window Maker desktop.
I'll try gdm in a while. Just want to change the backgroud 'n stuff, ya know.
THANK YOU ALL!!!!!!
;0)