Tiny Core Base > TCB Q&A Forum

Fluxbox slow startup (~15 seconds)

(1/5) > >>

hobophil:
When booting up and using Fluxbox as window manager, it takes about 15 seconds to go from the command line (which briefly appears after extensions are loaded) to the desktop. I have a 2nd HDD with Fluxbox also installed with Tiny Core, and it takes about 3-4 seconds to start up. I have no idea what I did to make the 1st drive's start up so much slower. The 1st drive is an SSD which is like 25 times faster than the HDD. On the 1st drive with flwm_topside, it's about 2 seconds to get to the desktop. Haven't timed other window managers, but I think Fluxbox was slower than all of them. I want to use Fluxbox for aesthetic reasons.

Can someone please point me in the right direction to troubleshoot this? Any help is welcome, thanks.

onboot.lst:

--- Code: ---Xorg-7.7.tcz
aterm.tcz
wbar.tcz
wifi.tcz
wl-modules-4.14.10-tinycore.tcz
iw.tcz
pci-utils.tcz
ndiswrapper.tcz
firmware-atheros.tcz
firmware-broadcom_bcm43xx.tcz
firmware-broadcom_bnx2.tcz
firmware-broadcom_bnx2x.tcz
firmware-getB43.tcz
firmware-ipw2100.tcz
firmware-ipw2200.tcz
firmware-iwimax.tcz
firmware-iwl8000.tcz
firmware-iwl9000.tcz
firmware-iwlwifi.tcz
firmware-marvel.tcz
firmware-myri10ge.tcz
firmware-netxen.tcz
firmware-openfwwf.tcz
firmware-ralinkwifi.tcz
firmware-rtl8192ce_se_de.tcz
firmware-rtlwifi.tcz
firmware-ti-connectivity.tcz
firmware-ueagle-atm.tcz
firmware-vxge.tcz
firmware-zd1211.tcz
firmware.tcz
tc-install-GUI.tcz
ezremaster.tcz
nano.tcz
alsa-config.tcz
xf86-video-ati.tcz
firmware-radeon.tcz
firmware-amd-ucode.tcz
graphics-4.14.10-tinycore.tcz
terminus-fonts.tcz
fluxbox.tcz
vlc2.tcz

--- End code ---

.Xdefaults

--- Code: ---Aterm*scrollBar: true
Aterm*transparent: true
Aterm*title: Terminal
Aterm*foreground: white
Aterm*background: black
Aterm*cursorColor: green
Aterm*fading: 70
Aterm*shading: 50
Aterm*color12: DodgerBlue1
Aterm*saveLines: 1000
fltk*scheme: plastic
Xft.dpi: 96.0
Aterm*font: -xos4-terminus-medium-r-normal--24-240-72-72-c-120-iso8859-1

--- End code ---

.xsession

--- Code: ---/usr/local/bin/Xorg -nolisten tcp &
export XPID=$!
waitforX || ! echo failed in waitforX || exit
"$DESKTOP" 2>/tmp/wm_errors &
export WM_PID=$!
[ -x $HOME/.setbackground ] && $HOME/.setbackground
[ -x $HOME/.mouse_config ] && $HOME/.mouse_config &
[ $(which "$ICONS".sh) ] && ${ICONS}.sh &
[ -d "$HOME/.X.d" ] && find "$HOME/.X.d" -type f -print | while read F; do . "$F"; done
xset +fp /usr/local/share/fonts/terminus/
xset +fp ~/.fonts/
xset -dpms
xset s off

--- End code ---

.fluxbox/overlay

--- Code: ---! The following line will prevent styles from setting the background.
background: none
! background: unset
*.font: '-adobe-noto sans cjk jp light-light-r-normal--0-0-0-0-p-0-iso8859-1'
--- End code ---

.fluxbox/init

--- Code: ---session.screen0.tabs.usePixmap: true
session.screen0.tabs.maxOver:   false
session.screen0.tabs.intitlebar:        true
session.screen0.slit.acceptKdeDockapps: true
session.screen0.slit.maxOver:   false
session.screen0.slit.onhead:    0
session.screen0.slit.placement: RightBottom
session.screen0.slit.autoHide:  false
session.screen0.slit.alpha:     255
session.screen0.slit.layer:     Dock
session.screen0.titlebar.left:  Stick
session.screen0.titlebar.right: Minimize Maximize Close
session.screen0.toolbar.onhead: 1
session.screen0.toolbar.tools:  prevworkspace, workspacename, nextworkspace, iconbar, systemtray, clock
session.screen0.toolbar.visible:        true
session.screen0.toolbar.alpha:  255
session.screen0.toolbar.autoHide:       false
session.screen0.toolbar.height: 0
session.screen0.toolbar.maxOver:        false
session.screen0.toolbar.layer:  Dock
session.screen0.toolbar.placement:      TopCenter
session.screen0.toolbar.widthPercent:   100
session.screen0.menu.alpha:     255
session.screen0.iconbar.alignment:      Relative
session.screen0.iconbar.iconTextPadding:        10
session.screen0.iconbar.usePixmap:      true
session.screen0.iconbar.mode:   {static groups} (workspace)
session.screen0.iconbar.iconWidth:      128
session.screen0.tab.placement:  TopLeft
session.screen0.tab.width:      64
session.screen0.clientMenu.usePixmap:   true
session.screen0.window.focus.alpha:     255
session.screen0.window.unfocus.alpha:   255
session.screen0.workspacewarping:       true
session.screen0.autoRaise:      true
session.screen0.workspaceNames: Workspace 1,Workspace 2,Workspace 3,Workspace 4,
session.screen0.focusSameHead:  false
session.screen0.strftimeFormat: %k:%M
session.screen0.tooltipDelay:   500
session.screen0.edgeSnapThreshold:      10
session.screen0.defaultDeco:    NORMAL
session.screen0.showwindowposition:     false
session.screen0.windowMenu:     /home/tc/.fluxbox/windowmenu
session.screen0.menuDelay:      200
session.screen0.focusNewWindows:        true
session.screen0.tabFocusModel:  ClickToTabFocus
session.screen0.windowPlacement:        RowMinOverlapPlacement
session.screen0.clickRaises:    true
session.screen0.allowRemoteActions:     false
session.screen0.colPlacementDirection:  TopToBottom
session.screen0.opaqueMove:     true
session.screen0.noFocusWhileTypingDelay:        0
session.screen0.maxDisableMove: false
session.screen0.rowPlacementDirection:  LeftToRight
session.screen0.fullMaximization:       false
session.screen0.maxDisableResize:       false
session.screen0.maxIgnoreIncrement:     true
session.screen0.workspaces:     4
session.screen0.focusModel:     ClickFocus
session.configVersion:  13
session.cacheLife:      5
session.slitlistFile:   ~/.fluxbox/slitlist
session.styleOverlay:   ~/.fluxbox/overlay
session.menuFile:       ~/.fluxbox/menu
session.forcePseudoTransparency:        false
session.styleFile:      /usr/local/share/fluxbox/styles/Artwiz
session.tabPadding:     0
session.autoRaiseDelay: 250
session.keyFile:        ~/.fluxbox/keys
session.doubleClickInterval:    250
session.colorsPerChannel:       4
session.cacheMax:       200
session.appsFile:       ~/.fluxbox/apps
session.tabsAttachArea: Window
session.ignoreBorder:   false
--- End code ---

Entering "fluxbox -log ~fluxdir/log" into terminal from GUI desktop:

--- Code: ---tc@box:~/.fluxbox$ fluxbox -log ~fluxdir/log
Warning: Failed to open file(/usr/local/share/fluxbox/nls/C/fluxbox.cat)
for translation, using default messages.
Keys: Invalid key/modifier on line 27): OnWindowBorder Move1 :StartMoving
Keys: Invalid key/modifier on line 30): OnLeftGrip Move1 :StartResizing bottomleft
Keys: Invalid key/modifier on line 31): OnRightGrip Move1 :StartResizing bottomright
BScreen::BScreen: an error occured while querying the X server.
        another window manager already running on display :0.0
Error: Couldn't find screens to manage.
Make sure you don't have another window manager running.

--- End code ---

hobophil:
More info: Once on the desktop, if I exit to command line and do startx, it's pretty fast to get back to the desktop. Only takes 2 seconds or so. Fluxbox is just slow during initial startup.

hobophil:
Tried JWM and it was also slow, around the same speed as Fluxbox.

curaga:
First look in /var/log/Xorg.0.log, perhaps it has some clues. Otherwise you'd need to edit fluxbox source, add timed prints to see where it spends its time.

core-user:

--- Quote ---BScreen::BScreen: an error occured while querying the X server.
        another window manager already running on display :0.0
Error: Couldn't find screens to manage.
Make sure you don't have another window manager running.
--- End quote ---

--- Quote ---Tried JWM and it was also slow, around the same speed as Fluxbox.
--- End quote ---

Seems like a clue, is your system trying to run two WMs(?), did you check?

Navigation

[0] Message Index

[#] Next page

Go to full version