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 08-19-2015, 02:32 PM   #1
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Rep: Reputation: 17
startx "no screens found" lfs 7.7


After building X and getting to the instructions to startx I get:

Code:
(EE)
Fatal server error:
(EE) no screens Found (EE)
Wayne Sallee
Wayne@WayneSallee.com
 
Old 08-19-2015, 02:49 PM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
That message means that you do not have the correct video drivers for your graphics card.

Check your kernel configuration.
 
Old 08-20-2015, 08:42 AM   #3
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by Head_on_a_Stick View Post
That message means that you do not have the correct video drivers for your graphics card.

Check your kernel configuration.
I'm running in virtualbox and have vesa installed. It seems to be trying to use vesa, but I still get that error.

I went back over the kernel configuration, and recompiled the kernel, and recompiled the video drivers.

Wayne Sallee
Wayne@WayneSallee.com
 
Old 08-20-2015, 09:31 AM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Did you install
http://www.linuxfromscratch.org/blfs...-vmware-driver
 
Old 08-20-2015, 09:40 AM   #5
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
Looks like it's trying to load other driver instead. I thought it was trying to load vesa, but now it looks like it's was trying to load novou, and then ati.

Wayne Sallee
Wayne@WayneSallee.com
 
Old 08-20-2015, 09:42 AM   #6
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by spiky0011 View Post
Yes, it's installed.

Wayne Sallee
Wayne@WayneSallee.com
 
Old 08-20-2015, 10:23 AM   #7
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
Finally found a good way to ssh into Virtualbox:
http://stackoverflow.com/questions/5...through-a-host

That will help a bunch.

I had tried another method of adding another network connection that failed.



Wayne Sallee
Wayne@WayneSallee.com
 
Old 08-20-2015, 10:25 AM   #8
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
Try this:

Look in /etc/X11/xorg.conf.d and remove any and all files within. The book has some examples, but they are subpar examples not aimed at a full configuration.

Next use this guide to try and set up X:

http://www.linuxquestions.org/questi...rk-4175521499/
 
Old 08-20-2015, 11:41 AM   #9
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
I already tried that page, and I have nothing in /etc/X11/xorg.conf.d.

Wayne Sallee
Wayne@WayneSallee.com
 
Old 08-20-2015, 11:50 AM   #10
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
Code:
cat xorg.conf
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc/"
	FontPath     "/usr/share/fonts/X11/TTF/"
	FontPath     "/usr/share/fonts/X11/OTF/"
	FontPath     "/usr/share/fonts/X11/Type1/"
	FontPath     "/usr/share/fonts/X11/100dpi/"
	FontPath     "/usr/share/fonts/X11/75dpi/"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "DefaultRefresh"     	# [<bool>]
        #Option     "ModeSetClearScreen" 	# [<bool>]
	Identifier  "Card0"
	Driver      "vmware"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

I keep getting
Code:
(**) |   |-->Device "radeon"
The ** is supposed to represent "from config file", so I don't know why it keeps trying to use radeon. Maybe it's pulling that from some other config file.

Also my laptop has the dual head graphics cards annoyance.

Wayne Sallee
Wayne@WayneSallee.com
 
Old 08-20-2015, 11:58 AM   #11
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
Code:
cat /var/log/Xorg.0.log
[   359.701] 
X.Org X Server 1.17.1
Release Date: 2015-02-10
[   359.702] X Protocol Version 11, Revision 0
[   359.702] Build Operating System: Linux 3.14.43-desktop-1.mga4 x86_64 
[   359.702] Current Operating System: Linux lfs-computer 3.19.0 #1 SMP Wed Aug 19 12:09:05 EDT 2015 x86_64
[   359.702] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.19-lfs-7.7 root=/dev/sda2 ro
[   359.702] Build Date: 06 August 2015  11:44:26AM
[   359.702]  
[   359.703] Current version of pixman: 0.32.6
[   359.703] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   359.703] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   359.704] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 20 16:42:20 2015
[   359.828] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   359.897] (==) No Layout section.  Using the first Screen section.
[   359.897] (==) No screen section available. Using defaults.
[   359.897] (**) |-->Screen "Default Screen Section" (0)
[   359.897] (**) |   |-->Monitor "<default monitor>"
[   359.897] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   359.897] (**) |   |-->Device "radeon"
[   359.897] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   359.897] (==) Automatically adding devices
[   359.897] (==) Automatically enabling devices
[   359.897] (==) Automatically adding GPU devices
[   360.126] (==) FontPath set to:
	/usr/share/fonts/X11/misc/,
	/usr/share/fonts/X11/TTF/,
	/usr/share/fonts/X11/OTF/,
	/usr/share/fonts/X11/Type1/,
	/usr/share/fonts/X11/100dpi/,
	/usr/share/fonts/X11/75dpi/
[   360.126] (==) ModulePath set to "/usr/lib/xorg/modules"
[   360.126] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   360.126] (II) Loader magic: 0x804280
[   360.126] (II) Module ABI versions:
[   360.126] 	X.Org ANSI C Emulation: 0.4
[   360.126] 	X.Org Video Driver: 19.0
[   360.126] 	X.Org XInput driver : 21.0
[   360.126] 	X.Org Server Extension : 9.0
[   360.130] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/134217728
[   360.130] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   360.131] (II) LoadModule: "glx"
[   360.192] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   360.225] (II) Module glx: vendor="X.Org Foundation"
[   360.225] 	compiled for 1.17.1, module version = 1.0.0
[   360.225] 	ABI class: X.Org Server Extension, version 9.0
[   360.225] (==) AIGLX enabled
[   360.225] (II) LoadModule: "ati"
[   360.292] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[   360.306] (II) Module ati: vendor="X.Org Foundation"
[   360.306] 	compiled for 1.17.1, module version = 7.5.0
[   360.306] 	Module class: X.Org Video Driver
[   360.306] 	ABI class: X.Org Video Driver, version 19.0
[   360.306] (EE) No drivers available.
[   360.306] (EE) 
Fatal server error:
[   360.306] (EE) no screens found(EE) 
[   360.306] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   360.306] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   360.306] (EE)

Wayne Sallee
Wayne@WayneSallee.com
 
Old 08-20-2015, 12:04 PM   #12
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
If you're running in VirtualBox, try this. Edit:

Code:
	Driver      "vmware"
to

Code:
	Driver      "modesetting"
It should not be trying to access real hardware for any reason.
 
Old 08-20-2015, 12:13 PM   #13
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by ReaperX7 View Post
If you're running in VirtualBox, try this. Edit:

Code:
	Driver      "vmware"
to

Code:
	Driver      "modesetting"
It should not be trying to access real hardware for any reason.
Still no go.

Code:
cat /var/log/Xorg.0.log
[  2043.139] 
X.Org X Server 1.17.1
Release Date: 2015-02-10
[  2043.146] X Protocol Version 11, Revision 0
[  2043.150] Build Operating System: Linux 3.14.43-desktop-1.mga4 x86_64 
[  2043.154] Current Operating System: Linux lfs-computer 3.19.0 #1 SMP Wed Aug 19 12:09:05 EDT 2015 x86_64
[  2043.155] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.19-lfs-7.7 root=/dev/sda2 ro
[  2043.158] Build Date: 06 August 2015  11:44:26AM
[  2043.159]  
[  2043.160] Current version of pixman: 0.32.6
[  2043.163] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  2043.163] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2043.172] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 20 17:10:23 2015
[  2043.173] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2043.174] (==) No Layout section.  Using the first Screen section.
[  2043.174] (==) No screen section available. Using defaults.
[  2043.174] (**) |-->Screen "Default Screen Section" (0)
[  2043.174] (**) |   |-->Monitor "<default monitor>"
[  2043.174] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  2043.174] (**) |   |-->Device "radeon"
[  2043.174] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  2043.174] (==) Automatically adding devices
[  2043.174] (==) Automatically enabling devices
[  2043.174] (==) Automatically adding GPU devices
[  2043.174] (==) FontPath set to:
	/usr/share/fonts/X11/misc/,
	/usr/share/fonts/X11/TTF/,
	/usr/share/fonts/X11/OTF/,
	/usr/share/fonts/X11/Type1/,
	/usr/share/fonts/X11/100dpi/,
	/usr/share/fonts/X11/75dpi/
[  2043.174] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2043.174] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2043.174] (II) Loader magic: 0x804280
[  2043.174] (II) Module ABI versions:
[  2043.174] 	X.Org ANSI C Emulation: 0.4
[  2043.174] 	X.Org Video Driver: 19.0
[  2043.174] 	X.Org XInput driver : 21.0
[  2043.174] 	X.Org Server Extension : 9.0
[  2043.179] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/134217728
[  2043.179] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2043.179] (II) LoadModule: "glx"
[  2043.179] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2043.181] (II) Module glx: vendor="X.Org Foundation"
[  2043.181] 	compiled for 1.17.1, module version = 1.0.0
[  2043.181] 	ABI class: X.Org Server Extension, version 9.0
[  2043.181] (==) AIGLX enabled
[  2043.181] (II) LoadModule: "ati"
[  2043.181] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[  2043.181] (II) Module ati: vendor="X.Org Foundation"
[  2043.181] 	compiled for 1.17.1, module version = 7.5.0
[  2043.181] 	Module class: X.Org Video Driver
[  2043.181] 	ABI class: X.Org Video Driver, version 19.0
[  2043.181] (EE) No drivers available.
[  2043.181] (EE) 
Fatal server error:
[  2043.184] (EE) no screens found(EE) 
[  2043.187] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  2043.193] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2043.195] (EE)
Wayne Sallee
Wayne@WayneSallee.com
 
Old 08-20-2015, 01:59 PM   #14
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by Wayne Sallee View Post
I already tried that page, and I have nothing in /etc/X11/xorg.conf.d.

Wayne Sallee
Wayne@WayneSallee.com
But I do have files in /usr/share/X11/xorg.conf.d

Wayne Sallee
Wayne@WayneSallee.com
 
Old 08-21-2015, 05:46 AM   #15
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
I don't suppose you created /usr/share/X11/xorg.conf.d/20-glamor.conf per:

http://www.linuxfromscratch.org/blfs...org-ati-driver

Given that you are using vbox, you don't need any of the drivers from the book.

vesa should be temporarily used and the binary vbox module should be installed as soon as permitted.
 
1 members found this post helpful.
  


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] Installing nVidia drivers with Optimus support, startx gives error "no screens found" flokofcgulls Slackware 8 06-04-2013 08:05 PM
Fedora 11 automatic install has left startx with "no screens found" hectordavie Linux - Newbie 3 06-23-2009 02:53 PM
startx "no screens found" Perdix Linux - Hardware 1 03-26-2007 10:43 AM
"No Screens" Found during startx... khermans Linux - General 2 09-17-2001 04:26 AM
"No screens found : startx" rdharn1 Linux - Software 1 04-09-2001 06:17 AM

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

All times are GMT -5. The time now is 11:34 PM.

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