• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

node clientonly for Windows

Scheduled Pinned Locked Moved General Discussion
9 Posts 2 Posters 252 Views 2 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
    mri_ice
    last edited by May 24, 2025, 10:11 AM

    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.

    S 1 Reply Last reply May 24, 2025, 10:49 AM Reply Quote 1
    • S Offline
      sdetweil @mri_ice
      last edited by sdetweil May 24, 2025, 11:28 AM May 24, 2025, 10:49 AM

      @mri_ice

      from the doc
      https://docs.magicmirror.builders/getting-started/installation.html#client-only

      because 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

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply May 24, 2025, 2:24 PM Reply Quote 1
      • M Offline
        mri_ice @sdetweil
        last edited by mri_ice May 24, 2025, 2:35 PM May 24, 2025, 2:24 PM

        @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?

        S 1 Reply Last reply May 24, 2025, 2:35 PM Reply Quote 0
        • S Offline
          sdetweil @mri_ice
          last edited by May 24, 2025, 2:35 PM

          @mri_ice just responding to the message you got
          is windows on the stick?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S M 2 Replies Last reply May 24, 2025, 2:47 PM Reply Quote 0
          • S Offline
            sdetweil @sdetweil
            last edited by May 24, 2025, 2:47 PM

            you can also launch a browser to the MagicMirror server

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply May 24, 2025, 3:01 PM Reply Quote 0
            • M Offline
              mri_ice @sdetweil
              last edited by May 24, 2025, 2:56 PM

              @sdetweil

              Yup, the stick is windows-based.

              Is there a :windows parameter similar to when you run the full npm start:windows?

              S 1 Reply Last reply May 24, 2025, 3:03 PM Reply Quote 0
              • M Offline
                mri_ice @sdetweil
                last edited by May 24, 2025, 3:01 PM

                @sdetweil

                This is what I’ve ended up doing for now, thank you.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @mri_ice
                  last edited by May 24, 2025, 3:03 PM

                  @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.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S 1 Reply Last reply May 24, 2025, 3:05 PM Reply Quote 1
                  • S Offline
                    sdetweil @sdetweil
                    last edited by May 24, 2025, 3:05 PM

                    looks like electron (browser) is confused about the os running

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    1 / 1
                    • First post
                      1/9
                      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