MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    midori cant connect to localhost

    Scheduled Pinned Locked Moved Troubleshooting
    11 Posts 6 Posters 10.7k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      meyraa @bbdv
      last edited by

      @bbdv I had the same problem. Midori has problems with ES6 and the arrow functions. I just deinstalled Midori and installed chromium-browser.

      You can rewrite the startMidori.sh

      #!/bin/sh
      unclutter &
      xset -dpms # disable DPMS (Energy Star) features.
      xset s off # disable screen saver
      xset s noblank # don’t blank the video device
      chromium-browser --no-sandbox --disable-infobars --start-maximized --noerrdialogs --kiosk --incognito http://localhost:8080
      

      If you want you can rename startMidori.sh to startChromium.sh, but don’t forget to rename it in the startMagicMirror.sh too.

      My startMagicMirror.sh looks like this:

      #! /bin/bash
      cd ~/MagicMirror
      node serveronly &
      sleep 45
      sudo xinit /home/pi/startMidori.sh
      
      1 Reply Last reply Reply Quote 0
      • 1
      • 2
      • 2 / 2
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy