moved to ubuntu18
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user