PDA

View Full Version : [all variants] 18.04 - Logging not closing session; leaves lingering processes



alecz20
October 19th, 2018, 03:39 PM
I decided to test "out-of-the-box" installations for the Ubuntu variants: Ubuntu, Ubuntu-mate, and Lubuntu.
In all cases, after the installation, I created a 2nd user account.
Then I proceeded to switch users by logging in and logging out several times.

What I noticed is that for all variants, there were multiple sessions for each user. In other words, the logout was not properly closing the user's processes as it does in all Ubuntu 16.04 variants.

loginctl shows the multiple sessions:


alex@alex-mate:~$ loginctl
SESSION UID USER SEAT TTY
c18 1000 alex seat0
c12 1000 alex seat0
c2 1001 alecz seat0
c8 1000 alex seat0
c16 1001 alecz seat0
c4 1000 alex seat0
c6 1001 alecz seat0


loginctl user-status alecz shows several sessions as closing: https://pastebin.com/mwwVUcXM

I did some digging and found these bug report about system-config-printer https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863227, but that application is not on Lubuntu.
So I looked at the change log for Ubuntu and I found this: https://lists.ubuntu.com/archives/ub...ly/039465.html (Moving session startup from upstart to systemd). I wonder if this is related to the issue.

In any case, are the Ubuntu developers aware of this issue? Is this something they consider worth addressing? This did not happen with 16.04, what went wrong?
For Ubuntu Mate the issue is even worse as sometimes you cannot even log back in after logging out. The login is very slow, and the panel never loads (the desktop icons appear though).

Basically I don't see how any multi-user environment can move to Ubuntu 18.04 because of this issue.