It's still not fixed, as the ssh socket is closed by LDM too early, before the `fusermount -u` call.
For a real solution, I propose that LDM runs outside X.
Due to a lack of .C maintainers, I also propose that LDM is rewritten in shell. There were some objections for that, though. And hopefully we'll switch to LightDM in a couple of years and LDM will be deprecated.
So until the problem is solved correctly, I'll implement a hack in shell that forcibly kills all user processes on logout and does the cleanup before X dies.
It's still not fixed, as the ssh socket is closed by LDM too early, before the `fusermount -u` call.
For a real solution, I propose that LDM runs outside X.
Due to a lack of .C maintainers, I also propose that LDM is rewritten in shell. There were some objections for that, though. And hopefully we'll switch to LightDM in a couple of years and LDM will be deprecated.
So until the problem is solved correctly, I'll implement a hack in shell that forcibly kills all user processes on logout and does the cleanup before X dies.