Home › Forums › Forums › Technical Support for PiScreen › x windows setup Calibration permission denied
- This topic has 4 replies, 2 voices, and was last updated 8 years, 3 months ago by Mark Williams.
- March 8, 2015 at 9:05 pm #3671bretho68Participant
I’m installing the piScreen on a Pi2 usng NooBs. When running the calibration script I’m getting Permission Denied.
sudo sh -c ‘echo “sudo /bin/sh /etc/X11/Xsession.d/xinput_calibrator_pointercal.sh” >> /etc/xdg/lxsession/LXDE/autostart’: Permission denied
How do I fix this?
DarrenMarch 8, 2015 at 10:04 pm #3672
the ‘permission denied’ messages happens when the double or single quotes don’t get copied across.
When you paste it in from the web page, double check all quotes are not converted to a “.”March 9, 2015 at 12:02 am #3677bretho68Participant
Thanks Mark, I truly appreciate the quick response.
I entered the text manually and still get the same results.March 9, 2015 at 4:29 pm #3681
all this command is doing is updating the file /etc/xdg/lxsession/LXDE/autostart
try and do it manually
sudo nano /etc/xdg/lxsession/LXDE/autostart
add this text to the bottom
sudo /bin/sh /etc/X11/Xsession.d/xinput_calibrator_pointercal.shMarch 9, 2015 at 4:51 pm #3683
if forgot to add that if you are using a later image or a Pi 2, this file can be found at
- You must be logged in to reply to this topic.