Read the statement by Michael Teeuw here.
SSH startup
-
thanks, but they don’t work
i create the script, and i saved it in the pm2
but if i restart my magic mirror they begin in the desktop
and if i use ‘pm2 start mm.sh’
they go to the mirrorwith the command ‘pm2 show mm’ i see that is a x in the field “watch & reload”
what now ? -
Then you didn’t do it correctly. Did you launch it, then save the task? You have to follow the steps one by one. Please go back and start from the top and do it again.
-
-
There’s a glaring instruction right there on the screen that you did not follow. When you typed in
pm2 startup
it clearly told you what you need to do, which I don’t see anywhere in your command log. I’m sorry, but if you can’t follow directions given to you, there is really not a whole lot anyone can do to help you. The instructions are there for you to follow, please do that. -
@bhepler I try to enter ‘display_rotate=1’ in the config.txt file in the boot folder. I try to save the file and overwrite the previous version of the file to only get the message “can’t open file to write”. Where am I going wrong on this?
-
@Stehman07
you need to edit the file asroot
, the normal userpi
does not have sufficient rights.Run
sudo nano /boot/config.txt
instead