LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-28-2003, 07:02 AM   #1
t1mc00per
Member
 
Registered: Jan 2003
Location: Midlands, England
Distribution: Mandrake 9.0, Slackware 8.1
Posts: 76

Rep: Reputation: 15
Red face Slow opening programs


I just installed Mandrake 9.0 and I use KDE.
Why do some programs take at least two minutes to open - OOo writer, konsole, konqueror, mozilla, desktop config thing, in fact almost everything?

I click to set them running, the egg-timer appears on the panel at the bottom, then it disappears and there is no sign of anything happening, then about a minute or two (or three) later the program appears.
Sometimes the digital clock stops flashing like the systems frozen (though the mouse still moves) and then eventually it starts again.

When they do finally open they are all fine and work properly.

The only program that reliably opens quickly is the Frozen Bubble game.

I only ask this in case it's a regular thing with newly installed Linux.
 
Old 01-28-2003, 07:12 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
It used to be caused by a problem with /etc/hosts.
There seems to be some problem with kde3 in Mandrake though, a lot of people have this. I have not seen a problem myself.
 
Old 01-28-2003, 07:24 AM   #3
0x0001
Member
 
Registered: Sep 2002
Distribution: Slackware 8.1
Posts: 84

Rep: Reputation: 15
Try a different window manager and see if it also this slow.
Personally I have observed the kdeinit process slowing things down sometimes. Since I don't use KDE (a little bit too bloated for my taste) I cannot really say.
Another idea: what system do you use? If you have a relative slow machine KDE usually helps to slow it down a bit more.
 
Old 01-28-2003, 07:52 AM   #4
t1mc00per
Member
 
Registered: Jan 2003
Location: Midlands, England
Distribution: Mandrake 9.0, Slackware 8.1
Posts: 76

Original Poster
Rep: Reputation: 15
Athlon 1.4
768Mb RAM
Geforce2
Western Digital Caviar 80Gb HD

Fast enough I think!?!

I'll try GNOME later.....
 
Old 01-28-2003, 08:39 AM   #5
t1mc00per
Member
 
Registered: Jan 2003
Location: Midlands, England
Distribution: Mandrake 9.0, Slackware 8.1
Posts: 76

Original Poster
Rep: Reputation: 15
I'm in GNOME now, it took more than 5 minutes to load up and gave the message: "Could not look up internet address for winnats.freeserve.co.uk@fs (my broadband address). This will prevent GNOME from operating correctly" + a bit more about adding winnats.freeserve.co.uk@fs to /etc/hosts.

But my internet connection is working anyway.

OOo writer took 60 secs
Terminal took 80 secs
Galeon (first run) took about 2 mins

Nautilus chugs when I drag it around the screen.
 
Old 01-28-2003, 09:07 AM   #6
0x0001
Member
 
Registered: Sep 2002
Distribution: Slackware 8.1
Posts: 84

Rep: Reputation: 15
Interesting that GNOME also complains about the /etc/hosts file, maybe thats the problem.

@DavidPhillips: have you any idea how to this issue is supposed to be resolved?
 
Old 01-28-2003, 09:12 AM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
post the contents of the file

the default has

127.0.0.1 localhost localhost.localdomain
 
Old 01-28-2003, 09:50 AM   #8
t1mc00per
Member
 
Registered: Jan 2003
Location: Midlands, England
Distribution: Mandrake 9.0, Slackware 8.1
Posts: 76

Original Poster
Rep: Reputation: 15
/etc/hosts just has one line that says:

127.0.0.1 localhost.localdomain localhost

Should I add the line "winnats.freeserve.co.uk@fs" to it like GNOME told me to?
But why would adding a line about my internet connection (which works fine), have anything to do with making programs start quicker?

Just to clear things up, most programs take around two minutes to start, but when they do eventually start they run fine and quickly.
 
Old 01-28-2003, 10:06 AM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
X has a wierd deal about knowing the ip address

just put the ipaddress followed by the hostname followed by the hostname.domainname under the existing line
 
Old 01-28-2003, 10:22 AM   #10
t1mc00per
Member
 
Registered: Jan 2003
Location: Midlands, England
Distribution: Mandrake 9.0, Slackware 8.1
Posts: 76

Original Poster
Rep: Reputation: 15
OK, is there any way I can find this info out from the command line, because I don't know it?

Also, you say "just put the ipaddress followed by the hostname followed by the hostname.domainname under the existing line". But the existing line in hosts has it the other way round: the ip address, then the hostname.domainname, then the hostname.
Just checking.
 
Old 01-28-2003, 10:48 AM   #11
borrocop
LQ Newbie
 
Registered: Jan 2003
Distribution: Mandrake
Posts: 10

Rep: Reputation: 0
No swap partition???
 
Old 01-28-2003, 07:41 PM   #12
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
hosts assigns all the names after the address to
the number, so the order doesn't matter.
i also add www.microsoft.com www.msn.com and other
such things after 127.0.0.1

you should add whatever linux thinks your hostname is
after the 127.0.0.1 also

Last edited by whansard; 01-28-2003 at 07:45 PM.
 
Old 01-29-2003, 02:23 AM   #13
t1mc00per
Member
 
Registered: Jan 2003
Location: Midlands, England
Distribution: Mandrake 9.0, Slackware 8.1
Posts: 76

Original Poster
Rep: Reputation: 15
Yeah but what IS my hostname?
Can I find it out from Linux?
 
Old 01-29-2003, 07:17 AM   #14
0x0001
Member
 
Registered: Sep 2002
Distribution: Slackware 8.1
Posts: 84

Rep: Reputation: 15
hostname(1) usually does the job
 
Old 01-29-2003, 09:01 AM   #15
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
as root you can type in "ifconfig" without the quotes and it will show you your ip address and then like it was said above type in "hostname" to see what your hostname is.
 
  


Reply



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
Opening programs in Java Diederick Programming 6 06-27-2005 03:58 PM
opening downloaded programs Bikerboy Linux - Software 1 07-09-2004 12:01 AM
KDE 3.1 suddenly slow (boot and opening programs) nameLock Linux - Newbie 4 01-14-2004 11:45 PM
Programs keep opening! antjessopuk Linux - Newbie 1 10-17-2003 06:52 AM
Opening and Configuring Programs Lorddraco98 Slackware 5 04-24-2002 05:00 PM

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

All times are GMT -5. The time now is 11:07 AM.

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