summaryrefslogtreecommitdiffstats
path: root/build_tools/archiso/mythvantage/root-image
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/archiso/mythvantage/root-image')
-rwxr-xr-xbuild_tools/archiso/mythvantage/root-image/etc/sudoers.d/g_wheel1
-rwxr-xr-xbuild_tools/archiso/mythvantage/root-image/root/LinHES-install.sh3
-rwxr-xr-xbuild_tools/archiso/mythvantage/root-image/root/startx8
3 files changed, 6 insertions, 6 deletions
diff --git a/build_tools/archiso/mythvantage/root-image/etc/sudoers.d/g_wheel b/build_tools/archiso/mythvantage/root-image/etc/sudoers.d/g_wheel
new file mode 100755
index 0000000..8c45359
--- /dev/null
+++ b/build_tools/archiso/mythvantage/root-image/etc/sudoers.d/g_wheel
@@ -0,0 +1 @@
+%wheel ALL=(ALL) NOPASSWD: ALL
diff --git a/build_tools/archiso/mythvantage/root-image/root/LinHES-install.sh b/build_tools/archiso/mythvantage/root-image/root/LinHES-install.sh
index a4f8bd7..704112d 100755
--- a/build_tools/archiso/mythvantage/root-image/root/LinHES-install.sh
+++ b/build_tools/archiso/mythvantage/root-image/root/LinHES-install.sh
@@ -11,6 +11,7 @@ export MALLOC_CHECK_=0
xset s off
xset -dpms
xhost +
+xdotool mousemove 0 0
CMDLINE=$(cat /proc/cmdline)
echo $CMDLINE |grep -q nfsroot
@@ -26,7 +27,7 @@ MythVantage -r
if [ x$NFSROOT = x1 ]
then
- unbuffer MythVantage &
+ unbuffer MythVantage -L &
else
NETBOOT=YES MythVantage &
fi
diff --git a/build_tools/archiso/mythvantage/root-image/root/startx b/build_tools/archiso/mythvantage/root-image/root/startx
index ca11cdc..829f1db 100755
--- a/build_tools/archiso/mythvantage/root-image/root/startx
+++ b/build_tools/archiso/mythvantage/root-image/root/startx
@@ -12,12 +12,10 @@ USEVNC=$?
if [ x$USEVNC = x1 ]
then
- $MV_ROOT/bin/xconfig.sh 2>/dev/null
-# cat /etc/X11/xorg.conf | sed -e 's/dev\/mouse/dev\/psaux/g'> /root/xorg.conf.install
- #startx /root/LinHES-install.sh -- -logverbose 6 -config /root/xorg.conf.install -allowMouseOpenFail 2>/tmp/x.log
+ RUNP=1 $MV_ROOT/bin/xconfig.sh 2>/dev/null
startx /root/LinHES-install.sh -- -logverbose 6 -allowMouseOpenFail 2>/tmp/x.log
- else
- #VNC
+else
+ #VNC
pacman -Sf --noconfirm tigervnc
/etc/rc.d/dbus start
cp -f $TEMPLATES/vnc.service /etc/avahi/services/