Read the statement by Michael Teeuw here.
node clientonly for Windows
-
I’ve recently acquired a few Intel Compute Sticks and as a result am changing from a single Raspberry PI to a distributed architecture where I run the server within a Proxmox LXC and then use the Compute Stick (Windows) to connect to it.
The server side is done and running but I can’t figure out how to get the client to work.
With the “full” setup, there is the windows switch:
npm run start:windows
What’s the equivalent setting for the client only? I can’t find it in docs or forum posts. When I run
node clientonly --address x.x.x.x --port 8080
I’m getting
Error: Requires environment variable WAYLAND_DISPLAY or DISPLAY, none is provided.
Any hints greatly appreciated.
-
from the doc
https://docs.magicmirror.builders/getting-started/installation.html#client-onlybecause the system is running wayland
you need to set the variable if not set"WAYLAND_DISPLAY="${WAYLAND_DISPLAY:=wayland-1}" node clientonly … rest of parms
copied from package.json
-
@sdetweil said in node clientonly for Windows:
“WAYLAND_DISPLAY=”${WAYLAND_DISPLAY:=wayland-1}"
Hi Sam, many thanks.
I’m confused. I thought Wayland was a *nix-thing?
I’m trying to run the client on Windows 10.Do I need to set this up as an Environment Variable?
-
@mri_ice just responding to the message you got
is windows on the stick? -
you can also launch a browser to the MagicMirror server
-
Yup, the stick is windows-based.
Is there a :windows parameter similar to when you run the full npm start:windows?
-
This is what I’ve ended up doing for now, thank you.
-
@mri_ice if you look at package.json you can see the npm commands we defined in the scripts section
i copied the wayland stuff from there.
-
looks like electron (browser) is confused about the os running