On Tuesday 02 December 2014 19:44:55 you wrote: > > On Tuesday 02 December 2014 17:57:06 you wrote: > >> > Debian Wheezy, Amd64, Nvidia quadro card, drivers from vender, dual > >> > monitors. > >> > > >> > In my .xsession-errors files I can see numerous entries: > >> > "tdecore] Deleting stale lockfile > >> > /tmp/tde-pabiVcZK3y/kdesktop_lock_lockfile" > >> > This crashes my X session, ~ 1 minute uptime, dumps me back to the > >> > >> login > >> > >> > screen, totaly unworkable. > >> > > >> > I have been working around this issue because it only happens on 2 > >> > workstations with the same hardware specs, and drivers from Nvidia. > >> > > >> > I remove '/opt/trinity/bin/kdesktop_lock', I do not use screensaver > >> > >> or > >> > >> > lock > >> > desktop, this works..until an update replaces the kdesktop_lock > >> > binary...this > >> > will stop eventually. > >> > > >> > I read bugs 2222 & 2230, re kdesktop_lock, I could run a backtrace if > >> > that would help and if someone could give directions on howto. I will > >> > file a bug > >> > with the backtrace. > >> > >> Well that's strange. When you mention it crashing your Xorg session > >> does > >> that mean the Xorg server itself crashes (i.e. instantaneous dump back > >> to > >> the command line) or that TDE terminates leaving Xorg still running? > > > > I do not think the x server crashed,I get dropped to the login prompt > > pretty > > quickly, does not seem like enough time to restart the X server also. > > You'd be surprised how fast that login prompt shows up after an Xorg > crash. ;-) However for now we can proceed under the assumption that it > isn't one. > > >> kdesktop_lock is spawned from kdesktop, so any debugging would likely > >> involve terminating kdesktop and running kdesktop_lock under gdb from a > >> terminal. When I have an answer to the above question I'll get back to > >> you on how to debug further. > > > > killed the 'kdesktop' process, ran 'gdb kdesktop_lock' in a terminal, > > output > > below. > > > > pabi@tdewheezy:~$ gdb /opt/trinity/bin/kdesktop_lock > > GNU gdb (GDB) 7.4.1-debian > > Copyright (C) 2012 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later > > <http://gnu.org/licenses/gpl.html> > > This is free software: you are free to change and redistribute it. > > There is NO WARRANTY, to the extent permitted by law. Type "show > > copying" and "show warranty" for details. > > This GDB was configured as "x86_64-linux-gnu". > > For bug reporting instructions, please see: > > <http://www.gnu.org/software/gdb/bugs/>... > > Reading symbols from /opt/trinity/bin/kdesktop_lock...Reading symbols > > from /usr/lib/debug/opt/trinity/bin/kdesktop_lock...done. > > done. > > (gdb) q > > You'll need to do something like this first... > export DISPLAY=:0 > then when you are in gdb, to start the program, enter: r <return> > > All you did above was load the kdesktop_lock binary into GDB, then exited > GDB. ;-) > > Tim I should mention i know nothing of these matters..so beginners steps. Logged into a session, in a terminal: 1. 'ps ax |grep kdesktop' 2. kill -9 <kdesktop PID> 3. ran 'gdb /opt/trinity/bin/kdsektop_lock' output: pabi@tdewheezy:~$ gdb /opt/trinity/bin/kdesktop_lock sniped license info "Reading symbols from /opt/trinity/bin/kdesktop_lock...Reading symbols from /usr/lib/debug/opt/trinity/bin/kdesktop_lock...done. done. (gdb) r Starting program: /opt/trinity/bin/kdesktop_lock [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [tdecore] Deleting stale lockfile /tmp/tde-pabi/kdesktop_lock_lockfile [tdecore] Deleting stale lockfile /tmp/tde-pabi/kdesktop_lock_lockfile [New Thread 0x7fffec0b9700 (LWP 19047)] [kdesktop_lock] Warning: unable to create control socket '/tmp/tdesocket-global/kdesktoplockcontrol-0'. Interactive logon modules may not function properly. [Thread 0x7fffec0b9700 (LWP 19047) exited] X Error: BadAccess (attempt to access private resource denied) 10 Major opcode: 2 Minor opcode: 0 Resource id: 0x1a00054 [Inferior 1 (process 19042) exited normally] (gdb) q" -- Peace, Greg