Tim, All,
I've started another thread as I think I have narrowed down the problem I'm having with TDE on xorg 1.12 to just the initializing of the TDE desktop. As a test, I launched all the TDE apps that I normally use in fluxbox running on xorg 1.12 -- they all work! Have a look:
http://www.3111skyline.com/dl/dt/trinity/ss/tde-in-flux.jpg
So the tde failure on xorg 1.12 seems to be limited to the initialization process when the splash screen is running (ksplash maybe?). What I need is to identify what is running when the crash occurs to help narrow it down. I'm not familiar with the 'startup sequence' so it would help if somebody who know could chime in.
The best I can describe the point at which the crash occurs is this: The splash screen gets to the 'hard drive icon' (Initializing system services) chugs away for a while and then crashes. I also notice that during this part of the startup, there is no background image shown as it was originally. Now only a light-blue desktop color is shown. Can somebody help fill in the list of potential processes running at this point so I can take a look? I can think of one to add:
List of potential processes:
ksplash
What else is running at this point in time?
So the tde failure on xorg 1.12 seems to be limited to the initialization process when the splash screen is running (ksplash maybe?). What I need is to identify what is running when the crash occurs to help narrow it down. I'm not familiar with the 'startup sequence' so it would help if somebody who know could chime in.
The best I can describe the point at which the crash occurs is this: The splash screen gets to the 'hard drive icon' (Initializing system services) chugs away for a while and then crashes. I also notice that during this part of the startup, there is no background image shown as it was originally. Now only a light-blue desktop color is shown. Can somebody help fill in the list of potential processes running at this point so I can take a look? I can think of one to add:
List of potential processes:
ksplash
What else is running at this point in time?
Is this a virtual or physical machine?
Have you tried temporarily changing the video drivers to vesa?
Are you starting X from the command line or TDM?
If starting from TDM do you notice any problems at that point (you mention hanging at the login splash image)?
Have you tried with a new profile (rename the existing profile)?
Darrell
On 03/20/2012 05:38 PM, Darrell Anderson wrote:
So the tde failure on xorg 1.12 seems to be limited to the initialization process when the splash screen is running (ksplash maybe?). What I need is to identify what is running when the crash occurs to help narrow it down. I'm not familiar with the 'startup sequence' so it would help if somebody who know could chime in.
The best I can describe the point at which the crash occurs is this: The splash screen gets to the 'hard drive icon' (Initializing system services) chugs away for a while and then crashes. I also notice that during this part of the startup, there is no background image shown as it was originally. Now only a light-blue desktop color is shown. Can somebody help fill in the list of potential processes running at this point so I can take a look? I can think of one to add:
List of potential processes:
ksplash
What else is running at this point in time?
Is this a virtual or physical machine?
Have you tried temporarily changing the video drivers to vesa?
Are you starting X from the command line or TDM?
If starting from TDM do you notice any problems at that point (you mention hanging at the login splash image)?
Have you tried with a new profile (rename the existing profile)?
Darrell
RisaFrickenFrackenFudge!!!
The darn problem seemed to be in starttde with the location of cache files having changed and init hanging when it got to that point. Somewhere around:
# Link "tmp" "socket" and "cache" resources to directory in $TMP # Creates: # - a directory $TMP/tde-$USER and is linked from $TDEHOME/tmp-$HOSTNAME to it. # - a directory $TMP/tdesocket-$USER and is linked from $TDEHOME/socket-$HOSTNAME to it. # - a directory /var/tmp/tdecache-$USER and is linked from $TDEHOME/cache-$HOSTNAME to it. # Note: temporary locations can be overridden through the TDETMP and TDEVARTMP # environment variables. echo "[starttde] Link 'tmp' 'socket' and 'cache' resources to directory in $TMP" 1>&2 for resource in tmp cache socket; do if ! lnusertemp $resource >/dev/null; then echo "[starttde] Call to lnusertemp failed (temporary directories full?). Check your installation." 1>&2 xmessage -center -geometry 600x100 "Call to lnusertemp failed (temporary directories full?). Check your installation." exit 1 fi done
I can't be sure that this is it, but after running the TDE apps from fluxbox and the cache locations being updated, TDE started JUST FINE!!!
I just spent a half-hour annotating starttde to spit out each piece of the process to help me narrow it down and then fired up TDE and -- no problem :(
echo "[starttde] Starting starttde." 1>&2 echo "[starttde] This script is $0" 1>&2 echo "[starttde] Setting background color 'xsetroot -solid "#618DCC" # sky blue'." 1>&2 echo "[starttde] Checking prelinking" 1>&2 echo "[starttde] Modifying environment variables." 1>&2 echo "[starttde] PATH set: $PATH" 1>&2 echo "[starttde] TDE_XDG_DIR: $TDE_XDG_DIR" 1>&2 echo "[starttde] XDG_CONFIG_DIRS: $XDG_CONFIG_DIRS" 1>&2 echo "[starttde] XDG_DATA_DIRS: $XDG_DATA_DIRS" 1>&2 echo "[starttde] MANPATH: $MANPATH" 1>&2 echo "[starttde] Running kstartupconfig" 1>&2 echo "[starttde] Make sure a default wallpaper is set" 1>&2 echo "[starttde] XCursor mouse theme needs to be applied here to work even for kded or ksmserver" 1>&2 echo "[starttde] kcmrandrrc_display_applyonstartup" 1>&2 echo "[starttde] Launch splash that doesn't need any TDE libraries here" 1>&2 echo "[starttde] Running xrdb - kcmfonts_general_forcefontdpi" 1>&2 echo "[starttde] Configuration of the gtk_qt_engine if not already set" 1>&2 echo "[starttde] Running mkfontdir" 1>&2 echo "[starttde] Ask X11 to rebuild its font list" 1>&2 echo "[starttde] xsetroot -cursor_name left_ptr" 1>&2 echo "[starttde] Link 'tmp' 'socket' and 'cache' resources to directory in $TMP" 1>&2 echo '[starttde] Detect any running Xorg composition managers' 1>&2 echo '[starttde] Run KPersonalizer before the session if this is the first login' 1>&2 echo '[starttde] Remove moodin cache if we have a new wallpaper installed, jriddell. Distro-specific.' 1>&2 echo '[starttde] the splashscreen and progress indicator' 1>&2 echo "[starttde] Mark that full TDE session is running " 1>&2
Sheeze - I love this project :)
On 03/20/2012 06:23 PM, David C. Rankin wrote:
On 03/20/2012 05:38 PM, Darrell Anderson wrote:
So the tde failure on xorg 1.12 seems to be limited to the initialization process when the splash screen is running (ksplash maybe?).
<snip>
Sheeze - I love this project :)
Oops - forgot the screenshot :)
http://www.3111skyline.com/dl/dt/trinity/ss/tde-up.jpg
On 03/20/2012 06:25 PM, David C. Rankin wrote:
On 03/20/2012 06:23 PM, David C. Rankin wrote:
On 03/20/2012 05:38 PM, Darrell Anderson wrote:
So the tde failure on xorg 1.12 seems to be limited to the initialization process when the splash screen is running (ksplash maybe?).
<snip> > > Sheeze - I love this project :) >
Oops - forgot the screenshot :)
And I have a good startup log reference for what happens when from the starttde annotations:
X.Org X Server 1.12.0 Release Date: 2012-03-04 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.2.9-1-ARCH x86_64 Current Operating System: Linux valkyrie 3.2.11-1-ARCH #1 SMP PREEMPT Thu Mar 15 09:19:02 CET 2012 x86_64 Kernel command line: root=/dev/disk/by-uuid/1570fb5b-7b73-4d40-a7ed-2f31bbb8b440 ro vga=0x318 Build Date: 05 March 2012 05:59:48AM
Current version of pixman: 0.24.4 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 20 18:15:10 2012 (==) Using config directory: "/etc/X11/xorg.conf.d" [starttde] Starting starttde. [starttde] This script is /opt/trinity/bin/starttde [starttde] TDE version is R14.0.0 [starttde] TDE base directory is /opt/trinity [starttde] Setting background color 'xsetroot -solid #618DCC # sky blue'. [starttde] Checking prelinking [starttde] TDEHOME is not set. [starttde] Set TDEHOME to /home/david/.trinity. [starttde] Setting TDEROOTHOME to /root/.trinity. [starttde] Modifying environment variables. [starttde] PATH set: /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/tqt3/bin:/opt/trinity/bin:/sbin:/usr/sbin:/usr/local/bin [starttde] TDE_XDG_DIR: /opt/trinity/etc/xdg [starttde] XDG_CONFIG_DIRS: /etc/xdg:/opt/trinity/etc/xdg [starttde] XDG_DATA_DIRS: /usr/share/:/usr/local/share/:/opt/trinity/share [starttde] MANPATH: /opt/trinity/share/man: [starttde] Running kstartupconfig [starttde] Make sure a default wallpaper is set [starttde] XCursor mouse theme needs to be applied here to work even for kded or ksmserver [starttde] kcmrandrrc_display_applyonstartup [starttde] Launch splash that doesn't need any TDE libraries here [starttde] Running xrdb - kcmfonts_general_forcefontdpi [starttde] Configuration of the gtk_qt_engine if not already set Agent pid 25184 [starttde] TDEDIR: /opt/trinity [starttde] TDEDIRS: /opt/trinity [starttde] tdedirs_first: /opt/trinity [starttde] Running mkfontdir [starttde] Ask X11 to rebuild its font list [starttde] xsetroot -cursor_name left_ptr [starttde] Link 'tmp' 'socket' and 'cache' resources to directory in [lnusertemp] Error: "/home/david/.trinity/cache-valkyrie" points to "/var/tmp/kdecache-david" instead of "/var/tmp/tdecache-david". [starttde] Starting Trinity... [starttde] Detect any running Xorg composition managers [tdeinit] Launched DCOPServer, pid = 25200 result = 0 [tdeinit] Launched KLauncher, pid = 25204 result = 0 [tdeinit] opened connection to :0 [tdeinit] Launched KDED, pid = 25205 result = 0 [tdeinit] Got EXT_EXEC 'kbuildsycoca' from launcher. [kbuildsycoca] kbuildsycoca running... [tdeinit] PID 25207 terminated. [tdeinit] Got EXEC_NEW 'kconf_update' from launcher. [tdeinit] PID 25208 terminated. [tdeinit] PID 25205 terminated. reading '/home/david/.kompmgr.pid' as kompmgr pidfile
[starttde] Run KPersonalizer before the session if this is the first login [starttde] Remove moodin cache if we have a new wallpaper installed, jriddell. Distro-specific. [starttde] the splashscreen and progress indicator [starttde] Mark that full TDE session is running [starttde] TDE_FULL_SESSION: true [starttde] TDE_SESSION_UID: 1000 [tdeinit] Shutting down running client. [tdeinit] Killing tdeinit/klauncher. [tdeinit] Launched DCOPServer, pid = 25217 result = 0 --------------------------------- [dcopserver] It looks like dcopserver is already running. If you are sure that it is not already running, remove /home/david/.DCOPserver_valkyrie__0 and start dcopserver again. ---------------------------------
[tdeinit] Launched KLauncher, pid = 25218 result = 0 [tdeinit] opened connection to :0 [tdeinit] Launched KDED, pid = 25219 result = 0 [tdeinit] Got EXT_EXEC 'kbuildsycoca' from launcher. [kded] KDE Daemon (kded) already running. [kbuildsycoca] kbuildsycoca running... [kbuildsycoca] Reusing existing ksycoca. [tdeinit] PID 25221 terminated. [tdeinit] PID 25219 terminated. [tdeinit] Launched 'kcminit_startup', pid = 25222 result = 0 [tdeinit] Got SETENV 'TDE_MULTIHEAD=false' from klauncher. [tdeinit] PID 25222 terminated. [starttde] tdeinit started successfully. [tdeinit] Got KWRAPPER 'ksmserver' from socket. [tdeinit] PID 25226 terminated. [tdeinit] Got SETENV 'SESSION_MANAGER=local/valkyrie:@/tmp/.ICE-unix/25227,unix/valkyrie:/tmp/.ICE-unix/25227,inet6/valkyrie:59211,inet/valkyrie:55405' from klauncher. [tdeinit] Got EXEC_NEW 'twin' from launcher. [tdeinit] Got EXEC_NEW '/opt/trinity/bin/kdesktop' from launcher. [tdeinit] /opt/trinity/bin/kdesktop is executable and not a library. Launching with exec. [tdeinit] PID 25230 terminated. [tdeinit] Got EXEC_NEW 'kicker' from launcher. [tdmctl] Cannot connect socket '/var/run/xdmctl/dmctl-:0/socket'. [tdeinit] Got EXEC_NEW 'kio_file' from launcher. [tdeinit] Got EXEC_NEW 'kio_file' from launcher. [tdeinit] PID 25234 terminated. [kdesktop] SAK driven secure dialog is not available for use (retcode 6). Check tdmtsak for proper functionality. [tdeinit] Got SETENV 'XCURSOR_THEME=default' from klauncher. xrdb: colon missing on line 410, ignoring line [tdeinit] Got SETENV 'GTK_RC_FILES=/etc/gtk/gtkrc:/home/david/.gtkrc:/home/david/.trinity/share/config/gtkrc' from klauncher. [tdeinit] Got SETENV 'GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/david/.gtkrc-2.0:/home/david/.trinity/share/config/gtkrc-2.0' from klauncher. [tdeinit] Got EXEC_NEW 'nspluginscan' from launcher. [tdeinit] nspluginscan is executable and not a library. Launching with exec. [tdeinit] Got EXEC_NEW 'artswrapper' from launcher. [tdeinit] artswrapper is executable and not a library. Launching with exec. [tdeinit] Got EXEC_NEW 'kaccess' from launcher. [tdeinit] Got EXT_EXEC 'kbuildsycoca' from launcher. [artsd] There are already artsd objects registered, looking if they are active... [tdeinit] PID 25241 terminated. [tdeinit] Got EXEC_NEW 'kmixctrl' from launcher. [kbuildsycoca] kbuildsycoca running... [kbuildsycoca] Reusing existing ksycoca. [tdeinit] Got EXEC_NEW 'krandrtray' from launcher. [tdeinit] krandrtray is executable and not a library. Launching with exec. [tdeinit] PID 25243 terminated. [tdeinit] PID 25246 terminated. [tdeinit] Got EXEC_NEW 'kabcdistlistupdater' from launcher. [tdeinit] kabcdistlistupdater is executable and not a library. Launching with exec. [tdeinit] Got EXT_EXEC 'knotify' from launcher.
[artsd] 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/tdesocket-david/Arts_SoundServerV2 /tmp/tdesocket-david/Arts_SoundServer /tmp/tdesocket-david/Arts_SimpleSoundServer /tmp/tdesocket-david/Arts_PlayObjectFactory /tmp/tdesocket-david/Arts_AudioManager
[tdeinit] PID 25242 terminated. [tdeinit] Got EXEC_NEW 'ktip' from launcher. [tdeinit] ktip is executable and not a library. Launching with exec. [tdeinit] PID 25245 terminated. [tdeinit] PID 25251 terminated. [tdeinit] Got EXEC_NEW '/usr/bin/VBoxClient-all' from launcher. [tdeinit] /usr/bin/VBoxClient-all is executable and not a library. Launching with exec. [tdeinit] Got EXEC_NEW 'kpowersave' from launcher. [tdeinit] Got EXEC_NEW 'krandrtray' from launcher. [tdeinit] krandrtray is executable and not a library. Launching with exec. [tdeinit] Got EXEC_NEW 'korgac' from launcher. [tdeinit] korgac is executable and not a library. Launching with exec. [tdeinit] Got EXEC_NEW 'klipper' from launcher. [tdeinit] PID 25247 terminated. [tdeinit] PID 25249 terminated. [tdeinit] PID 25252 terminated. [tdeinit] PID 25255 terminated. [tdeinit] PID 25270 terminated. [tdeinit] Got EXEC_NEW '/usr/bin/VBoxClient-all' from launcher. [tdeinit] /usr/bin/VBoxClient-all is executable and not a library. Launching with exec. 25269 ? 00:00:00 VBoxClient 25284 ? 00:00:00 VBoxClient 25279 ? 00:00:00 VBoxClient 25289 ? 00:00:00 VBoxClient [tdeinit] PID 25275 terminated. [tdeinit] PID 25293 terminated. [tdeinit] PID 25273 terminated. [tdeinit] PID 25256 terminated. X Error: BadWindow (invalid Window parameter) 3 Major opcode: 19 Minor opcode: 0 Resource id: 0x2000006 [tdeinit] PID 25238 terminated. [tdeinit] Got EXEC_NEW 'kio_system' from launcher. [tdeinit] Got EXEC_NEW 'kio_trash' from launcher. [tdeinit] Got EXT_EXEC 'konsole' from launcher. 18:28 valkyrie:~>
RisaFrickenFrackenFudge!!!
The darn problem seemed to be in starttde with the location of cache files having changed and init hanging when it got to that point. Somewhere around:
Yeah, the most common thing I do when troubleshooting or rebuilding a new package set is to delete the profile cache files:
rm -f .trinity/cache-$HOSTNAME/ksycoca*
Recently we changed the names of the temp directory locations to avoid conflicts with KDE4. Although the directory names used within the profile are sand boxed and safe, the names of the external linked locations was the same for TDE, KDE3, KDE4. Not good.
So yes, the names changed.
I never experienced any problem after the change. Possibly because I routinely rm -f the cache files in my testing. Still, I wonder whether the name changes will cause problems for people who don't do that. I wonder whether we should add a snippet in startde to look for the old names and rm -fr if they exist in order to force creation to the new linked names.
Darrell
David C. Rankin wrote:
So the tde failure on xorg 1.12 seems to be limited to the initialization process when the splash screen is running (ksplash maybe?). What I need is to identify what is running when the crash occurs to help narrow it down. I'm not familiar with the 'startup sequence' so it would help if somebody who know could chime in.
Maybe you already tried this, but normally when I had problems with starting KDE/TDE, I would just choose a fail-safe session from KDM. Then you normally only get an xterm or a konsole. From there I would then run the startkde/starttde script so all the output would appear in the terminal as it started up.
An alternative would be to just run an empty X server and use another terminal (local or maybe ssh) with export DISPLAY=:1 (if you ran X :1) and run the start script from there.
Normally the problem would be visible as a segfault or something like that being printed in the terminal.