Skip to content

Instantly share code, notes, and snippets.

@moonhouse
Created May 27, 2015 15:36
Show Gist options
  • Select an option

  • Save moonhouse/80638c46e7fdb59b8df6 to your computer and use it in GitHub Desktop.

Select an option

Save moonhouse/80638c46e7fdb59b8df6 to your computer and use it in GitHub Desktop.
With that all done, the installation needs to be told to start-up X using a tailored xinitrc (kept on the boot-partition so that it can easily be edited on a non-Linux machine) by adding the following to /etc/rc.local:
if [ -f /boot/xinitrc ]; then
ln -fs /boot/xinitrc /home/pi/.xinitrc;
su - pi -c 'startx' &
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment