LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-19-2005, 05:13 PM   #1
bluesmanu
Member
 
Registered: May 2005
Location: Geneve
Distribution: Fedora 12
Posts: 48

Rep: Reputation: 15
Skipping display manager


Hey!

I am not a total newbie although i ain't no big boss either.

I am running FC3. My wm is fluxbox. As i am concerned with reducing boot time i would like to skip gdm or (kdm/xdm) since i am the only user on my laptop.
As soon as level 5 services are started i would like to get logged in automatically, x to start and fluxbox to start.

I have tried to run this script at the end of inittab but it didn't work :

login -f my_user_name
startx
exec /usr/local/bin/fluxbox

I am at the moment starting up thru gdm (automatically so i don't actually see gdm). My boot time is approximately 1min20sec.

Thanx for any ideas

Manu
 
Old 05-20-2005, 07:37 AM   #2
xukosky
Member
 
Registered: Apr 2005
Distribution: Becoming Sid
Posts: 142

Rep: Reputation: 16
http://www.linuxgazette.com/issue27/kodis.html
http://www.linuxgazette.com/issue72/chung.html

But you donŽt need to apply the patch, the autologin parameter is now already included in mingetty:

http://www.die.net/doc/linux/man/man8/mingetty.8.html

Read the articles, but basically you need to change this in your /etc/inittab:

1:12345:respawn:/sbin/mingetty --noclear --autologin kodis tty1

and add this to your ~/.bash_profile:

if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then
startx
fi

I haven't tried this in a computer with a login manager installed, maybe youŽll need to uninstall gdm.
 
Old 05-20-2005, 07:42 AM   #3
bluesmanu
Member
 
Registered: May 2005
Location: Geneve
Distribution: Fedora 12
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks!!!

I'll try that right after studying (exams are looooming )


Manu
 
Old 05-21-2005, 05:37 PM   #4
bluesmanu
Member
 
Registered: May 2005
Location: Geneve
Distribution: Fedora 12
Posts: 48

Original Poster
Rep: Reputation: 15
Hey!

Alright it works pretty fine when i boot but when i exit fluxbox, i just get a black screen and then it start fluxbox again...

Know why?

Last edited by bluesmanu; 05-21-2005 at 06:11 PM.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to shut down the X display manager rollo Linux - Newbie 10 04-02-2005 05:58 AM
X display manager not starting fatrandy13 Linux - Software 4 12-16-2004 12:26 PM
FC2 test 3 mouse skipping a beat, movie skipping also jang Fedora 1 10-28-2004 07:42 PM
Display Manager aikempshall Mandriva 2 02-12-2004 03:11 PM
Display Manager DavidTempler Linux - Newbie 0 08-01-2003 03:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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