Linux Debian support - Re: Starting up KDE hangs with a black desktop and movable mouse

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > November 2007 > Re: Starting up KDE hangs with a black desktop and movable mouse





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Starting up KDE hangs with a black desktop and movable mouse
Ant

2007-11-19, 1:16 am

On 11/18/2007 8:06 PM PT, J.O. Aho typed:

[vbcol=seagreen]
[vbcol=seagreen]
[vbcol=seagreen]
> You could include echo to the script
>
> echo "Something"
>
> and you know that the hang occurs after the last echo you see.


In my /usr/sbin/startkde script:
# finally, give the session control to the session manager
# see kdebase/ksmserver for the description of the rest of the startup
sequence
# if the KDEWM environment variable has been set, then it will be used
as KDE's
# window manager instead of kwin.
# if KDEWM is not set, ksmserver will ensure kwin is started.
# kwrapper is used to reduce startup time and memory usage
# kwrapper does not return usefull error codes such as the exit code of
ksmserver.
# We only check for 255 which means that the ksmserver process could not be
# started, any problems thereafter, e.g. ksmserver failing to initialize,
# will remain undetected.
test -n "$KDEWM" && KDEWM="--windowmanager $KDEWM"
echo "test wm" >> /home/ant/download/log.txt

kwrapper ksmserver $KDEWM
echo "kwrapper ksmserver" >> /home/ant/download/log.txt
if test $? -eq 255; then
# Startup error
echo 'startkde: Could not start ksmserver. Check your installation.'
1>&2
xmessage -geometry 500x100 "Could not start ksmserver. Check your
installation."
echo "xmessage" >> /home/ant/download/log.txt
fi


I got "test wm" in log.txt, but nothing after it. It looks like the hang
happens with kwrapper ksmserver section. I tried to view kwrapper and
ksmserver files, but they are binaries. Now, I am stuck but at least we
can see where it is hanging now.
--
"In a battle between elephants, the ants get squashed." --Thailand
/\___/\
/ /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
( ) or ANTant@zimage.com
Ant is currently not listening to any songs on his home computer.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com