summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorSimon Rettberg2013-04-30 18:56:24 +0200
committerSimon Rettberg2013-04-30 18:56:24 +0200
commit529707628b392fa980a57cd40e0c573264f0933b (patch)
tree3a546e73762c4d31a880c06b0c3adb9f87f22240 /remote
parentDon't require Xsession.d directory (diff)
downloadtm-scripts-529707628b392fa980a57cd40e0c573264f0933b.tar.gz
tm-scripts-529707628b392fa980a57cd40e0c573264f0933b.tar.xz
tm-scripts-529707628b392fa980a57cd40e0c573264f0933b.zip
suse wants Xreset from kdm
Diffstat (limited to 'remote')
-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