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

V2.31.0 unable to start

Scheduled Pinned Locked Moved Unsolved Troubleshooting
29 Posts 3 Posters 2.9k Views 3 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.
  • S Offline
    sdetweil @htilburgs
    last edited by Apr 15, 2025, 8:04 PM

    @htilburgs could be

    when you open a terminal session and do

    env

    is the WAYLAND_DISPLAY variable set?

    that code you referenced says use WAYLAND_DISPLAY, and if not set, set it to wayland-1

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    H 1 Reply Last reply Apr 15, 2025, 8:11 PM Reply Quote 0
    • H Offline
      htilburgs @sdetweil
      last edited by Apr 15, 2025, 8:11 PM

      @sdetweil It seems it’s not set

      pi@MagicMirror:~ $ env
      SHELL=/bin/bash
      NO_AT_BRIDGE=1
      PWD=/home/pi
      LOGNAME=pi
      XDG_SESSION_TYPE=tty
      MOTD_SHOWN=pam
      HOME=/home/pi
      LANG=en_GB.UTF-8
      LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:
      SSH_CONNECTION=192.168.0.200 57994 192.168.0.47 22
      XDG_SESSION_CLASS=user
      TERM=xterm-256color
      USER=pi
      SHLVL=1
      XDG_SESSION_ID=4
      XDG_RUNTIME_DIR=/run/user/1000
      SSH_CLIENT=192.168.0.200 57994 22
      PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
      DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
      SSH_TTY=/dev/pts/0
      OLDPWD=/home/pi/.config
      TEXTDOMAIN=Linux-PAM
      _=/usr/bin/env
      pi@MagicMirror:~ $ 
      

      How do I set this?

      (still trying to learn JS, but not afraid to ask) ☺

      S 1 Reply Last reply Apr 15, 2025, 8:14 PM Reply Quote 0
      • S Offline
        sdetweil @htilburgs
        last edited by Apr 15, 2025, 8:14 PM

        @htilburgs in terminal window no spaces between things…
        this is like the windows set var=value (without the set prefix)

        WAYLAND_DISPLAY=wayland-x

        x is a number from 0 to …

        we thought wayand-1 was default

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        H 1 Reply Last reply Apr 15, 2025, 8:18 PM Reply Quote 0
        • H Offline
          htilburgs @sdetweil
          last edited by Apr 15, 2025, 8:18 PM

          @sdetweil said in V2.31.0 unable to start:

          WAYLAND_DISPLAY=wayland-x

          In terminal window I typed WAYLAND_DISPLAY=wayland-1
          Then I did “env”, nothing changed.
          npm run start:wayland still gives the same error.

          (still trying to learn JS, but not afraid to ask) ☺

          S 1 Reply Last reply Apr 15, 2025, 8:20 PM Reply Quote 0
          • S Offline
            sdetweil @htilburgs
            last edited by Apr 15, 2025, 8:20 PM

            @htilburgs said in V2.31.0 unable to start:

            Then I did “env”, nothing changed.

            you should have seen this in the env output

            but our code says IF NOT SET, use wayland-1
            which looks like an error

            so if you set it to the same value it won’t improve

            I’d try wayland-0

            maybe the wlr_randr command will tell you what it is?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            H 1 Reply Last reply Apr 15, 2025, 8:24 PM Reply Quote 0
            • H Offline
              htilburgs @sdetweil
              last edited by htilburgs Apr 15, 2025, 8:29 PM Apr 15, 2025, 8:24 PM

              @sdetweil Maybe I don’t understand.
              WAYLAND_DISPLAY=wayland-0 still gives wayland-1 in npm run start:wayland.

              wlr_randr gives

              pi@MagicMirror:~/MagicMirror $ wlr_randr
              -bash: wlr_randr: command not found
              

              By the way, my PIR command do work

              onCommand: "WAYLAND_DISPLAY='wayland-1' wlr-randr --output HDMI-A-1 --on --transform 270 --mode='1920x1080'",
              
              offCommand: "WAYLAND_DISPLAY='wayland-1' wlr-randr --output HDMI-A-1 --off",
              

              (still trying to learn JS, but not afraid to ask) ☺

              H R 2 Replies Last reply Apr 15, 2025, 8:33 PM Reply Quote 0
              • H Offline
                htilburgs @htilburgs
                last edited by Apr 15, 2025, 8:33 PM

                When I give command

                pi@MagicMirror:~ $ WAYLAND_DISPLAY='wayland-1' wlr-randr --output HDMI-A-1 
                HDMI-A-1 "Samsung Electric Company SyncMaster 0x00000001 (HDMI-A-1)"
                  Physical size: 700x390 mm
                  Enabled: yes
                  Modes:
                    720x400 px, 70.082001 Hz
                    640x480 px, 59.939999 Hz
                    640x480 px, 60.000000 Hz
                    640x480 px, 66.667000 Hz
                    640x480 px, 72.808998 Hz
                    640x480 px, 75.000000 Hz
                    720x480 px, 59.939999 Hz
                    720x480 px, 59.939999 Hz
                    720x480 px, 60.000000 Hz
                    720x480 px, 60.000000 Hz
                    720x576 px, 50.000000 Hz
                    800x600 px, 60.317001 Hz
                    800x600 px, 72.188004 Hz
                    800x600 px, 75.000000 Hz
                    832x624 px, 74.551003 Hz
                    1024x768 px, 60.004002 Hz
                    1024x768 px, 70.069000 Hz
                    1024x768 px, 75.028999 Hz
                    1280x720 px, 50.000000 Hz
                    1280x720 px, 50.000000 Hz
                    1280x720 px, 59.939999 Hz
                    1280x720 px, 60.000000 Hz
                    1280x720 px, 60.000000 Hz
                    1152x864 px, 75.000000 Hz
                    1280x800 px, 59.910000 Hz
                    1440x900 px, 59.901001 Hz
                    1280x1024 px, 60.020000 Hz
                    1280x1024 px, 75.025002 Hz
                    1600x900 px, 60.000000 Hz
                    1680x1050 px, 59.882999 Hz
                    1920x1080 px, 23.976000 Hz
                    1920x1080 px, 24.000000 Hz
                    1920x1080 px, 25.000000 Hz
                    1920x1080 px, 29.969999 Hz
                    1920x1080 px, 30.000000 Hz
                    1920x1080 px, 50.000000 Hz
                    1920x1080 px, 50.000000 Hz
                    1920x1080 px, 59.939999 Hz
                    1920x1080 px, 60.000000 Hz
                    1920x1080 px, 60.000000 Hz (preferred, current)
                  Position: 0,0
                  Transform: 270
                  Scale: 1.000000
                

                (still trying to learn JS, but not afraid to ask) ☺

                S 1 Reply Last reply Apr 15, 2025, 8:56 PM Reply Quote 0
                • S Offline
                  sdetweil @htilburgs
                  last edited by Apr 15, 2025, 8:56 PM

                  @htilburgs so wayland-1 seems to be correct

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rkorell @htilburgs
                    last edited by Apr 16, 2025, 9:39 AM

                    @htilburgs said in V2.31.0 unable to start:

                    -bash: wlr_randr: command not found

                    shouldn’t it be wlr-randr ?

                    Regards,
                    Ralf

                    H S 2 Replies Last reply Apr 16, 2025, 11:03 AM Reply Quote 0
                    • H Offline
                      htilburgs @rkorell
                      last edited by Apr 16, 2025, 11:03 AM

                      @rkorell
                      You’re correct, but then I get

                      3bbb92f7-13b0-4849-87f5-57180fc25ab3-image.png

                      (still trying to learn JS, but not afraid to ask) ☺

                      R 1 Reply Last reply Apr 16, 2025, 11:36 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        20/29
                        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