On 05/16/2013 09:09 PM, Sharon Kimble wrote: > On 16 May 2013 19:25, Linux-Fan <ma_sys...@web.de> wrote:
[...] >> It should actually output a tree which (on my system, lightdm will of >> course be different) ends with >> >> ~$ pstree | tail -n 10 >> |-udevd---2*[udevd] >> |-xdm-+-Xorg >> | `-xdm---ck-launch-sessi-+-fluxbox-+-icedove-bin-... >> | | |-java---17*[{java}] >> | | |-xcompmgr >> | | |-xscreensaver >> | | `-xterm---bash-+-pstree >> | | `-tail >> | `-ssh-agent >> `-z_space_dapp >> >> With lightdm I guess there should be some sort of "lightdm"-subtree >> (instead of xdm on my system). You could look for its subprocesses and >> terminate those which could be a window manager left from your DE. >> However, I have also seen processes which no longer stick below the >> correct part of the tree but instead go directly below init after their >> parent was terminated. Therefore you might also try to look at pstree >> (or htop) while in your DE to find out about the window manager and >> check the whole tree for that process afterwards. >> > > This is my pstree http://dpaste.com/1168992/ and i close all wm programmes > under lightdm, but its still not allowing me to log back into fluxbox. I find this part most interesting: ├─2*[lightdm─┬─Xorg] │ ├─lightdm─┬─lxsession─┬─caja───3*[{caja}]] │ │ │ ├─claws-mail───{claws-mail}] │ │ │ ├─clipit] │ │ │ ├─lxpanel] │ │ │ ├─openbox] │ │ │ ├─pcmanfm] │ │ │ ├─ssh-agent] │ │ │ ├─zim] │ │ │ └─{lxsession}] │ │ └─{lightdm}] │ ├─lightdm] │ └─2*[{lightdm}]] There is a whole lot of programs still running -- check the lxsession subtree: An openbox (which is a window manager) is still running and some other LXDE stuff as well (pcmanfm, lxpanel), also a mail client. To kill the last window manager just terminate "openbox" via killall openbox. However, it might be required to terminate the whole tree, probably something like killall -s TERM lxsession or such. On the other hand, I am unsure how much lxsession belongs to lightdm, i.e. might it be necessary to keep lightdm running? >> Htop has a similar view activated by pressing F5 but you can >> additionally browse it and check how much of your CPU the process occupies. >> > This is really bugging me, and I may have to write a script to kill > everything before I log into fluxbox. Or a script to terminate your session upon logoff. HTH Linux-Fan -- http://masysma.ohost.de/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51953d4a.9040...@web.de