The instructions have been taken from How to remove systemd from an Ubuntu Xenial installation from Without Systemd. Tested on Linux Mint 18.3 "Sylvia" MATE and Xfce.
The first commands are to install
sudo apt-get -y install upstart-sysv sysvinit-utils sudo update-initramfs -uThe second commands add a PPA for SystemD-free versions of the
sudo add-apt-repository ppa:no-systemd/ppa sudo apt-get update sudo apt-get -y upgradeThe third commands make logging out work without SystemD. Please review the
install-custom-session-logout.shfile before running the
sudo shcommand, because that file will be run as root. Unfortunately I can't think of a way to make this more secure. (It should probably be part of a package.)
curl https://raw.githubusercontent.com/gdm85/ubuntu16-no-systemd/master/install-custom-session-logout.sh >install-custom-session-logout.sh curl https://raw.githubusercontent.com/gdm85/ubuntu16-no-systemd/master/custom-session-logout >custom-session-logout sudo sh install-custom-session-logout.shReboot to get your system running