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 848 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

      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 Reply Quote 1
      • S Do not disturb
        sdetweil @mri_ice
        last edited by sdetweil

        @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 Reply Quote 1
        • M Offline
          mri_ice @sdetweil
          last edited by mri_ice

          @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 Reply Quote 0
          • S Do not disturb
            sdetweil @mri_ice
            last edited by

            @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 Reply Quote 0
            • S Do not disturb
              sdetweil @sdetweil
              last edited by

              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 Reply Quote 0
              • M Offline
                mri_ice @sdetweil
                last edited by

                @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 Reply Quote 0
                • M Offline
                  mri_ice @sdetweil
                  last edited by

                  @sdetweil

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

                  1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @mri_ice
                    last edited by

                    @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 Reply Quote 1
                    • S Do not disturb
                      sdetweil @sdetweil
                      last edited by

                      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

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      • 1 / 1
                      • 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