summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xremote/modules/kdm/data/etc/kde4/kdm/Xreset15
1 files changed, 15 insertions, 0 deletions
diff --git a/remote/modules/kdm/data/etc/kde4/kdm/Xreset b/remote/modules/kdm/data/etc/kde4/kdm/Xreset
new file mode 100755
index 00000000..e6782a43
--- /dev/null
+++ b/remote/modules/kdm/data/etc/kde4/kdm/Xreset
@@ -0,0 +1,15 @@
+#! /bin/sh
+# Xreset - run as root after session exits
+
+# Reassign ownership of the console to root, this should disallow
+# assignment of console output to any random users's xterm. See Xstartup.
+#
+#chown root /dev/console
+#chmod 622 /dev/console
+
+# XDM configurations typically have sessreg here. KDM has it built-in.
+
+# Use common Xreset framework if it exist
+if [ -x /etc/X11/Xreset ] ; then
+ /etc/X11/Xreset
+fi \ No newline at end of file