PDA

View Full Version : Very slow to open a new window or start an application



eric2
01-27-2004, 07:07 PM
Hi,

I've installed knoppix on the harddisk.

I have an annoying problem: it takes more than 10 seconds to open a new window or an application. For example: to open the configuration window on Konqueror (settings>configure konqueror) it takes 13 seconds.
Starting new applications also takes a lot of time before the window comes up on the screen.
And this happens after a fresh reboot!
When I'm running top while opening a new window or starting a new application, it shows that kdeinit is at the #1 cpu users using sometimes more than 90%.

I don't think this is normal, because beside these problems knoppix is quite fast and WindowsXP is also fast on this computer (1GHz; 256Mb; Radeon9500). Maybe I have installed/removed/updated something that did this, but I can't remember what.

I don't know what I can do to solve this problem. Anywone here have an idea?

Kreator
01-27-2004, 08:48 PM
i had the same problem but after doin a clean reinstalation and configure the things whithout search de way now works fine :D

Stephen
01-27-2004, 09:35 PM
Hi,

I've installed knoppix on the harddisk.

I have an annoying problem: it takes more than 10 seconds to open a new window or an application. For example: to open the configuration window on Konqueror (settings>configure konqueror) it takes 13 seconds.
Starting new applications also takes a lot of time before the window comes up on the screen.
And this happens after a fresh reboot!
When I'm running top while opening a new window or starting a new application, it shows that kdeinit is at the #1 cpu users using sometimes more than 90%.

I don't think this is normal, because beside these problems knoppix is quite fast and WindowsXP is also fast on this computer (1GHz; 256Mb; Radeon9500). Maybe I have installed/removed/updated something that did this, but I can't remember what.

I don't know what I can do to solve this problem. Anywone here have an idea?

That sounds like a problem with KDE somewhere what do you have installed for it to check use dpkg -l | grep 3.1.[345] the "|" character is a pipe on my keyboard you use the shift and \ keys at the same time to get it, can you post the output of the command so we can see it. You may want to try opening a console window (clam shell icon on the taskbar) and typing in say konqueror and see what the messages are in the window as it starts that may give you a clue as to what it is trying to do.

eric2
01-27-2004, 11:06 PM
dpkg -l | grep 3.1.[345]:


ii ark 3.1.5-1 KDE archiving tool
rc artsbuilder 3.1.5-1 Arts synthesizer designer
ii emacs21 21.3+1-4 The GNU Emacs editor
ii emacs21-common 21.3+1-4 The GNU Emacs editor's common
infrastructure
ii gawk 3.1.3-2 GNU awk, a pattern scanning and processing
l
ii kaddressbook 3.1.5-1 KDE NG addressbook application
ii kalarm 3.1.5-1 KDE alarm message and command scheduler
ii kamera 3.1.5-1 digital camera io_slave for Konquerer
ii kandy 3.1.5-1 KDE mobile phone utility
ii kappfinder 3.1.5-1 KDE Application Finder
ii karm 3.1.5-1 KDE time tracker tool
ii kasteroids 3.1.5-1 Asteroids for KDE
ii kate 3.1.5-1 KDE Advanced Text Editor
ii kate-plugins 3.1.5-2 plugins for Kate, the KDE Advanced Text
Edit
ii katomic 3.1.5-1 Atomic Entertainment game for KDE
ii kbattleship 3.1.5-1 Battleship game for KDE
ii kbounce 3.1.5-1 Jezzball clone for the K Desktop
Environment
ii kcalc 3.1.5-1 KDE calculator
ii kcharselect 3.1.5-1 KDE character selector
ii kcmlinuz 3.1.5-1 KDE Frontend for the Linux kernel
configurat
ii kcoloredit 3.1.5-1 An editor for palette files
ii kcontrol 3.1.5-1 KDE Control Center
ii kcron 3.1.5-1 KDE Crontab editor
ii kdat 3.1.5-1 KDE tape backup tool
ii kdeaddons-kfil 3.1.5-2 KDE file dialog plugins for text files and
f
ii kdeadmin-kfile 3.1.5-1 KDE File dialog plugins for deb and rpm
file
ii kdebase-bin 3.1.5-1 KDE Base (binaries)
ii kdebase-data 3.1.5-1 KDE Base (shared data)
ii kdebase-kio-pl 3.1.5-1 KDE I/O Slaves
ii kdegraphics-kf 3.1.5-1 provide meta information for graphic files
ii kdelibs-bin 3.1.5-1 KDE core binaries
ii kdelibs-data 3.1.5-1 KDE core shared data
ii kdelibs4 3.1.5-1 KDE core libraries
ii kdelibs4-dev 3.1.5-1 KDE core libraries (development files)
ii kdemultimedia- 3.1.5-1 au/avi/m3u/mp3/ogg/wav plugins for kfile
ii kdenetwork-kfi 3.1.5-1 KFile Email Plugin
ii kdepasswd 3.1.5-1 KDE password changer
ii kdepim 3.1.5-1 KDE Personal Information Management
metapack
ii kdepim-kfile-p 3.1.5-1 KDE File dialog plugins for vcf files.
ii kdepim-libs 3.1.5-1 KDE PIM libraries
ii kdeprint 3.1.5-1 KDE Print
ii kdesktop 3.1.5-1 KDE Desktop
ii kdessh 3.1.5-1 KDE ssh frontend
ii kdf 3.1.5-1 KDE disk free
rc kdm 3.1.5-1 KDE Display Manager
ii kdvi 3.1.5-1 KDE dvi viewer
ii kedit 3.1.5-1 KDE text editor
ii kfax 3.1.5-1 KDE G3/G4 Fax Viewer
ii kfind 3.1.5-1 KDE File Find Utility
ii kfloppy 3.1.5-1 KDE floppy formatter
ii kgeo 3.1.5-2 interactive geometry program for KDE
ii kget 3.1.5-1 KDE Download Manager
ii kghostview 3.1.5-1 PostScript viewer for KDE
ii kgpgcertmanage 3.1.5-1 KDE Certificate Manager
ii khelpcenter 3.1.5-1 KDE Help Center
ii khexedit 3.1.5-1 KDE hex editor
ii kicker 3.1.5-1 KDE Desktop Panel
ii kiconedit 3.1.5-1 An icon editor for creating KDE icons
ii kjots 3.1.5-1 KDE note taking utility
ii klaptopdaemon 3.1.5-1 KDE battery monitoring and management for
la
ii klipper 3.1.5-1 KDE Clipboard
ii kmahjongg 3.1.5-1 the classic mahjongg game for KDE project
ii kmail 3.1.5-1 KDE Email client
ii kmailcvt 3.1.5-1 KDE KMail addressbook converter
ii kmenuedit 3.1.5-1 KDE Menu Editor
ii kmix 3.1.5-1 KDE based mixer app
ii kmrml 3.1.5-1 A Konqueror plugin for searching pictures
ii knode 3.1.5-1 KDE news reader
ii knotes 3.1.5-1 KDE Notes
ii kompare 3.1.5-1 a KDE GUI for viewing differences between
fi
ii konq-plugins 3.1.5-2 plugins for Konqueror, the KDE
file/web/doc
ii konqueror 3.1.5-1 KDE's advanced File Manager, Web Browser
and
ii konqueror-nspl 3.1.5-1 Netscape plugin support for Konqueror
ii konsole 3.1.5-1 KDE X terminal emulator
ii kooka 3.1.5-1 Scanner program for KDE
ii korganizer 3.1.5-1 KDE personal organizer
ii kpackage 3.1.5-1 KDE Software package tool
ii kpager 3.1.5-1 KDE Desktop Pager
ii kpaint 3.1.5-1 A Simple Paint Program for KDE
ii kpersonalizer 3.1.5-1 KDE Personalizer
ii kpf 3.1.5-1 KDE public fileserver
ii kpilot 3.1.5-1 KDE Palm Pilot hot-sync tool
ii kppp 3.1.5-1 KDE dialer and frontend to pppd
ii krdc 3.1.5-1 KDE Remote Desktop Client
ii kreversi 3.1.5-1 Reversi for KDE
ii krfb 3.1.5-1 KDE Remote Screen Server
ii kruler 3.1.5-1 a screen ruler and color measurement tool
fo
ii kscd 3.1.5-1 KDE based cd player
ii ksmserver 3.1.5-1 KDE Session Manager
ii ksnapshot 3.1.5-1 Screenshot application for KDE
ii ksokoban 3.1.5-1 Sokoban game for KDE
ii ksplash 3.1.5-1 KDE Splash Screen
ii kstars 3.1.5-2 desktop planetarium for KDE
ii ksync 3.1.5-1 KDE Sync
ii ksysv 3.1.5-1 KDE SysV-style init configuration editor
ii kteatime 3.1.5-2 KDE utility for making a fine cup of tea
ii ktimer 3.1.5-1 KDE timer
ii ktip 3.1.5-1 Kandalf's Useful Tips
ii kuickshow 3.1.5-1 KDE image/slideshow viewer
ii kuser 3.1.5-1 KDE user/group administration tool
ii kview 3.1.5-1 KDE simple image viewer/converter
ii kviewshell 3.1.5-1 KDE generic framework for viewer
application
ii kwin 3.1.5-1 KDE Window Manager
ii kxconfig 3.1.5-1 KDE display configuration tool
ii libkdegames1 3.1.5-1 KDE games library and common files
ii libkdenetwork2 3.1.5-1 KDE Network (common libraries)
ii libkonq4 3.1.5-1 Core libraries for KDE's file manager
ii libkscan1 3.1.5-1 Scanner library for KDE
ii libmimelib1 3.1.5-1 KDE network mime library
ii lisa 3.1.5-1 LAN Information Server
rc noatun 3.1.5-1 Media player (for video and audio)
ii secpolicy 3.1.5-1 KDE PAM security policy configuration tool


Starting konqueror from a shell:


popoup cleared! (2)
old clean Pix used
creating new cleanpix
cleaning offscreen buffer
cleaning onscreen buffer
popoup cleared! (2)
old clean Pix used
creating new cleanpix
cleaning offscreen buffer
cleaning onscreen buffer
popoup cleared! (2)
old clean Pix used
creating new cleanpix
cleaning offscreen buffer
cleaning onscreen buffer
old clean Pix used
creating new cleanpix
cleaning offscreen buffer
cleaning onscreen buffer
old clean Pix used
creating new cleanpix
cleaning offscreen buffer
cleaning onscreen buffer
popoup cleared! (2)
ASSERT: "m_widget" in ../../kdeui/kaction.cpp (2993)
ASSERT: "m_widget" in ../../kdeui/kaction.cpp (2993)

The last 2 lines are written after/when I quit konqueror, the other lines are written when I 'play around' with the menus and configuration window.

By the way, when I'm logged in as regular user, root can't execute apps that open a window:


root@Knoppix:/etc# /usr/bin/konqueror
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

konqueror: cannot connect to X server :0.0

Is this normal?

Stephen
01-27-2004, 11:54 PM
That looks like it is alright you may want to try moving the .kde directory to a backup and let it re-create the settings with the defaults and see if that helps. eg. from a console login then using su to become root mv /home/user_name/.kde /home/user_name/.kde.backup then use /etc/init.d/kdm restart to restart kde and get a new login screen. Sometimes the settings get messed up when you upgrade.