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.

    Black Screens during remote desktop

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 2 Posters 1.4k 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.
    • C Offline
      chris1971
      last edited by

      I try to setup a new mirror. I am working with remote desktop for configuration an testing. When I would like to try the modification via npm start in the console the screen is getting black - the screen on the mirror is working fine.
      Any ideas?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @chris1971
        last edited by

        @chris1971 how are you doing remote desktop?

        electron depends on x-windows

        echo $DISPLAY
        in your remote terminal window

        I would make it accessible from the remote system

        address:'0.0.0.0',
        ipWhitelist:[],
        

        in config.js

        then u can start it over ssh
        and access fro the system u are using for remote

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • C Offline
          chris1971
          last edited by

          I use the remote desktop from Win 10. With the older system it works well.
          Remote.JPG

          1 Reply Last reply Reply Quote 0
          • C Offline
            chris1971
            last edited by chris1971

            with npm start I see following and then a black screen:

            Pi@raspberrypi:~/MagicMirror $ npm start

            magicmirror@2.22.0 start
            DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

            [30.03.2023 14:57.53.042] [LOG] Starting MagicMirror: v2.22.0
            [30.03.2023 14:57.53.055] [LOG] Loading config …
            [30.03.2023 14:57.53.073] [LOG] Loading module helpers …
            [30.03.2023 14:57.53.077] [LOG] No helper found for module: alert.
            [30.03.2023 14:57.53.124] [LOG] Initializing new module helper …
            [30.03.2023 14:57.53.126] [LOG] Module helper loaded: updatenotification
            [30.03.2023 14:57.53.128] [LOG] No helper found for module: clock.
            [30.03.2023 14:57.53.792] [LOG] Initializing new module helper …
            [30.03.2023 14:57.53.794] [LOG] Module helper loaded: calendar
            [30.03.2023 14:57.53.984] [LOG] Initializing new module helper …
            [30.03.2023 14:57.53.987] [LOG] Module helper loaded: MMM-OpenWeatherForecast
            [30.03.2023 14:57.53.989] [LOG] No helper found for module: MMM-TextClock.
            [30.03.2023 14:57.59.058] [LOG] Initializing new module helper …
            [30.03.2023 14:57.59.060] [LOG] Module helper loaded: newsfeed
            [30.03.2023 14:57.59.063] [LOG] No helper found for module: MMM-Globe.
            [30.03.2023 14:57.59.078] [LOG] Initializing new module helper …
            [30.03.2023 14:57.59.081] [LOG] Module helper loaded: MMM-GoogleMapsTraffic
            [30.03.2023 14:57.59.083] [LOG] All module helpers loaded.
            [30.03.2023 14:57.59.481] [LOG] Starting server on port 8080 …
            [30.03.2023 14:57.59.496] [WARN] You’re using a full whitelist configuration to allow for all IPs
            [30.03.2023 14:57.59.533] [ERROR] Whoops! There was an uncaught exception…
            [30.03.2023 14:57.59.553] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
            at Server.setupListenHandle [as _listen2] (node:net:1432:16)
            at listenInCluster (node:net:1480:12)
            at doListen (node:net:1629:7)
            at process.processTicksAndRejections (node:internal/process/task_queues:84:21) {
            code: ‘EADDRINUSE’,
            errno: -98,
            syscall: ‘listen’,
            address: ‘0.0.0.0’,
            port: 8080
            }
            [30.03.2023 14:57.59.554] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
            [30.03.2023 14:57.59.557] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
            [30.03.2023 14:58.00.341] [LOG] Launching application.
            MESA-LOADER: failed to retrieve device information
            MESA-LOADER: failed to retrieve device information
            MESA-LOADER: failed to retrieve device information
            …/…/buildtools/third_party/libc++/trunk/include/vector:1425: assertion __n < size() failed: vector[] index out of bounds[2218:0330/145802.358160:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=6
            MESA-LOADER: failed to retrieve device information
            MESA-LOADER: failed to retrieve device information
            MESA-LOADER: failed to retrieve device information
            …/…/buildtools/third_party/libc++/trunk/include/vector:1425: assertion __n < size() failed: vector[] index out of bounds[2218:0330/145803.485870:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=6
            MESA-LOADER: failed to retrieve device information
            MESA-LOADER: failed to retrieve device information
            MESA-LOADER: failed to retrieve device information
            …/…/buildtools/third_party/libc++/trunk/include/vector:1425: assertion __n < size() failed: vector[] index out of bounds[2218:0330/145804.578316:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=6
            [30.03.2023 14:58.22.117] [LOG] Shutting down server…
            [30.03.2023 14:58.22.129] [LOG] Stopping module helper: updatenotification
            [30.03.2023 14:58.22.132] [LOG] Stopping module helper: calendar
            [30.03.2023 14:58.22.133] [LOG] Stopping module helper: MMM-OpenWeatherForecast
            [30.03.2023 14:58.22.135] [LOG] Stopping module helper: newsfeed
            [30.03.2023 14:58.22.136] [LOG] Stopping module helper: MMM-GoogleMapsTraffic

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @chris1971
              last edited by

              @chris1971 said in Black Screens during remote desktop:

              Error: listen EADDRINUSE: address already in use 0.0.0.0:8080

              u have another instance of MagicMirror already running

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0

              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