LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-02-2004, 07:26 PM   #1
lil_slice
LQ Newbie
 
Registered: Sep 2003
Location: Minneapolis
Distribution: Redhat9, FedoraC1
Posts: 20

Rep: Reputation: 0
fluxbox takes years to load


Ok, so not years, but I switched from KDE to get away from this kind of thing. I'm using XDM to login and it appears as though fluxbox begins to load immediatly, so I think if there is a problem, it occurs after fluxbox has begun loading. I just need a little help getting pointed in the right direction. There is a .xsession-errors file created when I log in, and here it is:

Failed to load groupfile:
BScreen::BScreen: managing screen 0 using visual 0x22, depth 24

Although the second entry looks less like an error than the first, I have failed to resolve either. Is this related to my slow load times?


Fedora 1
1.2 GHz
512 MB DDR


Thanks

Ben
 
Old 02-02-2004, 07:58 PM   #2
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
If you start up in rc.3(Or whatever the text login is), how long does it take to load fluxbox?
 
Old 02-02-2004, 08:40 PM   #3
lil_slice
LQ Newbie
 
Registered: Sep 2003
Location: Minneapolis
Distribution: Redhat9, FedoraC1
Posts: 20

Original Poster
Rep: Reputation: 0
I brought the system down to runlevel 3 then issued the 'startx' command which just loads xdm. It takes about 5 seconds for xdm to load, and another 45 for fluxbox to load after I log in. The screen immediatly changes and is blank for a while, then I get the toolbar (with the exception of the workspace name box) and then after the 45 is up, I can finally read the text in the workspace name box and access my menus.
I'm new to the xinit procedures, I basically know what happens when, but actual details are fuzzy at best. Should I use the stock Fedora scripts (with all the error checking) or should I try to strip them down to something much cleaner?
 
Old 02-02-2004, 10:09 PM   #4
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
it shouldn't load xdm at all, when you issue the command, it loads whatever window manager you set up as default, so it loads for you Fluxbox, for me it loads xfce4. Is fluxbox a heavy environment, similar to Gnome or KDE? XFCE loads up in seconds on my 200mhz computer. Oh, and btw, congrats, another Minnesotan!
 
Old 02-02-2004, 10:37 PM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Quote:
Originally posted by r_jensen11
Is fluxbox a heavy environment, similar to Gnome or KDE? XFCE loads up in seconds on my 200mhz computer.
Not at all. Something's radically wrong. Flux should load virtually instantly - faster than XFCE and *far* faster than KDE. The only thing necessary is an ~/.xinitrc with the single line invoking fluxbox. (You'll want much more, of course, but that will be enough to invoke flux.) However, Fedora may have a screwy set of wrappers. r_jensen's absolutely right - xdm has no business running from 'startx'.

xinit `which fluxbox`

(I dunno where yours is) is the most minimal flux launch I can think of. For the error message (more informational, really), I think doing 'touch ~/.fluxbox/groups' will do it if that file doesn't already exist. (You may need to edit ~/.fluxbox/init to point to that file but probably not.) The second thing is purely informational. But none of this should be slowing flux down. And it's not exactly dependent on a whole lot of libs, so I don't see loading that as creating a problem. I don't really know what's wrong, but something is. Flux is fast.

Do you have any other window managers, like Ice or something? Is everything slow or just flux and KDE?
 
Old 02-02-2004, 10:49 PM   #6
lil_slice
LQ Newbie
 
Registered: Sep 2003
Location: Minneapolis
Distribution: Redhat9, FedoraC1
Posts: 20

Original Poster
Rep: Reputation: 0
I confess, it was I who set up xdm to run out of /etc/X11/xinit/xinitrc, like I said this process is still kind of ambigous to me, so I wasn't sure where to tell xdm to run.
So am I causeing the problem by running xdm out of the wrong place?
 
Old 02-02-2004, 11:22 PM   #7
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
I think so. If you're starting out in runlevel 3, there's no reason to have a session manager start up before you load your window manager.

I've been using Fluxbox for most of my Linux life, and never had trouble with it starting up slowly...even with the extra startup poop I've been experimenting with.
I also see "BScreen::BScreen: managing screen 0 using visual 0x22, depth 24" every time it starts up...it's just telling you that's what its visual settings are.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
takes long time to load the KDE bruse Linux - Newbie 14 10-03-2005 04:29 PM
idesk... fluxbox takes forever to load CPUFreak91 Linux - Software 1 08-05-2005 05:06 PM
ndiswrapper module takes an awfully long time to load xiang83 Linux - Hardware 0 02-12-2005 11:58 AM
Suse takes 5 minutes to load Home directory? linda Linux - Distributions 2 08-11-2004 03:22 PM
Freevo takes 4 minutes to load mp3 list wally48159 Linux - Software 1 05-11-2004 08:56 PM


All times are GMT -5. The time now is 09:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration