Click to See Complete Forum and Search --> : can't stat /etc/X11/X


blink
03-08-2001, 03:23 PM
Hello,

I have X402 installed on debian potato, when I type startx, I get the above message.

Typing XFree86 works, but I get no window manager (just a grey screen)

XDM will start and exit quietly, booting me into bash instead!

I think this file is the culprit! And I think it is a sybolic link to somewhere...can one of you help me out and tell me where the link is to?

Thanks
Blink

bdg1983
03-08-2001, 03:52 PM
Yes, it's a symbolic link to your X server, the server might be in /usr/X11R6/bin or something, look for files named XF86_<something>, there are different kinds of them and the one you'll want to use depends on your display card.

It looks to me, though, like you don't have X configured at all. :confused: What does your XF86Config file look like? Have you run some setup tool, like XF86Setup or xf86config?

[ 08 March 2001: Message edited by: NGene ]

blink
03-08-2001, 04:14 PM
Thanks, I will try to find which server to link to..but aren't they all the same in X402? Something like XF86_common (or XF868_ati since I am using a RageLT Pro)?

My XF86Config-4 file works fine. Like I mentioned, I can type XFree86 and get a gray screen and mouse curser (which works)...

It's just that XDM dies quietly, so I don't know what it is missing and startx gives me the "can't stat /etc/X11/X" error... :(

I will keep trying though!

rod
03-08-2001, 04:18 PM
This could be because /etc/X11/X doesn't exist. It seems that by default X4 looks for the server in this spot.

Try symlinking /usr/X11R6/bin/XFree86 to /etc/X11/X

if /usr/X11R6/bin/XFree86 isn't there then you need to install the actual X server (this didn't happen automatically for me when I upgraded) so apt-get install xserver-xfree86.

Regards,
Rod

[ 08 March 2001: Message edited by: rod ]

blink
03-08-2001, 04:38 PM
Will do!

I think this is what I need.

Thanks much :D

I will report back if this works so others can do the same if need be

Blink

rod
03-08-2001, 06:59 PM
You haven't came back.... so... I guess you are still having problems. Another option is to run

xf86config

This will write your /etc/X11/XF86Config-4 file and set up the appropiate symlinks.


Regards,
Rod

blink
03-08-2001, 08:09 PM
Sorry,

I'm still at work (I'm on the west coast). I have to wait until I'm at home to try it..

If the symlink doesn't work, I will try your srcond suggestion.

Thanks again :D

blink
03-09-2001, 12:58 PM
Worked like a dream, now I just have to get my palm pilot hooked up and email configured and I am off to the races!

One question though, when I get all the problems solved and everything works great...what am I going to do for fun?

hehehe

p.s. Thanks Rod for your help