Read the statement by Michael Teeuw here.
(electron:2910): Gtk-WARNING **: 14:16:40.324: cannot open display: :0
-
@bachoo786 install script does it for you…
-
@bachoo786 could you do me a favor before u plug in a monitor,
can you do
pgrep Xorg
from the ssh terminal…
I’m guessing it should return nothing…
my new run-start.sh script in next release, will detect text mode and start your installation in serveronly automagically.,! (pm2 just starts the script)
-
@sdetweil yeah it returned nothing.
so shall I follow your script i.e. https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer
and reinstall MagicMirror?Do I have to worry about installing pm2? will Magic Mirror run automatically if I was to reboot my raspberry? etc?
to be fair I want to install and run Magic Mirror on my raspberry. I suppose that is server mode? and not client mode? whats the difference sorry ?
-
@bachoo786 you don’t need to reinstall… you are ok… just need a display on the 4 or run server only…
the new code isn’t used on my install except for pi0, which won’t work anymore without some changes
-
@bachoo786 said in (electron:2910): Gtk-WARNING **: 14:16:40.324: cannot open display: :0:
yeah it returned nothing.
awesome! thanks
-
@sdetweil what is server mode and client mode? I dont understand the difference. Can you please explain? thanks.
-
@bachoo786 said in (electron:2910): Gtk-WARNING **: 14:16:40.324: cannot open display: :0:
Do I have to worry about installing pm2? will Magic Mirror run automatically if I was to reboot my raspberry? etc?
the current installation only tries to run on the real display… YOU have to figure it out otherwise…
(which we are doing here in this topic) -
@sdetweil I am really confused buddy.
lets start again please. I install mm using the script, what do I do next? do I need to worry about pm2? I suppose installing using the script installs MM as the server on the raspberry pi?
-
@bachoo786 sure…
MagicMirror is a web application.
it can be run in two different models
-
the browser and ‘web server’ are the same app, on the same machine
other machines can access the ‘web server’ part too -
the mirror is run without a display (server only), and some browser somewhere is used to
access the ‘web server’
you might do 2 where u want to provide Mirror access to multiple systems but don’t need it where the pi is installed…
-
-
@sdetweil said in (electron:2910): Gtk-WARNING **: 14:16:40.324: cannot open display: :0:
the mirror is run without a display (server only), and some browser somewhere is used to
access the ‘web server’you might do 2 where u want to provide Mirror access to multiple systems but don’t need it where the pi is installed…
ok makes sense. I normally access the mirror by port forwarding my raspberry pi on port 8080 and thats how I can access it on different machines or at work. And I like it that way to be fair. Because eventually my raspberry pi 4 will be inside the 2 way mirror running the Magic Mirror software.