Xorg - fatal server error
Hi folks,
BLFS 6.1 Host FC3 Problem on installing Xorg root:/sources/xcbuild$ sed -i -e "s@^#include <linux/config.h>@/* & */@" \ > `grep -lr linux/config.h *` && > ( make World 2>&1 | tee xorg-compile.log && exit $PIPESTATUS ) Code:
root:/sources/xcbuild$ ldconfig root:/sources/xcbuild$ cd ~ && > Xorg -configure Code:
bash: Xorg: command not found root:/sources/xcbuild$ ldconfig root:/sources/xcbuild$ cd ~ && > /usr/X11R6/bin/Xorg -configure Code:
# cat /mnt/lfs/var/log/Xorg.0.log Code:
X Window System Version 6.8.2 TIA B.R. satimis |
Did you follow the steps for creating the Bash Shell Startup Files?
http://www.linuxfromscratch.org/blfs...s/profile.html If not, your PATH will not be complete. Also, I don't know if you can run X through the chroot environment. But /dev/tty0 not existing would be because you didn't run /sbin/udevstart. |
Hi kjordan,
Quote:
Beside are there any different on content amongst cvs, stable and svn versions. Their dates of modification are not the same. I was following the stable version; http://www.linuxfromscratch.org/blfs...s/profile.html Quote:
satimis |
Hi kjordan,
Further to my late posting, I started LFS 6.1 and login as 'root' cd /sources/xcbuild from there ran 'X -config /root/xorg.conf.new' X-Window started, a black screen with snow-dots pattern (LCD monitor). Mouse pointer can move around on the screen. However it was rather funny. I did not know how to exit it. I tried keys and key-combinations without result. Finally I pressed a hard-reset key on the computer to restart the PC. I'll complete the rest part of Xorg and install other necessitated packages as far as possible on chroot environment. Then boot up LFS 6.1. I think it will be more easy and comfortable to work from there should Internet can be connected. About Fatal server error, on google search I found following suggestions but not in connection with BLFS 1) cd to /dev. Execute this command: ./MAKEDEV tty0 2) Use devfs or udev? if not use either of them , just mknod a /dev/tty0 Is it Code:
mknod -m 666 /dev/tty0 c 5 0 I hesitated whether to perform either of them after chroot or on Host/before chroot ? Any advice? B.R. satimis |
To fill /dev run /sbin/udevstart.
|
Hi kjordan,
Performed following steps On chroot environment @localhost.localdomain : /root@localhost:/# /sbin/udevstart No printout. Only 2 commands there, udevsend and udevstart @localhost.localdomain : /root@localhost:/dev# cd /sources/xcbuild/ @localhost.localdomain : /root@localhost:/sources/xcbuild# ldconfig @localhost.localdomain : /root@localhost:/sources/xcbuild# cd ~ && > Xorg -configure Code:
X Window System Version 6.8.2 Umount devices Code:
@localhost.localdomain : /root@localhost:/# umount /dev/pts On chroot environment (FC3 Host) completed follows; 1) Move the configuration file to its final location: Code:
mv ~/xorg.conf.new /etc/X11/xorg.conf Create .xinitrc: Code:
cat > ~/.xinitrc << "EOF" Code:
cat >> /etc/sysconfig/createfiles << "EOF" # startx Code:
xauth: error while loading shared libraries: libXmuu.so.1: cannot open shared object file: No such file or directory I could not find /dev/tty0 # find /mnt/lfs/ -name tty0 Code:
/mnt/lfs/.Trash-0/files/udev-056/test/sys/class/tty/tty0 Code:
/mnt/lfs/tools/bin/tty satimis |
Try booting into your LFS environment and starting X just in case it's something with your host environment. I wouldn't recommend trying to start your LFS X in your host environment, although I'm sure it may be possible.
|
Hi kjordan,
After adding "/usr/X11R6/lib" to /mnt/lfs/etc/ld.so.conf Code:
# Begin /etc/ld.so.conf @localhost.localdomain : /root@localhost:~# /sbin/ldconfig (No printout) Booted to LFS 6.1. "startx" worked there as Root only starting X-window with Xterm window and a clock displayed on screen. The mouse pointer also worked there. Typing on Xterm window also worked without problem. But X-window still failed to start on chroot environment alwaying complaining "Fatal Server Error". Would it be the problem of the NVidia driver of the graphic card "Windfast". The kernel version of the Host and that of LFS 6.1 are different. I can't "startx" as User on LFS 6.1, with the command only hanging on the screen. I have to switch to init3 by pressing [Ctrl]+[Alt]+F4 to relogin as root. /root/.Xauthority is an empty file. Any glue? TIA Quote:
B.R. satimis |
All times are GMT -5. The time now is 10:12 AM. |