LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-06-2014, 05:02 PM   #1
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80
Blog Entries: 3

Rep: Reputation: Disabled
skip the X + Window Managers from BLFS


HI guys
You might have noticed my previous questions/post in the forum on x windows. I have tried what ever i taught was wrong but it din't worked out. So what i am planning that in the introduction to X Window System Environment their the book has mentioned about the XFree86.

So my query is that instead of doing the X Window System Environment from the book can i directly install the X Window System Environment from XFree86.

if yes then after installing XFree86 from which chapter can i start.

is their any other better option than XFree86.
 
Old 03-06-2014, 05:28 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
X.org is the current X implementation. XFree86 is dead. The only other X-like implementations out there are Wayland (which is still in testing) and DirectFB which has limited hardware support. Other than that, it's either utilize X.org or see about Wayland or DirectFB but after that you're on your own and outside the scope of BLFS.

Last edited by ReaperX7; 03-06-2014 at 05:30 PM.
 
Old 03-06-2014, 05:31 PM   #3
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
ok ReaperX7 then after installation from where should i star the BLFS book.
 
Old 03-06-2014, 09:12 PM   #4
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
I recommend you start with Chapter 3 first. This will clean up your system a bit post install.

If you decide to install X (which should be your logical next step if you're installing for a workstation), I highly recommend you set it to install to /usr as recommended in the book when you start with:

Code:
export XORG_PREFIX="<PREFIX>"
use this command:

Code:
export XORG_PREFIX="/usr"
and set:

Code:
cat > /etc/profile.d/xorg.sh << "EOF"
XORG_PREFIX="<PREFIX>"
XORG_CONFIG="--prefix=$XORG_PREFIX \
             --sysconfdir=/etc \
             --localstatedir=/var \
             --disable-static"
export XORG_PREFIX XORG_CONFIG
EOF
to this:

Code:
cat > /etc/profile.d/xorg.sh << "EOF"
XORG_PREFIX="/usr"
XORG_CONFIG="--prefix=$XORG_PREFIX \
             --sysconfdir=/etc \
             --localstatedir=/var \
             --disable-static"
export XORG_PREFIX XORG_CONFIG
EOF
After X, pick a desktop environment and go with it. I recommend, for its flexibility, Xfce and Xfce Applications.

After you do this, the choices are up to you.

Last edited by ReaperX7; 03-06-2014 at 09:15 PM.
 
Old 03-07-2014, 04:50 AM   #5
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
ReaperX7 Thanks for the comments but Is their any tutorial for installing X-windows on LFS.
 
Old 03-07-2014, 07:15 AM   #6
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
Quote:
Originally Posted by dragonprasad

Is their any tutorial for installing X-windows on LFS.
IMO, installing Xorg is easy. Long, but easy and straightforward. And there is no better Xorg installation guide in existence than the BLFS book. What can be time-consuming is configuration. Maybe that is what you meant.

Configuring the kernel for various video issues (drivers, KMS, frame buffering, console frame buffering, sometimes firmware, etc.) is most likely the issue here, IMO. ReaperX7 mentioned ideas about using a config file from another Linux system that is running well on the host system to build your BLFS kernel. Many people resort to that. It will cheat you in the learning process, but it may work and at least relieve your present desperation. You can always learn kernel configuration later (I'm still learning that).

Also a likely candidate for your trouble is the configuration of MesaLib for video drivers. Another is the Xorg driver that you installed. Those things are so hardware specific, and there is so much hardware in the world, that the book can't cover everybody's needs in perfect detail. I repeat my recommendation that you publish in your next post more information such as the complete details and specs of your video card and the Xorg.0.log file of the BLFS system that fails to start X. Somebody may see that here and know right off what to do. Until then, only guesses will be offered to you I think.

Less likely, IMO, is the post-install Xorg configuration since that is mostly automatic for most people nowadays. But as ReaperX7 mentioned in one of your other threads, it too may need special config files.

Lastly, I repeat here my idea to thoroughly study how the host Linux system is handling the video hardware. Things in the host like Xorg.0.log, dmesg, lspci, lsmod, the kernel config file, etc. usually reveals all you need to know.

Last edited by stoat; 03-07-2014 at 10:04 AM.
 
Old 03-07-2014, 10:45 AM   #7
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
I checked on GOOGLE for the installation of X.org system but they where for Ubuntu And I also found the installation of Xorg on FreeBSD book for creating their system from scratch And similarly for ARCH also.

So out of them which would be best to follow .


And i want to be clear that i want to install X-windows package but not like the BLFS way. Means just download a package and install it and the whole X-windows get finished, so that i can directly jump back to the GNOME or KDE or other desktop environment from the BLFS book.

Like what others do when they get a system with just terminal.

Last edited by dragonprasad; 03-07-2014 at 10:05 PM.
 
  


Reply

Tags
blfs, xorg, xwindows



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
Window Managers in Blfs build spiky0011 Linux From Scratch 4 05-01-2011 05:05 AM
BLFS - to download X-window packages. just.srad Linux From Scratch 2 09-24-2008 07:09 AM
skip login and directly gets into the x -window tiger130 Linux - Software 2 07-05-2007 07:00 AM
Window Managers vs Window Shell Environments DJOtaku Linux - General 7 08-09-2005 12:43 PM
Window Managers vs. Desktop Managers mikeshn Linux - General 4 02-11-2004 11:31 AM

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

All times are GMT -5. The time now is 08:18 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