Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/scripts/ubuntu-tweaks
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-07-04 22:55:21 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-07-04 22:56:06 (GMT)
commita058c452957138b5c75bfccc4eb0dc203c08a558 (patch)
treee7b0f3f1e7eb82677bb97b95213504e50540db9e /scripts/ubuntu-tweaks
parentd1bf08573a4e49b1db2c8f2abef528fddd7f025e (diff)
Tweak ubuntu X configuration in check-system
And remove the instructions from README
Diffstat (limited to 'scripts/ubuntu-tweaks')
-rwxr-xr-xscripts/ubuntu-tweaks6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/ubuntu-tweaks b/scripts/ubuntu-tweaks
new file mode 100755
index 0000000..be5ebf2
--- /dev/null
+++ b/scripts/ubuntu-tweaks
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+XWRAPPERCONFIG=/etc/X11/Xwrapper.config
+
+sed -i '/^allowed_users.*/d' $XWRAPPERCONFIG
+echo "allowed_users=anybody" >> $XWRAPPERCONFIG