Read the statement by Michael Teeuw here.
disable X11 lightdm
-
@emadragon the desktop has a config panel under menu top left, preferences, display where you can do the rotate
-
@sdetweil yes, I have done, but now, when i start the mirror, I have lxde on the background…
Is correct ? -
@emadragon said in disable X11 lightdm:
I have lxde on the background
i don’t know what you mean
what is ‘start the mirror’? boot, or type a command, if command, what command
how did you install mm? manual , or my script?
what did you do to ‘start’ the mirror on boot if a manual install?
-
@sdetweil I used MM as in the Magic Mirror documentation, now, when Rasperry Boot, start Lxde, than start Magic Mirror
How can i start only Magic Mirror ?
It’s possible? -
@emadragon I don’t know…
my scripts use the node process manager (pm2) so that its the same on every platform
see
https://github.com/sdetweil/MagicMirror_scriptsthe fixuppm2 script at the bottom of the page…
then u would undo what the lxde setup was
then its auto started on boot…
but you can control it with the pm2 commandpm2 status
pm2 stop xx (or all)
pm2 start xx (or all)
pm2 restart xxoutput is captured to two logs
pm2 logs --lines=nn
(nn is some number, 15 by default)you can redirect that output to a file to view it if there issues
during development and test, I don’t use pm2, I just
cd ~/MagicMirror npm start >somefile.txt 2>&1
then it captures all the output to ~/MagicMirror/somefile.txt
ctrl-q on the MM screen stops it
ctrl-m minimizesonce u have everything working , then reboot or pm2 start all