Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
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.
when I run startx I get an error like this. can you help me to fix it?
Code:
[ 198.868]
X.Org X Server 1.18.1
Release Date: 2016-02-08
[ 198.869] X Protocol Version 11, Revision 0
[ 198.869] Build Operating System: Linux 4.4.0-21-generic x86_64
[ 198.869] Current Operating System: Linux lfs 4.4.2 #1 SMP Thu Apr 28 18:18:51 UTC 2016 x86_64
[ 198.869] Kernel command line: BOOT_IMAGE=/vmlinuz-4.4.2-lfs-7.9 root=/dev/sda1
[ 198.869] Build Date: 05 May 2016 04:00:13PM
[ 198.870]
[ 198.870] Current version of pixman: 0.34.0
[ 198.870] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 198.870] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 198.871] (==) Log file: "/var/log/Xorg.0.log", Time: Thu May 5 21:18:07 2016
[ 198.872] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 198.872] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 198.872] Data incomplete in file /etc/X11/xorg.conf.d/xkb-defaults.conf
Undefined Screen "Screen0" referenced by ServerLayout "DefaultLayout".
[ 198.873] (EE) Problem parsing the config file
[ 198.873] (EE) Error parsing the config file
[ 198.873] (EE)
Fatal server error:
[ 198.873] (EE) no screens found(EE)
[ 198.873] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 198.874] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
cat /etc/X11/xorg.conf.d/20-input.conf
Section "InputDevice"
Identifier "videocard0"
Driver "evdev or libinput"
Option "Device" "device path in /dev"
EndSection
Yes, but set SWCursor and ShadowFB both as "false", and PageFlip as "true" in your modesetting config, and set the Driver in your input config as "evdev", and all should work.
To be honest, you shouldn't need the input configuration at all. Eudev should setup the rules for your devices for input.
Yes, but set SWCursor and ShadowFB both as "false", and PageFlip as "true" in your modesetting config, and set the Driver in your input config as "evdev", and all should work.
To be honest, you shouldn't need the input configuration at all. Eudev should setup the rules for your devices for input.
Number of created screens does not match number of detected devices.
Your drivers are not detecting any display. I don't think this is your X config. I think the problem is in your video driver. See if there are any messages in the system logs and check for updated drivers.
Number of created screens does not match number of detected devices.
Your drivers are not detecting any display. I don't think this is your X config. I think the problem is in your video driver. See if there are any messages in the system logs and check for updated drivers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.