Read the statement by Michael Teeuw here.
Problem server client configuration
-
if you are trying to start over an ssh session, you need to add this before the node clientonly
if [ -z “$DISPLAY” ]; then #If not set DISPLAY is SSH remote or tty
export DISPLAY=:0 # Set by default display
fi -
@akkor - Ugh. Why would you want to use Electron if you didn’t have to? There’s already a web browser on your Pi. Just point it at the MM server and be done with it.
I’ve learned that you can get Chromium to start in kiosk mode at a particular URL with about an hour of research and testing. Minimal swearing was involved.
-
@bhepler Electron is already a premade solution that works great. However using Chromium in Kiosk mode is also a nice and easy solution. And it may solve the issue here.
@Akkor How to open Chromium in kioksmode on startup: https://raspberrypi.stackexchange.com/questions/40631/setting-up-a-kiosk-with-chromium
-
@idoodler @bhepler
I Have setup chromium to autostart and it’s ok
But I would like use Electron to use the voice command on client like this one https://github.com/mykle1/Hello-Lucy or https://github.com/joanaz/MMM-MirrorMirrorOnTheWall but I don’t know if it’s doable in server/client mode -
-
ok so wait for @Mykle1
-
This post is deleted! -
@macnice Hi, is your issue related to the problem described in this thread? You May want to create a new thread if the issue are not related.
-
@idoodler said in Problem server client configuration:
I don’t think you can use Hello-Lucy in client mode.
But I bet the developer @Mykle1 knows it.I never even thought about trying it. I just run standard installations. If @idoodler doesn’t think it will work, it probably won’t. However, you could always try for yourself.
-
@mykle1 I am currently unable to test it. I quickly checked your code on my phone, but I didn‘t quite got your code :flushed_face:
I am curious, how did you make the voice recognition?