MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. bbdv
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    B
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 5
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: midori cant connect to localhost

      Got it back to work by starting all over.

      Here are my* notes/steps:
      *)I have gathered all these steps from all the contributers on this site.

      Start with a fresh Jessie lite image…

      sudo apt-get update
      sudo wget http://node-arm.herokuapp.com/node_latest_armhf.deb
      sudo dpkg -i node_latest_armhf.deb
      sudo apt-get install npm
      sudo apt-get install git
      cd /home/pi/
      git clone https://github.com/MichMich/MagicMirror
      cd MagicMirror
      sudo npm install (This will take 30+ minutes)
      sudo apt-get install midori
      sudo apt-get install unclutter
      sudo aptitude install xinit
      sudo apt-get install matchbox
      sudo nano /etc/init.d/startMagicMirror.sh

      #!/bin/bash
      ### BEGIN INIT INFO
      # Provides:          startMagicMirror.sh
      # Short-Description: startMM
      # Description:       starts MM
      ### END INIT INFO
      cd /home/pi/MagicMirror
      node serveronly &
      sleep 20
      

      sudo xinit /home/pi/startMidori.sh
      sudo chmod a+x /etc/init.d/startMagicMirror.sh
      sudo update-rc.d startMagicMirror.sh defaults 100
      sudo apt-get install x11-xserver-utils
      sudo nano /home/pi/startMidori.sh

      #!/bin/sh
      xset -dpms # disable DPMS (Energy Star) features.
      xset s off # disable screen saver
      xset s noblank # don’t blank the video device
      matchbox-window-manager &
      unclutter &
      midori -e Fullscreen -a http://localhost:8080
      

      sudo chmod a+x /home/pi/startMidori.sh
      sudo reboot

      posted in Troubleshooting
      B
      bbdv
    • RE: midori cant connect to localhost

      I have managed to get it working by adjusting the start up script in the etc/init.d/ directory:

      Instead of:
      cd ~/MagicMirror

      I changed it to :
      cd /home/pi/MagicMirror

      Worked great for over 2 week… until I updated MagicMirror, the same error returned…
      (Connection refused)

      posted in Troubleshooting
      B
      bbdv
    • RE: midori cant connect to localhost

      Hi Guy’s, I’m having the same issue here, stuck on midori telling me connection refused…

      Im working on a pi zero w with jessie lite

      posted in Troubleshooting
      B
      bbdv
    • 1 / 1