LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-05-2005, 10:41 AM   #1
curly08
LQ Newbie
 
Registered: Apr 2005
Posts: 21

Rep: Reputation: 15
fluxbox runnint very slowly


For some reason Ubuntu is having major difficulty running fluxbox, and programs inside fluxbox. Any gui's take forever to load (multiple minutes) when I never had this problem before with debian. I found some inforamtion here: http://fluxbox.sourceforge.net/docs/...hp#slowstartup
But i can't seem to find where gdm holds these commands; gdm.conf didn't seem to have the actual exec commands for different xSessions.

Thanks.
 
Old 05-05-2005, 11:28 AM   #2
curly08
LQ Newbie
 
Registered: Apr 2005
Posts: 21

Original Poster
Rep: Reputation: 15
I found and changed the gdm file, but it's still slow as hell. Any ideas?
 
Old 05-05-2005, 10:58 PM   #3
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
Is this slowness due to heaps of disk activity, or is the
machine thinking about it for too long?

While fluxbox is loading can you still switch to a console
and keep an eye on:
cat /proc/loadavg
 
Old 05-06-2005, 11:42 PM   #4
curly08
LQ Newbie
 
Registered: Apr 2005
Posts: 21

Original Poster
Rep: Reputation: 15
It's just thinking too long. Looking at the load average, it never went above .5 for all three values...
 
Old 05-07-2005, 12:49 AM   #5
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
Are there any warnings in /var/log/XFree86.0.log?
(you could probably run 'tail -f /var/log/XFree86.0.log' in a separate terminal to keep an eye on what's happening)
Perhaps you could even try keeping an eye on 'ps ax' while.

So there's not a lot of disk activity, the cpu usage is still low (?) ...
must be hanging on something.
Do you have the same problem with other window managers?


errr....
How about the contents of ~/.xsession-errors (in your user's home directory)?
 
Old 05-07-2005, 01:38 AM   #6
curly08
LQ Newbie
 
Registered: Apr 2005
Posts: 21

Original Poster
Rep: Reputation: 15
This is the xerrors:

/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -
u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "dlux"
/etc/gdm/Xsession: Beginning session setup...
Failed to read: session.titlebar.left
Setting default value
Failed to load groupfile:
apps file failure
BScreen::BScreen: managing screen 0 using visual 0x23, depth 24
Failed to read: session.titlebar.left
Setting default value
Failed to read: session.titlebar.left
Setting default value
Keys: Error on line: 15
> Mod1 e : ExecCommand Eterm -b black -f white --trans --shade 50 --scrollbar fa
lse -x --buttonbar false -g 100x50+15+15
Keys: Error on line: 16
> Mod1 f : ExecCommand firefox

So there are some errors going on. I fixed the key stuff--that was simple. Can someone clue me in as to the other stuff?
Thanks so much!
 
Old 05-09-2005, 01:01 AM   #7
curly08
LQ Newbie
 
Registered: Apr 2005
Posts: 21

Original Poster
Rep: Reputation: 15
I just got torsmo working, and it shows on startup that cpu % is 100. So the computer is hanging up on some process. But when I keep an eye on top in another terminal (shift+alt+F2 or whatever), it doesn't show any processes taking up vast amounts of system resources. How do I find out what's going on?
 
Old 05-09-2005, 06:28 AM   #8
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
In terminal window, commands "ps aux", "pstree", and "top" will show you the running processes and their current state.

I suspect that your problem is related either to font settings or network settings, so you should double-check that these are OK. Network settings depend on the type of connection you have (modem, DSL pppoe, or ethernet) but font settings should be easier to troubleshoot. If you've got msttfcorefonts or x-ttcidfont-conf installed, you might want to add the line
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
to /etc/X11/XF86Config-4 . Then do "sudo dpkg-reconfigure libpango1.0-common" and entrust font management to defoma. Then do "sudo dpkg-reconfigure fontconfig" and choose Autohinter. Then reboot to see if things have become any faster in fluxbox. If not, the problem is probably in your network settings.
 
Old 05-09-2005, 03:40 PM   #9
curly08
LQ Newbie
 
Registered: Apr 2005
Posts: 21

Original Poster
Rep: Reputation: 15
This is really wierd...I don't have XFree86.conf

. fluxbox sysconfig Xresources xsm
.. fonts X xserver Xwrapper.config
app-defaults gdm xinit Xsession
cursors rgb.txt xkb Xsession.d

What's the deal? And what should I do next?
 
Old 05-09-2005, 03:43 PM   #10
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Sorry. Ubuntu, of course, uses Xorg so it's /etc/X11/xorg.conf .
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Everything is running slowly... Doolspin Linux - Hardware 3 02-02-2006 10:06 AM
Everything Loads Slowly mandymo Mandriva 5 12-12-2004 11:36 AM
Fluxbox with slowly boot MANTERO Linux - General 8 10-15-2004 01:14 AM
Linux is going slowly justinv Linux - General 2 02-23-2003 09:15 AM
Why my rh7.2 so slowly? bulin Linux - General 3 09-25-2002 06:54 AM


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