That is a workaround for running a PD patch on a headless Raspberry Pi without any desktop.
Open this file:
$ sudo nano /etc/rc.local
And type the following lines before the exit 0:
pd -nogui /home/pi/PD-sketchbook/my_pd_patch.pd &
and reboot:
$ sudo reboot
This manual is made by Wolfgang Spahn 2020.
It is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.