rc.local runs as root ... to launch pd use:
sudo -u pi -i pd -nogui -noaudio -nomidi /share/master.pd &
or similar, here pi is the user, the & means pd runs in the background.
I usually keep a script at /share/initialise then call it as user pi, it makes it a lot easier to keep different projects ans swap between them.
Simon
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list