summaryrefslogtreecommitdiff
path: root/config/Xreset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config/Xreset.cpp')
-rw-r--r--config/Xreset.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/Xreset.cpp b/config/Xreset.cpp
new file mode 100644
index 0000000..8f4ef19
--- /dev/null
+++ b/config/Xreset.cpp
@@ -0,0 +1,5 @@
+XCOMM!/bin/sh
+XCOMM Deregister a login. (Derived from TakeConsole as follows:)
+XCOMM
+BINDIR/sessreg -d -w "/var/log/wtmp" -u "/var/run/utmp" \
+ -x "XDMCONFIGDIR/Xservers" -l $DISPLAY -h "" $USER