moved to ubuntu18

This commit is contained in:
Ville Rantanen
2019-02-14 11:51:00 +02:00
parent 024295c98a
commit 514e6bd042
4 changed files with 8 additions and 45 deletions

View File

@@ -12,31 +12,6 @@ echo '--PUBKEY--' > /home/$USR/.ssh/authorized_keys
chmod 700 /home/$USR/.ssh
chmod 600 /home/$USR/.ssh/authorized_keys
chsh -s /bin/bash $USR
cp /vnc_passwd /home/$USR/.vnc/passwd
chmod 600 /home/$USR/.vnc/passwd
echo '#!/bin/sh
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
terminator &
openbox &
lxpanel -p LXDE &
pcmanfm --desktop --profile LXDE &
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 *
' > /home/$USR/.vnc/xstartup
echo "#!/bin/bash
vncserver :0 -depth 24 \$1 \
-geometry 1680x1050 \
-geometry 800x600 \
-geometry 1024x768 \
-geometry 1280x1024 \
-geometry 1600x1200 \
-geometry 1280x720
" > /home/$USR/bin/vncs
echo "#!/bin/bash