Click to See Complete Forum and Search --> : Debian & X Problem


MrNewbie
02-21-2001, 10:55 AM
I reinstalled Debian and apt-get dist-upgraded with unstable sources in my sources.list file to upgrade to unstable. It said task-x-window-system and task-x-window-system-core had been kept back among other things so after the dist-upgrade had finished I manually apt-get installed them and it all seemed to be fine, but when I try to start x, this happens:

X: cannot stat /etc/X11/X (No such file or directory), aborting.
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.

What is wrong?
Thanks
MrNewbie

MrNewbie
02-21-2001, 05:19 PM
Bump.
Damn it figures, reinstalling gets my NIC working but breaks X :(

legaviu
02-21-2001, 05:28 PM
hmm...can't remember using X in debian manually, but I would try

telinit 5
or
startx

instead of X

to start it.


:confused:

MrNewbie
02-21-2001, 06:11 PM
I meant startx I accidently put a space hehe, its the startx command that crashed, it tries to load xdm at boottime but it fails with no error messages, it just doesnt loads. I've killed all the processes that seem X related and tried again but still won't work :(

ClearNinja
02-21-2001, 06:29 PM
It sounds like whatever X server your trying to connect to isnt installed. Try installing the X server again for your paticular video card. :)

MrNewbie
02-21-2001, 06:36 PM
I did that apt-get install xserver-svga and it said it was already the latest version.

gwpritch
02-21-2001, 07:45 PM
Originally posted by MrNewbie:
I did that apt-get install xserver-svga and it said it was already the latest version.

I had the same problem and I think the problem lies in the fact that you have been upgraded to xfree86 v4.
Try changing the xserver to xserver-xfree86
And reconfigure X using xfree86config(or is it xf86config...one or the other :)) instead of XF86Setup.
If that doesn't work try completely romoving X then reinstalling to get rid of all the version 3 components.

MrNewbie
02-21-2001, 08:06 PM
Didn't work. :(

masa36
02-22-2001, 07:29 AM
This is a problem I got help from irq.debian.org and #debian.

MrNewbie
02-22-2001, 09:05 AM
Thanks a lot the guys in debian@irc.debian.org helped me and said I needed to link /usr/X11R6/bin/XFree86 to /etc/X11/X and its now working and I now have X 4.0.2.

ColdPack
02-22-2001, 10:55 AM
Excellent!