trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] xorg 1.12 - All Apps Work! Seems to be limited to Init of Desktop

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 20 Mar 2012 18:23:22 -0500
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 :)

-- 
David C. Rankin, J.D.,P.E.