Tim, Slavek,
After receiving a error message that knotify crashed (see: http://www.3111skyline.com/dl/dt/trinity/ss/3513-knotifyCrash-disable-aRts.j...), I begin checking the .xsession-errors file. The are a number of errors 'Could not load library! Trying exec....' This may be normal, but I want to confirm whether there is a problem here or not. I have included the part for my .xsession-errors file that contains the error messages:
[startkde] kdeinit started successfully. kdeinit: Got KWRAPPER 'ksmserver' from socket. kdeinit: PID 821 terminated. kdeinit: Got SETENV 'SESSION_MANAGER=local/tdesru:@/tmp/.ICE-unix/822,unix/tdesru:/tmp/.ICE-unix/822,inet6/tdesru:44438,inet/tdesru:51121' from klauncher. kdeinit: Got EXEC_NEW 'kwin' from launcher. kdeinit: Got EXT_EXEC 'knotify' from launcher. kdeinit: Got EXEC_NEW '/opt/trinity/bin/kdesktop' from launcher. Could not load library! Trying exec.... kdeinit: PID 825 terminated. kdeinit: PID 828 terminated. kdeinit: Got EXEC_NEW 'kicker' from launcher. [kdesktop] SAK driven secure dialog is not available for use (retcode 6). Check tdmtsak for proper functionality. kdeinit: Got EXEC_NEW 'kio_file' from launcher. kdeinit: Got EXEC_NEW 'kio_file' from launcher. kdeinit: PID 832 terminated. kdeinit: Got SETENV 'XCURSOR_THEME=default' from klauncher. kdeinit: Got SETENV 'GTK_RC_FILES=/etc/gtk/gtkrc:/home/david/.gtkrc:/home/david/.trinity/share/config/gtkrc' from klauncher. kdeinit: Got SETENV 'GTK2_RC_FILES=/home/david/.gtkrc-2.0-kde-kde4:/home/david/.trinity/share/config/gtkrc-2.0' from klauncher. kdeinit: Got EXEC_NEW 'nspluginscan' from launcher. Could not load library! Trying exec.... kdeinit: Got EXEC_NEW 'artswrapper' from launcher. Could not load library! Trying exec.... kdeinit: Got EXEC_NEW 'kaccess' from launcher. kdeinit: Got EXEC_NEW 'kmixctrl' from launcher. kdeinit: Got EXEC_NEW 'krandrtray' from launcher. Could not load library! Trying exec.... kdeinit: PID 840 terminated. kdeinit: Got EXEC_NEW 'basket' from launcher. Could not load library! Trying exec.... kdeinit: PID 838 terminated. kdeinit: Got EXT_EXEC 'kbuildsycoca' from launcher. kbuildsycoca running... Reusing existing ksycoca kdeinit: PID 841 terminated. kdeinit: Got EXEC_NEW 'kmix' from launcher. kdeinit: Got EXEC_NEW 'ktip' from launcher. Could not load library! Trying exec.... kdeinit: PID 843 terminated. kdeinit: Got EXEC_NEW '/usr/bin/VBoxClient-all' from launcher. Could not load library! Trying exec.... kdeinit: Got EXEC_NEW 'klipper' from launcher. kdeinit: Got EXEC_NEW 'kpowersave' from launcher. kdeinit: Got EXEC_NEW 'korgac' from launcher. Could not load library! Trying exec.... kdeinit: Got EXEC_NEW 'krandrtray' from launcher. Could not load library! Trying exec.... kdeinit: PID 867 terminated. kdeinit: PID 846 terminated. kdeinit: PID 853 terminated. kdeinit: PID 850 terminated. kdeinit: PID 854 terminated. kdeinit: PID 848 terminated. kdeinit: PID 864 terminated. kdeinit: PID 859 terminated. X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 Minor opcode: 0 Resource id: 0xc00006 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 Minor opcode: 0 Resource id: 0xc00006 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 19 Minor opcode: 0 Resource id: 0xc00006 kdeinit: PID 845 terminated. kdeinit: Got EXT_EXEC 'ksnapshot' from launcher. Could not load library! Trying exec.... <snip>
In response to the knotify crash dialog, choosing "Try again" restores knotify operation and I can play sound events fine. However, I need to figure out which library can't be loaded. How do I do this? I can annotate startkde, but what do I do for kdeinit? Is this logged somewhere? If so, where. There may be a couple of lingering 't' 'k' issues that need fixing somewhere. Any help appreciated.
Also, if there is some way to turn up logging in tde, let me know. I recall that there is a way to turn up what goes in xsession-errors, but I'm drawing blanks this morning :)
On 08/12/2012 01:11 PM, David C. Rankin wrote:
Tim, Slavek,
After receiving a error message that knotify crashed (see: http://www.3111skyline.com/dl/dt/trinity/ss/3513-knotifyCrash-disable-aRts.j...), I begin checking the .xsession-errors file. The are a number of errors 'Could not load library! Trying exec....' This may be normal, but I want to confirm whether there is a problem here or not. I have included the part for my .xsession-errors file that contains the error messages:
I guess everything is OK. I not certain, but I think the aRts error was due to ksycoca regeneration after the install of a new tdelibs and tdebase. Everything seems to be running fine and sound is working correctly. On session restart (logout/login) the dialog did no reappear. I added several annotations to startkde to provide a little better signposting for where execution was in the file. Take a look below and see if anything looks like an issue -- if not, then I guess kbuildsycoca is what caused the knotify/aRts dialog...
[startkde] Starting startkde. [startkde] This script is /opt/trinity/bin/startkde [startkde] TDE version is 3.5.13 [startkde] TDE base directory is /opt/trinity [startkde] Set the background color: xsetroot -solid #618DCC [startkde] unset DYLD_FORCE_FLAT_NAMESPACE [startkde] KDE_IS_PRELINKED: [startkde] KDEHOME is not set. [startkde] Set KDEHOME to /home/david/.trinity. [startkde] Setting KDEROOTHOME to /root/.trinity. [startkde] PATH: /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/qt3/bin:/opt/trinity/bin [startkde] MANPATH: [startkde] XDG_CONFIG_DIRS: /etc/xdg:/opt/trinity/etc/xdg [startkde] TDE_XDG_DIR: /opt/trinity/etc/xdg [startkde] XDG_DATA_DIRS: /usr/local/share/:/usr/share/:/opt/trinity/share [startkde] kdehome: /home/david/.trinity [startkde] Make sure a default wallpaper is set. [startkde] Setting screens: 4 screens is hopefully enough [startkde] DESKTOP_LOCKED (dl) Flag: [startkde] Launching Splash (no TDE libraries needed): Default [startkde] Set fontsdpi [startkde] Configuration of the gtk_qt_engine if not already set [startkde] KDEDIRS: [startkde] KGTK_RC_ENGINE: /opt/trinity/share/kgtk/gtk-qt-engine.rc.sh [startkde] KGTK_RC_KDE1: /opt/trinity/share/kgtk/.gtkrc-2.0-kde4 [startkde] KGTK_RC_KDE2: /opt/trinity/share/kgtk/.gtkrc-2.0-kde-kde4 Agent pid 2495 [startkde] exepath: /home/david/.trinity/bin/ /opt/trinity/bin/ [startkde] prefix: /opt/trinity/env/ [startkde] Activate the TDE font directories. [startkde] KDEDIR: /opt/trinity [startkde] KDEDIRS: [startkde] KGTK_PRELOAD: [startkde] KGTK_NSPR_PRELOAD: [startkde] Ask X11 to rebuild its font list [startkde] Get Ghostscript to look into user's TDE fonts dir [startkde] Starting Trinity... [startkde] Detect any running Xorg composition managers kdeinit: Launched DCOPServer, pid = 2505 result = 0 kdeinit: Launched KLauncher, pid = 2509 result = 0 kdeinit: opened connection to :0 kdeinit: Launched KDED, pid = 2510 result = 0 kdeinit: Got EXT_EXEC 'kbuildsycoca' from launcher. kbuildsycoca running... kdeinit: PID 2512 terminated. kdeinit: Got EXEC_NEW 'kconf_update' from launcher. kdeinit: PID 2513 terminated. kdeinit: PID 2510 terminated. reading '/home/david/.kompmgr.pid' as kompmgr pidfile
[startkde] Run KPersonalizer before the session if this is the first login [startkde] Remove moodin cache if we have a new wallpaper installed (Distro-specific) [startkde] ksplashrc_ksplash_theme: Default [startkde] Mark that full TDE session is running [startkde] TDE_FULL_SESSION: true [startkde] KDE_SESSION_UID: 1000 kdeinit: Shutting down running client. kdeinit: Killing kdeinit/klauncher. kdeinit: Launched DCOPServer, pid = 2523 result = 0 --------------------------------- It looks like dcopserver is already running. If you are sure that it is not already running, remove /home/david/.DCOPserver_tdesru__0 and start dcopserver again. ---------------------------------
kdeinit: Launched KLauncher, pid = 2524 result = 0 kdeinit: opened connection to :0 kdeinit: Launched KDED, pid = 2525 result = 0 kdeinit: Got EXT_EXEC 'kbuildsycoca' from launcher. KDE Daemon (kded) already running. kbuildsycoca running... Reusing existing ksycoca kdeinit: PID 2527 terminated. kdeinit: PID 2525 terminated. kdeinit: Launched 'kcminit_startup', pid = 2528 result = 0 kdeinit: Got SETENV 'KDE_MULTIHEAD=false' from klauncher. kdeinit: PID 2528 terminated. [startkde] kdeinit started successfully. [startkde] LD_BIND_NOW: [startkde] Finally, give the session control to the session manager kdeinit: Got KWRAPPER 'ksmserver' from socket. kdeinit: PID 2531 terminated. kdeinit: Got SETENV 'SESSION_MANAGER=local/tdesru:@/tmp/.ICE-unix/2532,unix/tdesru:/tmp/.ICE-unix/2532,inet6/tdesru:58542,inet/tdesru:48048' from klauncher. kdeinit: Got EXEC_NEW 'kwin' from launcher. kdeinit: Got EXT_EXEC 'knotify' from launcher. kdeinit: Got EXEC_NEW '/opt/trinity/bin/kdesktop' from launcher. Could not load library! Trying exec.... kdeinit: Got EXEC_NEW '/opt/trinity/bin/artsd' from socket. Could not load library! Trying exec.... kdeinit: PID 2537 terminated. kdeinit: Got EXEC_NEW 'kicker' from launcher. kdeinit: PID 2542 terminated. [kdesktop] SAK driven secure dialog is not available for use (retcode 6). Check tdmtsak for proper functionality. kdeinit: Got EXEC_NEW 'kio_file' from launcher. kdeinit: Got EXEC_NEW 'kio_file' from launcher. kdeinit: PID 2544 terminated. kdeinit: PID 2535 terminated. OggS-SEEK: at 0 want 85496 got 76480 (diff-requested 85496) OggS-SEEK: at 85696 want 520 got 0 (diff-requested -85176) kdeinit: Got SETENV 'XCURSOR_THEME=default' from klauncher. kdeinit: Got SETENV 'GTK_RC_FILES=/etc/gtk/gtkrc:/home/david/.gtkrc:/home/david/.trinity/share/config/gtkrc' from klauncher. kdeinit: Got SETENV 'GTK2_RC_FILES=/home/david/.gtkrc-2.0-kde-kde4:/home/david/.trinity/share/config/gtkrc-2.0' from klauncher. kdeinit: Got EXEC_NEW 'nspluginscan' from launcher. Could not load library! Trying exec.... kdeinit: Got EXEC_NEW 'artswrapper' from launcher. Could not load library! Trying exec.... kdeinit: Got EXEC_NEW 'kaccess' from launcher. kdeinit: Got EXEC_NEW 'kmixctrl' from launcher. kdeinit: Got EXEC_NEW 'krandrtray' from launcher. Could not load library! Trying exec.... There are already artsd objects registered, looking if they are active... kdeinit: PID 2552 terminated. kdeinit: PID 2554 terminated. kdeinit: PID 2550 terminated. kdeinit: Got EXT_EXEC 'kbuildsycoca' from launcher. kdeinit: Got EXEC_NEW 'basket' from launcher. Could not load library! Trying exec.... kbuildsycoca running... Reusing existing ksycoca
Error: Can't add object reference (probably artsd is already running). If you are sure it is not already running, remove the relevant files:
/tmp/ksocket-david/Arts_SoundServerV2 /tmp/ksocket-david/Arts_SoundServer /tmp/ksocket-david/Arts_SimpleSoundServer /tmp/ksocket-david/Arts_PlayObjectFactory /tmp/ksocket-david/Arts_AudioManager
kdeinit: PID 2551 terminated. kdeinit: Got EXEC_NEW 'kmix' from launcher. kdeinit: Got EXEC_NEW 'ktip' from launcher. Could not load library! Trying exec.... OggS-SEEK: at 0 want 350200 got 345536 (diff-requested 350200) OggS-SEEK: at 349632 want 520 got 0 (diff-requested -349112) kdeinit: Got EXEC_NEW '/usr/bin/VBoxClient-all' from launcher. Could not load library! Trying exec.... kdeinit: Got EXEC_NEW 'klipper' from launcher. kdeinit: Got EXEC_NEW 'kpowersave' from launcher. kdeinit: Got EXEC_NEW 'korgac' from launcher. Could not load library! Trying exec.... kdeinit: Got EXEC_NEW 'krandrtray' from launcher. Could not load library! Trying exec.... kdeinit: PID 2562 terminated.