On Tuesday 07 October 2014, Slávek Banko wrote:
On Tuesday 07 of October 2014 11:34:25 Ilya
Dogolazky wrote:
> Hi !
>
> I'm running trinity desktop on Debian Testing linux.
> Sometimes all the icons from desktop disappear and (at the same
time!)
> the desktop lock button (blue lock symbol in
the kicker panel)
stops
> to work.
>
> What service/program to I have to restart in order to fix it
without
> logging out and in again?
>
> Cheers
>
> Ilya Dogolazky
>
Disappearing icons from the desktop shows to crash KDesktop. Starting
kdesktop
should correct the problem.
At this situation please take a look into ~/.xsession-error, if there
is
listed a backtrace about KDesktop crash? It could
help to detect and
fix the
problem.
Update:
Today I faced the problem again. Unfortunately I did not look into the
.xsession-errors file before I started to relaunch kdesktop.
Nevertheless it did not crash. First action: I started kdesktop from
Konsole. It told me that kdesktop is already running but didn't come
back to the prompt. Icons were not recreated. I had to Ctrl-C for the
promt. "ps ax" showed me an old version of kdesktop and a second new
one
with <defunct> message. Killing the defunct one was not possible. I
killed the original kdesktop program (Desktop went black) and
relaunched
it and - voila - the icons reapeared on the desktop. Also the defunct
process of kdesktop was gone.
I do not find anything special in the xsession errors file. I try to
investigate more accurate next time.
today it happened again. Nothing special in .xsession-errors:
$ tail -n .xsession-errors
------------- snip ------------------
.
.
.
konqueror: WARNING: failed to obtain ELF icon: ELF resource section not
found
TQClipboard: Unknown SelectionClear event received.
.
.
.
[kdesktop_lock] Warning: unable to create control socket
'/tmp/tdesocket-global/
kdesktoplockcontrol-0'. Interactive logon modules may not function
properly.
[twin] X_SetInputFocus(0x1c00096): BadMatch (invalid parameter
attributes)
.
.
.
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x1c00096
TQClipboard: Unknown SelectionClear event received.
[twin] X_SetInputFocus(0x3a6ebaa): BadMatch (invalid parameter
attributes)
kmail: WARNING: FolderStorage::getMsg was asked for an invalid index.
idx
=0 count()=0
------------- snip ------------------
All errors are displayed more often before without the above described
desktop problem (no icons, no middle and right mouse button menu).
Process kdesktop is running but there is additionally a "[kdesktop_lock]
<defunct>" process. Might this be the culprit? I do not lock my desktop
normally.
I can not kill the <defunct> process but killing kdesktop process and
relaunching it restores all to normal.
now I have a running
21927 pts/4 S 0:00 kdesktop
21928 pts/4 S 0:00 /opt/trinity/bin/kdesktop_lock --internal
21927
process again.
Gerhard