MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. yohu12
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Y
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Groups 0

    yohu12

    @yohu12

    0
    Reputation
    147
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    yohu12 Unfollow Follow

    Latest posts made by yohu12

    • RE: electron:837): Gtk-WARNING **: cannot open display: 0:

      @sdetweil said in electron:837): Gtk-WARNING **: cannot open display: 0::

      export DISPLAY=:0

      It return same error

      (electron:1493): Gtk-WARNING **: cannot open display: :0
      
      posted in Troubleshooting
      Y
      yohu12
    • RE: electron:837): Gtk-WARNING **: cannot open display: 0:

      And I can run startx to show the desktop screen on the monitor. only npm start is not work.

      posted in Troubleshooting
      Y
      yohu12
    • electron:837): Gtk-WARNING **: cannot open display: 0:

      when run DISPLAY=0:0 npm start, i meet such error.

      root@raspberrypi:~/MagicMirror # DISPLAY=0:0 npm start
      
      > magicmirror@2.8.0 start /root/MagicMirror
      > sh run-start.sh
      
      
      (electron:837): Gtk-WARNING **: cannot open display: 0:0
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.8.0 start: `sh run-start.sh`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.8.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2019-08-01T14_29_27_057Z-debug.log
      

      I have update the raspi-config to start with command line and text boot.
      But error still here.
      Any one can help me???

      posted in Troubleshooting
      Y
      yohu12