This problem can have many causes, so specific answers don't work too well. Try this for troubleshooting:
- wait for the "A stop job is running for Session c2 ..." message to appear on shutdown and reboot after shutdown has completed
- run
journalctl -p5in a terminal and pressENDto get to the end of the systemd journal (-p5filters out a lot of garbage) - start a search by pressing
/and enter the search termStopping timed out. Killing. - search backwards by pressing
SHIFT+Nrepeatedly - the line below each match tells you which application was misbehaving:
Killing process 1234 (jack_thru) with signal SIGKILL.
If it is always the same application, you want to find out what it does and why it isn't stopped at shutdown. Otherwise it could be more complicated to solve the problem, but you might still get a hint or two.
Good luck! :)