summaryrefslogtreecommitdiff
path: root/config/PostSession
blob: c2937309ec3f30b98f2e3ca836d130be9c034aa2 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

PATH=/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin:$PATH

if command -v sessreg > /dev/null 2>&1; then
	sessreg -d -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" -l $DISPLAY $USER
fi
exit 0