Read the statement by Michael Teeuw here.
SSH startup
-
a little question:
how i can delete my “desktop” and start with my npm (so i wanna after a restart direct to my npm not on my desktop)? -
You can’t. You need the desktop to run electron which is what displays the mirror. What you can do, is run an automatic (re)start of the mirror. For instructions, please visit https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror
-
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