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.
and as I know - that all compiled fine.
As I know, on modern systems I dont have to add any config files and so on. I just do "startx".
So I get error
Code:
root [ /etc/X11/xorg.conf.d ]# startx
xauth: file /root/.serverauth.3500 does not exist
X.Org X Server 1.18.1
Release Date: 2016-02-08
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.6.0-rc1 x86_64
Current Operating System: Linux nlebedevpc 4.6.0-rc1+ #1 SMP Wed Apr 6 02:28:18 MSK 2016 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.6-eudyptula root=/dev/sdb3
Build Date: 05 April 2016 11:07:35PM
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 6 15:10:30 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Any Ideas?
some information
Code:
root [ /etc/X11/xorg.conf.d ]# Xorg -configure
X.Org X Server 1.18.1
Release Date: 2016-02-08
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.6.0-rc1 x86_64
Current Operating System: Linux nlebedevpc 4.6.0-rc1+ #1 SMP Wed Apr 6 02:28:18 MSK 2016 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.6-eudyptula root=/dev/sdb3
Build Date: 05 April 2016 11:07:35PM
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 6 13:49:12 2016
List of video drivers:
vmware
nouveau
radeon
ati
intel
fbdev
modesetting
No devices to configure. Configuration failed.
(EE) Server terminated with error (2). Closing log file.
Code:
cat /proc/bus/pci/devices
contains nouveau
Kernel
Code:
root [ /etc/X11/xorg.conf.d ]# uname -a
Linux linuxfromscratch 4.6.0-rc1+ #1 SMP Wed Apr 6 02:28:18 MSK 2016 x86_64 GNU/Linux
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,157
Rep:
Don't close the thread just yet, if using the above sticky fixes your problem, just post what you did here, then close the thread, if you can't fix the problem with the above sticky leave this thread open and post what you tried from the above.
Xorg -config xorg.conf.new
X.Org X Server 1.18.1
Release Date: 2016-02-08
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.6.0-rc1 x86_64
Current Operating System: Linux 4.6.0-rc1+ #1 SMP Wed Apr 6 02:28:18 MSK 2016 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.6-eudyptula root=/dev/sdb3
Build Date: 05 April 2016 11:07:35PM
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 6 17:09:01 2016
(++) Using config file: "xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
Modern or not, Xorg isn't perfect with working AutoDetect with various hardware, and never will be thanks to the vendors of graphics cards which never all seem to follow manufacturer specs. It does often require /etc/X11/xorg.conf to be properly configured to work.
A lot of people will all tout that you don't need this and that and autoconfig works wonders... Well blah blah blah... whatever.
Use configuration files always. It's just common sense.
You're not getting any screens because AutoDetect is trying to configure multiple DVI, VGA, HDMI, and DisplayPort adapters all at once as the main display, and that won't work .
Next, run the command in the Xorg setup and configuration stickied topic, check the xorg.conf.new file in ~/ and edit it to fit your driver needs. It should setup for driver "nouveau" and no additional options.
Do not enable "glamor" acceleration, as it still doesn't work completely. Use "exa" instead.
Check the Screens section at the bottom next and only setup one screen if multiples exist.
Make sure you also have installed the drivers for "fbdev" as well. Driver "modesetting" should have been installed with xorg-xserver.
Now copy the xorg.conf.new as xorg.conf to /etc/X11 and try startx again.
X.Org X Server 1.18.1
Release Date: 2016-02-08
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.6.0-rc1 x86_64
Current Operating System: Linux nlebedevpc 4.6.0-rc1+ #1 SMP Wed Apr 6 02:28:18 MSK 2016 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.6-eudyptula root=/dev/sdb3
Build Date: 05 April 2016 11:07:35PM
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 6 20:42:19 2016
List of video drivers:
vmware
nouveau
radeon
ati
intel
fbdev
modesetting
No devices to configure. Configuration failed.
(EE) Server terminated with error (2). Closing log file.
No xorg.conf.new file was created.
Is there any chance I did something wrong when I was building all from source? Should I rebuild whole chapter?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.