LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 05-07-2016, 03:42 AM   #1
JayCorts
LQ Newbie
 
Registered: May 2016
Posts: 6

Rep: Reputation: Disabled
Problem with xorg, startx does not start, no screens found


Hello everyone

apologize in advance, my English is not very good.

I'm building a system using the LFS and BLFS book 7.9
completes construction of Chapter X Window System Environment, but when you start xorg. with startx, I generated the following error.

Code:
X.Org X Server 1.18.1
Release Date: 2016-02-08
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.2 x86_64
Current Operating System: Linux lfs 4.4.2 #1 SMP Wed Apr 13 16:44:15 COT 2016 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.2-lfs-7.9 root=/dev/sda2 ro
Build Date: 01 May 2016  10:47:18PM

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: Fri May  6 22:58:05 2016
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Data incomplete in file /etc/X11/xorg.conf.d/xkb-defaults.conf
        Undefined Screen "Screen1" referenced by ServerLayout "DefaultLayout".
(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
xauth: (argv):1:  bad display name "lfs:0" in "remove" command
and this is the information that is in. /var/log/Xorg.0.log

Code:
[  3963.195]
X.Org X Server 1.18.1
Release Date: 2016-02-08
[  3963.197] X Protocol Version 11, Revision 0
[  3963.197] Build Operating System: Linux 4.4.2 x86_64
[  3963.198] Current Operating System: Linux lfs 4.4.2 #1 SMP Wed Apr 13 16:44:15 COT 2016 x86_64
[  3963.198] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.2-lfs-7.9 root=/dev/sda2 ro
[  3963.198] Build Date: 01 May 2016  10:47:18PM
[  3963.199]
[  3963.199] Current version of pixman: 0.34.0
[  3963.199]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  3963.199] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3963.199] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May  6 22:58:05 2016
[  3963.200] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  3963.200] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  3963.200] Data incomplete in file /etc/X11/xorg.conf.d/xkb-defaults.conf
        Undefined Screen "Screen1" referenced by ServerLayout "DefaultLayout".
[  3963.200] (EE) Problem parsing the config file
[  3963.200] (EE) Error parsing the config file
[  3963.200] (EE)
Fatal server error:
[  3963.200] (EE) no screens found(EE)
[  3963.200] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  3963.200] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  3963.200] (EE)
[  3963.200] (EE) Server terminated with error (1). Closing log file.
estoy construlledon el sistema lfs en una maquina virtual con VirtualBox

It is the first time you build an LFS system. and this is the first problem I face that I could not solve.

I am thankful beforehand with whom I can work together to find the solution.
 
Old 05-07-2016, 10:24 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Can you post your xkb-defaults.conf? If you see the error about it says where the problems is.
 
Old 05-08-2016, 04:27 AM   #3
Jigsaw
Member
 
Registered: Apr 2016
Location: Indonesia
Distribution: Debian
Posts: 77

Rep: Reputation: Disabled
This is the same error as I have now, I have not found a solution to deal with this.
 
Old 05-09-2016, 12:07 AM   #4
Jigsaw
Member
 
Registered: Apr 2016
Location: Indonesia
Distribution: Debian
Posts: 77

Rep: Reputation: Disabled
download this driver. compile, install
./configure && $ XORG_CONFIG
Make
make install
https://www.x.org/.../driver/xf86-vi...a-2.3.4.tar.gz
continue in xorg conf use vesa
 
Old 05-09-2016, 01:31 AM   #5
Tim Abracadabra
Member
 
Registered: May 2014
Location: USA, Wherever I may Roam
Distribution: debian 9.8 w/GNOME and KDE dual boot w/Win 10.| debian 7.11 w/Xfce, LFS 7.9, + Multi-boot w/Windows7
Posts: 122

Rep: Reputation: Disabled
Nevermind

Last edited by Tim Abracadabra; 05-09-2016 at 01:34 AM. Reason: Oops, wrong thread
 
Old 05-09-2016, 03:57 AM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
The VESA driver is a fallback driver.

You probably need to check the Xorg.0.log for missing firmware messages and then install the Linux firmware from the git repo.

Code:
cat /var/log/Xorg.0.log | grep firmware
Then, use git to clone the Linux firmware repository, and run make install. Most, if not all, modern AMD graphics require firmware to be loadable.

Code:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
Once you've installed the firmware, reboot, and when eudev loads the Radeon driver module, it will load the firmware, and your monitor will be picked up, the EGL stack will load, and you will get accelerated graphics.

Last edited by ReaperX7; 05-09-2016 at 03:59 AM.
 
Old 05-13-2016, 03:35 PM   #7
JayCorts
LQ Newbie
 
Registered: May 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
I found the whole package solution rebuilding and installing xorg drivers vesa only .

thanks to all.
 
Old 05-03-2019, 06:05 PM   #8
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / GoboLinux / LFS / VoidLinux
Posts: 145

Rep: Reputation: 26
I had a similar problem; though vesa worked fine for me and compiled.

Eventually I found the culprit being an old xorg.conf file which I then removed
and that solved the issue for me, oddly enough.
 
Old 05-09-2019, 12:52 AM   #9
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
I always install xf86-video-fbdev, in addition to whatever hardware driver I have so that X has something generic to fall back on. It will, in fact, complain in the log if you don't do this. (Well, maybe not the log, but you'll see it in stderr if you startx and then exit.)

Edit: Also, why does this thread have 20K+ views? Seems odd...

Last edited by Luridis; 05-09-2019 at 12:56 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] startx error: No screens found SUSESailor Linux - Software 4 04-16-2016 12:27 PM
Xorg, no screens found; no devices found (after Virtualbox install) Archytas Linux - General 6 03-06-2013 03:41 PM
startx - no screens found dfense Linux - Desktop 4 12-04-2010 08:52 PM
startx - no screens found gwolf2u Linux - Newbie 2 07-18-2010 10:48 AM
startx: no screens found Anti-Corporate Linux - Newbie 3 01-01-2004 12:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration