| Ubuntu This forum is for the discussion of Ubuntu Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-05-2005, 10:41 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2005
Posts: 21
Rep:
|
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.
|
|
|
|
05-05-2005, 11:28 AM
|
#2
|
|
LQ Newbie
Registered: Apr 2005
Posts: 21
Original Poster
Rep:
|
I found and changed the gdm file, but it's still slow as hell. Any ideas?
|
|
|
|
05-05-2005, 10:58 PM
|
#3
|
|
Member
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578
Rep:
|
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
|
|
|
|
05-06-2005, 11:42 PM
|
#4
|
|
LQ Newbie
Registered: Apr 2005
Posts: 21
Original Poster
Rep:
|
It's just thinking too long. Looking at the load average, it never went above .5 for all three values...
|
|
|
|
05-07-2005, 12:49 AM
|
#5
|
|
Member
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578
Rep:
|
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)?
|
|
|
|
05-07-2005, 01:38 AM
|
#6
|
|
LQ Newbie
Registered: Apr 2005
Posts: 21
Original Poster
Rep:
|
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!
|
|
|
|
05-09-2005, 01:01 AM
|
#7
|
|
LQ Newbie
Registered: Apr 2005
Posts: 21
Original Poster
Rep:
|
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?
|
|
|
|
05-09-2005, 06:28 AM
|
#8
|
|
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597
Rep:
|
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.
|
|
|
|
05-09-2005, 03:40 PM
|
#9
|
|
LQ Newbie
Registered: Apr 2005
Posts: 21
Original Poster
Rep:
|
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?
|
|
|
|
05-09-2005, 03:43 PM
|
#10
|
|
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597
Rep:
|
Sorry. Ubuntu, of course, uses Xorg so it's /etc/X11/xorg.conf .
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:54 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|