<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Configuring autostart with pm2]]></title><description><![CDATA[<p dir="auto">I have installed the pm2 stuff and after running ‘pm2 start <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a>’ the Pi reboots and the Magic Mirror opens.</p>
<p dir="auto">Now, how do I ‘pm2 save’ to save the current state? Apologies - I’m new to all this. Is there a way to exit the MagicMirror and get back to Terminal to do so? Since I can’t, when I turn off the power and reboot, the Pi just goes back to Raspian.</p>
<p dir="auto">I really want to get rid of this keyboard and mouse!</p>
]]></description><link>https://forum.magicmirror.builders/topic/55/configuring-autostart-with-pm2</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 09:43:33 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/55.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 07 May 2016 13:30:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Configuring autostart with pm2 on Sun, 08 May 2016 07:54:07 GMT]]></title><description><![CDATA[<p dir="auto">Regarding the ‘keyboard and mouse’ part in your post … I use a wireless set. So the rPi is mounted behind the monitor and only has 2 wires on it: power and HDMI. There’s a USB dongle plugged in that’s for the keyboard and mouse which I rarely use. Specially since I log in remotely. The only time I need the mouse or keyboard is if something bad happened and the rPi won’t boot up normally. But other than that, not needed.</p>
]]></description><link>https://forum.magicmirror.builders/post/287</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/287</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Sun, 08 May 2016 07:54:07 GMT</pubDate></item><item><title><![CDATA[Reply to Configuring autostart with pm2 on Sun, 08 May 2016 07:23:30 GMT]]></title><description><![CDATA[<ul>
<li>the rPi should not reboot when you first start the process - are you sure it’s actually rebooting, as opposed to you just seeing a gray screen flash, then black, before MM starts displaying the elements on screen? If the rPi reboots, you should see the full log of it starting up, with 4 raspberry icons at the top.</li>
<li>Issuing the <code>pm2 save</code> command is best done through a remote connection. One way is to setup VNC on the rPi, and use something such as RealVNC (<a href="http://www.realvnc.com/" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.realvnc.com/</a>) on Windows to remotely access the rPi. Another method is to use an SSH client like PuTTY (<a href="http://www.putty.org/" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.putty.org/</a>) to log into the rPi. Once logged in, you can issue <code>pm2</code> commands such as:</li>
</ul>
<p dir="auto"><code>pm2 save</code> - save the current process list so they automatically relaunch<br />
<code>pm2 stop mm</code> - stop the Magic Mirror process and exit back to desktop<br />
<code>pm2 show mm</code> - show the current status of the Magic Mirror process</p>
<p dir="auto">PS: the default login on an rPi is:<br />
username: <code>pi</code><br />
password: <code>raspberry</code></p>
<p dir="auto">I strongly recommend you change the password once you’re logged in by issuing the <code>passwd</code> command. <em><strong>Remember the new password you set.</strong></em></p>
]]></description><link>https://forum.magicmirror.builders/post/285</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/285</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Sun, 08 May 2016 07:23:30 GMT</pubDate></item></channel></rss>