Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 11-05-2006, 02:09 PM   #1
LQ Newbie
Registered: Jul 2006
Posts: 10

Rep: Reputation: 0
starting BLFS in GUI mode by default

I have successfully build a running BLFS system..following the book version 6.1

How to make it deault start in GUI..i have use KDE desktop manager..

and yes changing the file /etc/inittab to runlevel 5 will give a xterm server. Not the GUI as given by using the startx command in the text mode startup
Old 11-06-2006, 06:51 AM   #2
Vitalie Ciubotaru
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153

Rep: Reputation: 30
The BOOK says
Back up your existing ~/.xinitrc file and create a new .xinitrc file to start KDE
by running
echo "exec startkde" > ~/.xinitrc
Follow the book, the book is good.

Good luck!!!

Last edited by Vitalie Ciubotaru; 11-06-2006 at 06:55 AM.
Old 11-06-2006, 03:30 PM   #3
LQ Newbie
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
thanks for the quick reply !!

But actually i did try to do that..but wasnt able to get what i want..
whenever i logon i want default startup as KDE GUI environment(the one which we get when we use startx command in text mode)

The above said solution wasnt able to fulfill that requirement in the BLFS which i build !!
i did follow the book honestly and with precautions But anyways if i committed any mistake I will really appreciate if someone help me to rectify it !!

thank u !!
Old 11-29-2006, 05:45 AM   #4
Registered: Feb 2006
Location: At a computer
Distribution: Ubuntu 7.04, LFS 6.3 rc1 (living dangerously ;), Windows XP
Posts: 75

Rep: Reputation: 15
Look at the "setting up xdm" section. Replace xdm with kdm.
Does that work?
And if everything stuffs up and you cant boot, boot the lfs kernel with "single" as a parameter and undo the changes


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Change from GUI mode to text mode alexr186 Linux - Software 4 01-08-2009 07:56 AM
BLFS 6.1, XFree86 4.5.0 Framebuffer mode problem on Radeon 9000 professorllama Linux From Scratch 0 04-20-2006 11:44 PM
a command to find out my default gui mode procfs Linux - General 3 02-03-2006 12:17 AM
How do i swith from GUI mode to CLI mode in fedora core 3 tinfocoms Fedora 5 09-08-2005 08:23 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

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