Make needrestart-dbus-session exec needrestart-x11 after receiving a NotifySessions signal.
Add XDG autostart stuff.