Skip to content

Commit 0e1ceeb

Browse files
authored
make sure xubuntu user session is clean on logout
1 parent 341fe9d commit 0e1ceeb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

oscfg/ubuntu.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,12 @@ EOF
200200
</channel>
201201
EOF
202202

203+
mkdir -p "$WORK/etc/systemd/logind.conf.d"
204+
cat >"$WORK/etc/systemd/logind.conf.d/20-kill-user-processes.conf" <<EOF
205+
[Login]
206+
KillUserProcesses=yes
207+
EOF
208+
203209

204210
esac
205211

0 commit comments

Comments
 (0)