Skip to content

Commit

Permalink
Hack to fix vnc password generation, Fixes #26
Browse files Browse the repository at this point in the history
  • Loading branch information
guysoft committed Jun 15, 2016
1 parent 55e70b1 commit 13667da
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ sed -i 's/#autologin-user=.*/autologin-user=pi/g' /etc/lightdm/lightdm.conf

#set up x11vnc
sudo -u pi /home/pi/scripts/setX11vncPass raspberry
if [ ! -f /home/pi/.vnc/passwd ]; then
echo "/home/pi/.vnc/passwd was not created"
sudo -u pi /home/pi/scripts/setX11vncPass raspberry
if [ ! -f /home/pi/.vnc/passwd ]; then
echo "failed again"

This comment has been minimized.

Copy link
@lewisgoddard

lewisgoddard Jul 16, 2016

Contributor

This line should probably be more descriptive.

echo "/home/pi/.vnc/passwd was not created again. Giving up."

This comment has been minimized.

Copy link
@guysoft

guysoft via email Jul 16, 2016

Author Owner
exit 1
fi
fi

#echo "sudo -u pi startx /home/pi/scripts/run_onepageos &" >> /etc/rc.local
#echo "(sleep 15 ; sudo -u pi /home/pi/scripts/fullscreen) &" >> /etc/rc.local
Expand Down

0 comments on commit 13667da

Please sign in to comment.