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.
Last time i had the same problem in X windows testing.
I booted in to the LFS Build and run " startx" but instead of getting the desired output i am getting these lines over the terminal
Code:
auth: file /root/.serverauth.1694 does not exist
xauth: (argv):1: bad display name "GEN1:0" in "list" command
xauth: (stdin):1: bad display name "GEN1:0" in "add" command
X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.8.0-35-generic i686
Current Operating System: Linux GEN1 3.13.3 #3 SMP Fri Mar 21 15:57:52 IST 2014 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.3-lfs-7.5 root=/dev/sda2 ro
Build Date: 21 March 2014 03:41:15PM
Current version of pixman: 0.32.4
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 Mar 21 18:27:50 2014
(==) Using config file: "/etc/X11/xorg.conf"
(==) 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
Undefined Screen "Screen0" 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 "GEN1:0" in "remove" command
I am also placing the "/var/log/Xorg.0.log" file below
Quote:
[ 91.197]
X.Org X Server 1.15.0
Release Date: 2013-12-27
[ 91.197] X Protocol Version 11, Revision 0
[ 91.197] Build Operating System: Linux 3.8.0-35-generic i686
[ 91.197] Current Operating System: Linux GEN1 3.13.3 #3 SMP Fri Mar 21 15:57:52 IST 2014 i686
[ 91.197] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.3-lfs-7.5 root=/dev/sda2 ro
[ 91.197] Build Date: 21 March 2014 03:41:15PM
[ 91.197]
[ 91.197] Current version of pixman: 0.32.4
[ 91.197] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 91.197] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 91.197] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 21 18:27:50 2014
[ 91.239] (==) Using config file: "/etc/X11/xorg.conf"
[ 91.239] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 91.239] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 91.291] Data incomplete in file /etc/X11/xorg.conf
Undefined Screen "Screen0" referenced by ServerLayout "DefaultLayout".
[ 91.291] (EE) Problem parsing the config file
[ 91.291] (EE) Error parsing the config file
[ 91.291] (EE)
Fatal server error:
[ 91.291] (EE) no screens found(EE)
[ 91.291] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 91.291] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 91.291] (EE)
[ 91.292] (EE) Server terminated with error (1). Closing log file.
Guys help me out.
if you need any other thing to see i will provide you but just help me out in running the xwindows
Guys after going through some config files i found the display error problem and corrected it. But now when i run the
Code:
startx
last time it gave the output similar to the content of Xorg.0.log. But this time it gave information related to my system and ended with some error about the display. kindly see the attachment given below contain the picture of the result. and while saving the result of the command "startx" by using
Code:
startx 1> l.log 2> p.log
it is showing different from the output came on the terminal.
the output of the p.log file is
Code:
xauth: file /root/.serverauth.1747 does not exist
xauth: (argv):1: bad display name "GEN1:2" in "list" command
xauth: (stdin):1: bad display name "GEN1:2" in "add" command
X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.8.0-35-generic i686
Current Operating System: Linux GEN1 3.13.3 #3 SMP Fri Mar 21 15:57:52 IST 2014 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.3-lfs-7.5 root=/dev/sda2 ro
Build Date: 21 March 2014 03:41:15PM
Current version of pixman: 0.32.4
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.2.log", Time: Fri Mar 21 21:28:15 2014
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
and afhter that command it is getting stuck their even if i press enter it is not showing any thing when i press ctrl+z the it is stopping. i think that as told in the book "command brings up a rudimentary window manager called twm with three xterm windows and one xclock window. " but they are not getting displayed on the terminal, because of the display is not getting selected(what i have figured from the config file) help me out to select the display.
and here is the /var/log/Xorg.0.log
Code:
[ 21.780]
X.Org X Server 1.15.0
Release Date: 2013-12-27
[ 21.784] X Protocol Version 11, Revision 0
[ 21.785] Build Operating System: Linux 3.8.0-35-generic i686
[ 21.786] Current Operating System: Linux GEN1 3.13.3 #3 SMP Fri Mar 21 15:57:52 IST 2014 i686
[ 21.786] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.3-lfs-7.5 root=/dev/sda2 ro
[ 21.788] Build Date: 21 March 2014 03:41:15PM
[ 21.789]
[ 21.791] Current version of pixman: 0.32.4
[ 21.793] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 21.793] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 21.798] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 21 21:24:49 2014
[ 21.845] (==) Using config file: "/etc/X11/xorg.conf"
[ 21.846] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 21.847] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 21.885] (==) No Layout section. Using the first Screen section.
[ 21.885] (==) No screen section available. Using defaults.
[ 21.885] (**) |-->Screen "Default Screen Section" (0)
[ 21.885] (**) | |-->Monitor "<default monitor>"
[ 21.886] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 21.886] (**) | |-->Device "Videocard0"
[ 21.886] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 21.886] (==) Automatically adding devices
[ 21.886] (==) Automatically enabling devices
[ 21.886] (==) Automatically adding GPU devices
[ 21.962] (==) 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/
[ 21.962] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 21.962] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 21.962] (II) Loader magic: 0x8260180
[ 21.962] (II) Module ABI versions:
[ 21.962] X.Org ANSI C Emulation: 0.4
[ 21.962] X.Org Video Driver: 15.0
[ 21.962] X.Org XInput driver : 20.0
[ 21.962] X.Org Server Extension : 8.0
[ 21.962] (II) xfree86: Adding drm device (/dev/dri/card0)
file
Last edited by dragonprasad; 03-21-2014 at 01:31 PM.
xauth: file /root/.serverauth.1747 does not exist
xauth: (argv):1: bad display name "GEN1:2" in "list" command
xauth: (stdin):1: bad display name "GEN1:2" in "add" command
how to correct it. Since it may be making the problem
Can you post your complete /etc/X11.xorg.conf file here please?
ReaperX7, their is no X11.xorg.conf under /etc but thier is xorg.conf file under /etc/X11
And i am pasting it here below please have a look and help me out.
ReaperX7, their is no X11.xorg.conf under /etc but thier is xorg.conf file under /etc/X11
And i am pasting it here below please have a look and help me out.
That's a very incomplete xorg.conf. You need to generate a full xorg.conf, not use the example setup that targets that specific section of the xorg.conf file.
From the console run this command:
Code:
Xorg -configure
Xorg -config xorg.conf.new -retro
Use Ctrl+Alt+F1 to go back to the console and hit Ctrl+C to bring up the prompt again, then run:
Code:
cp xorg.conf.new /etc/X11/xorg.conf
Then use the example from the book to configure GlamorEGL and other specific modules.
ReaperX7, thanks for the code i din't knew that i need to use them also.
But still their i am facing some problems.
as you said i used the command "Xorg -configure"
It is showing the following lines on window and getting stuck
Quote:
X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.8.0-35-generic i686
Current Operating System: Linux GEN1 3.13.3 #5 SMP Sun Mar 23 06:04:53 IST 2014 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.3-lfs-7.5 root=/dev/sda2 ro
Build Date: 21 March 2014 03:41:15PM
Current version of pixman: 0.32.4
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: Mon Mar 24 10:54:09 2014
and after this it is getting stuck and not showing any thing.
Even entering any command it is not getting to the original state and i need to restart the system to use it again.
Last edited by dragonprasad; 03-24-2014 at 09:53 AM.
But after this when i am running Xorg -config xorg.conf.new -retro it is getting stuck and just displaying this
Quote:
X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.8.0-35-generic i686
Current Operating System: Linux GEN1 3.13.3 #3 SMP Fri Mar 28 12:00:15 IST 2014 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.3-lfs-7.5 root=/dev/sda2 ro
Build Date: 28 March 2014 12:00:15PM
Current version of pixman: 0.32.4
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 Mar 28 12:00:15 2014
(==) Using config file: "/etc/X11/xorg.conf.new"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
and after this not even ctrl+z is working to stop it.
ReaperX7, thanks for your support but even after editing the xorg.conf file it doesn't start the Xserver.
the same happened last time also.
i am not able to figure what error is coming and where.
thought of doing BLFS again but this time using virtual machine....
If it won't start with the "Radeon" driver, them comment out all the options for Card-0, and replace "Radeon" with "vesa" and try to start it from the baseline vesa driver.
At this point you should have also installed pciutils so you can one perform hardware analysis.
Try running lspci and post what it says here. Afterwards we can diagnose what's wrong and see what else may be required.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.