-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Black screen with logo on Debian #188
Comments
I just found this error in the Developer Tools Console of the chromium window TeleFrame runs in: still trying to find out what it means. but surely this is why the renderer is not running. |
okay, solution seems to be to set contextIsolation to false in main.js (after line 42) of TeleFrame, // Create the browser window. now it is running nicely! :) |
Hi @MikkoTervala, Hardware:
npm version 7.5.2, nodejs v12.22.12 pm2 log is:
|
Hi Lukas,
when I start up TeleFrame I only see the black screen with white TeleFrame logo.
My bot is connected, since I can see the response in Telegram window and I can see my sent images
being saved into TeleFrame images folder locally. Altough pictures come in, the screen stays black with white "TeleFrame", won't react to "Alt" key or mouse or keyboard input.
My config file worked before in a raspberry based TeleFrame.
What bugs me, is the log output, it never says "Renderer started", but stays like this:
lars@bananapim2ultra:~/TeleFrame$ DISPLAY=:0 npm start
2022-05-25T10:28:36.994Z [Main] info: Configuring for: Standard HDMI screen
2022-05-25T10:28:37.008Z [Main] info: Main app started ...
2022-05-25T10:28:38.284Z [Main] info: [AddonInterface] Load addons...
2022-05-25T10:28:38.293Z [Main] info: [AddonInterface] Initialize listeners...
2022-05-25T10:28:38.304Z [Main] info: [AddonInterface] Addons loaded
2022-05-25T10:28:38.382Z [Main] info: Add Admin-Actions
2022-05-25T10:28:38.386Z [Main] info: Bot created!
2022-05-25T10:28:38.479Z [Main] info: Bot started!
2022-05-25T10:28:38.945Z [Main] info: Using bot with name OmasFotoFrame_bot.
no logging info when a picture arrives, but still it is written into images folder. starting directly on the x-session (without DISPLAY=:0) does not change anything.
I tried different Debian Distros (Raspbian, Debian, Armbian) on a Banana Pi M2 Berry.
I tried Nodejs versions 8,10,12,14 and 16. I updated npm to the latest version and tried without this also.
I tried automatic script install and also manual. On some distros I manually had to chown root:root and chmod 4755 the chromium-sandbox binary
I am working on this for hours now. What is a working combination of software here?
What am I doing wrong? Seems like something electron-related to me.
The text was updated successfully, but these errors were encountered: