Read the statement by Michael Teeuw here.
Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
-
@sdetweil If u want to SEE/view it on the tablet (which might have a browser)
in the base system config.js
address:"0.0.0.0", ipWhitelist:[]
then open the tablet browser to the ip of the base and port
http://ip_address:8080
-
@sdetweil Yes, it’s a Windows 10 laptop with a detachable screen that becomes a tablet basically.
“Runs fine” = On the laptop, using Git Bash, I can start the MM2 normally with “npm start”.
“Run it remotely” = The MM2 running on the tablet part of the laptop will sit in the kitchen (no keyboard or mouse). I want to manage it from my desktop in my office using Git Bash ssh connection.The laptop came with Edge, but I’ve been using Chrome.
http://192.168.1.65:8080 fails
http://localhost:8080 works
-
Windows doesn’t support remote display like linux does. u have to use an rdp client
I am booted to my linux system now -
@sdetweil Oh, of course! I’ll work on that…thanks!
-
@dwburger said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
The laptop came with Edge, but I’ve been using Chrome.
http://192.168.1.65:8080 fails
http://localhost:8080 worksso, that looks like the address/ipWhitelist setting above…
(by default MM thinks it is in a closed box on the wall, so only allows connections from INSIDE the box) -
@sdetweil :thumbs_up:
-
@dwburger said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
Runs fine” = On the laptop, using Git Bash, I can start the MM2 normally with “npm start”.
but I don’t understand this…
with the change to the start script, it runs in windows without bash… just regular windows batch
(cmd/powershell) -
@sdetweil OK
-
@dwburger said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
I want to manage it from my desktop in my office using Git Bash ssh connection.
also, don’t know what this means… manage… it doesn’t NEED to run MM at all… just display it.
u could have two instances running on the base machine… 2 different ports…
the tablet accesses port(8081) , the base another (8080)run the tablet instance as serveronly then no ui memory consumption on the base for that instance
to make a second copy from the first, just copy the MM folder to MM1, and change the config for port (and address/whitelist above)
then do npm serveronly for the tablet mm
-
All,
You can not copy and paste though. I had to manually type it all in to make it work.
Still in MagicMirror;
nano package.json
right under the other “start”: “???”
go to the line below it and hit enter.
Then type in the blank space you just made.
“start”: “node_modules/.bin/electron js/electron.js”,
//DO NOT LEAVE OUT THE PUNCTUATION. ESPECIALLY THE COMMA AT THE END.
//I speak from expereince on this matter.
//Mykle1 usually has to help me find it after struggling for a couple hours.
THEN:
cd ~/MagicMirror/vendor
npm install
cd fonts
npm install
NOW IT will RUN
Thank you agian Mykle1
I am really enjoying this on my laptop,
so much easier to do testing ect.