To get rid of the proliferation of sessions I run this on a script:
loginctl | awk '$3~/lightdm/ {print $1}' | xargs -I{} loginctl terminate-session {} ps aux | awk '$0~/^[l]ightdm.*indicator-services-start/ {print $2}' | xargs -I{} kill -9 {}
To get rid of the proliferation of sessions I run this on a script:
loginctl | awk '$3~/lightdm/ {print $1}' | xargs -I{} loginctl terminate-session {} l]ightdm. *indicator- services- start/ {print $2}' | xargs -I{} kill -9 {}
ps aux | awk '$0~/^[