LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 08-11-2005, 03:18 AM   #1
joosep
LQ Newbie
 
Registered: Jun 2005
Location: Estonia
Distribution: MEPIS
Posts: 23

Rep: Reputation: 15
Startup times in KDE


I'm having some trouble in MEPIS. Recently my startup times have gotten bad. It takes like 5 minutes to log in, it hangs while loading KDE and the loading screen disappears. When i finally managed to log in, it hadn't started any of the programs that run on KDE startup(kicker, amaroK, Kopete etc.), only a desktop with icons on it. No biggie, i just press Alt+F2 and type "konqueror" to report my problem here. Konqueror also takes at least 2 minutes to start up, and with konqueror all of my other programs appear. And all that in only 20 minutes. Woo! I think thsi has something to do with my /etc/hosts file, I read somewhere that KDEneeds to contact localhost or something and I need to add my IP in there. But I have a dynamic IP. What's strange is my startup times where OK before, but they have recently started to get worse(like yesterday only amaroK was slow to start up). But for example Desktop Configuration screen starts fast.

Thanks for any help!
 
Old 08-11-2005, 04:15 AM   #2
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
have you looked in your log files to see if there are any errors ??
 
Old 08-11-2005, 04:25 AM   #3
joosep
LQ Newbie
 
Registered: Jun 2005
Location: Estonia
Distribution: MEPIS
Posts: 23

Original Poster
Rep: Reputation: 15
XFRee86.1.log, XFRee86.0.log, kdm.log, user.log, syslog, kdm.log reported nothing strange.
In kern.log however there was

Aug 11 11:19:31 Edasi-1 kernel: ABORTED IN=ppp0 OUT= MAC= SRC=62.216.251.205 DST=80.235.62.151 LEN=40 TOS=0x00 PREC=0x00 TTL=54 ID=9165 DF PROTO=TCP SPT=80 DPT=3097 SEQ=2729372501 ACK=0 WINDOW=0 RES=0x00 RST URGP

line however, and many times. I don't know if it has anything to do with it though.
This post describes a similar problem.

EDIT:That's strange. now that I rebooted KDE started normally, as did most of the programs. This didn't include konqueror, amaroK or kwrite

Last edited by joosep; 08-11-2005 at 07:05 AM.
 
Old 08-11-2005, 02:21 PM   #4
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
Hi joosep:

1.- You can safely have a loopback address (127.0.0.1) and still get a dynamic IP. The loopback address is for internal use only. This is my /etc/hosts

127.0.0.1 localhost
192.168.1.2 pablop

Both of them match my computer.

2.- Those messages in kern.log are produced by your firewall. Try disabling it in the startup files and rebooting to see if everything is still slow.
 
Old 08-11-2005, 03:30 PM   #5
joosep
LQ Newbie
 
Registered: Jun 2005
Location: Estonia
Distribution: MEPIS
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for replying.
I've narrowed the problem down a little:KDE starts slow when I'm connected to the Internet. When there is no connection all programs start normally. I will now try editing my /etc/hosts file. Excpect an edit soon
EDITamn. Changing my hosts file to resemble that of pablob's didn't work. I'm open to any suggestions what to do now.

Last edited by joosep; 08-11-2005 at 03:41 PM.
 
Old 08-12-2005, 06:18 AM   #6
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
Yeah, seems like a /etc/hosts and/or DNS problem.

First, I'd check the contents of /etc/hosts when you are connected and when you are not connected.
Also check /etc/resolv.conf (there goes the DNS info).

There should be differences, and there should be backup copies of the files. Something like /etc/hosts.pre-dchp, /etc/resolv.conf-predhcp or whatever.

So, if you identify any of those "mutant" files, then try "chmodding" it so the DHCP process cannot modify it:

# chmod 444 /etc/hosts
or
# chmod 444 /etc/resolv.conf

Reboot and try.
 
Old 08-12-2005, 09:16 AM   #7
joosep
LQ Newbie
 
Registered: Jun 2005
Location: Estonia
Distribution: MEPIS
Posts: 23

Original Poster
Rep: Reputation: 15
I'll be away this weekend, on a LARP so I can't check in. Will try your suggestions monday.
 
  


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
KDE Wifimanager starting 4+ times on startup Cohobin Linux - Software 0 09-11-2004 11:14 AM
KDE, Slack - improving loading & drawing times. Fireice Linux - Laptop and Netbook 1 08-25-2004 12:34 PM
couple of qs, gnome ftp, removing kde or improving speed of kde, startup modprobe darkleaf Linux - Software 2 07-20-2004 10:54 AM
kde tries to open apps 2 times instead of one =X¥®µ§= Linux - Software 4 07-02-2004 12:31 PM
Linux startup times TheOneAndOnlySM Linux - Newbie 13 09-09-2003 10:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

All times are GMT -5. The time now is 07:01 PM.

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