[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fluxbox questions



On 16 May 2013 21:10, Linux-Fan <Ma_Sys.ma@web.de> wrote:
On 05/16/2013 09:09 PM, Sharon Kimble wrote:
> On 16 May 2013 19:25, Linux-Fan <Ma_Sys.ma@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?

I'm sorry I forgot to say that when I couldn't get into fluxbox I reverted to lxde for my working DE , which si why all the lxde stuff is 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.

Yes, thats a good idea.

Thanks
Sharon. 
-- 
A taste of linux = http://www.sharons.org.uk/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian Wheezy,  Fluxbox 1.3.5, LibreOffice 4.0.3.3, 
Registered Linux user 334501



Reply to: