-
Notifications
You must be signed in to change notification settings - Fork 252
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
! Important: loginscreen after ~30min -> piSignage not usable anymore! #252
Comments
These are the processes that run when the login screen appears
|
Is there any new information on this issue yet? |
Have you burned the image to the sd card with pi imager? If so, did you use the extra settings to add wifi and ssh credentials while burning the image? I did that too and had to log in each time the pi booted. But after doing a fresh install, (download the image again because the already present image is now corrupted), the pi logs in automatically. |
Hey @mano1979 👋 |
I even wrote a script that simulates user input via pressing keys and moving the mouse. The tool is called ydotool. |
@mano1979 do you have the newest piSignage version running? And do you get the logout screen after a certain time? |
Okay new Info:
in both cases the login screen appears after 30 min. |
Hi We have observed when weblinks are used session getting closed and hence it goes back to login screen as bookworm has 2 users account (pi & root). We are actively monitoring the issue and working. Sometime the issue appears when you aplly the following commands (first one is to bring the OS up to date abd second one is to indicate HDMI is always connected) Can you try if these help you? sudo apt update && sudo apt -y full-upgrade & |
I already tried > |
And when i do sudo sed -i 's/$/ vc4.force_hotplug=0/' /boot/firmware/cmdline.txt |
It needs reboot after the command, if it still persists, till we solve, can you use 5.1.0-legacy if it is Pi 4? |
Yes i did reboot it in between. |
Ah nope my bad, id did not work either |
I wonder why and where this comes from... |
This is very similar to the issue I had where it needed a password on every reboot. |
Thanks for the info, but that did not help. I tried it already |
I don't get the sign in screen on reboot, but after 30min |
I'm really curious where this process is being generated from. Maybe check the crontab? Does lightdm have any useful messages in /var/log? |
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log |
This is in the forever out log, when the greeter appears 2024-04-02T08:19:59: (chromium-browser:21847): Gtk-WARNING **: 08:19:59.379: Theme parsing error: gtk.css:5:116: 'height' is not a valid property name |
Thanks for that output, I have a few PiSignage devices on the latest 5.X version and I haven't been able to re-create the issue. What does your playlist look like/what type of content does it contain? |
It's just some webpages that are served on a locally running nginx. It is a compiled Vue project with routing. |
EDIT: It's been about an hour and the sign is still going strong. Maybe give this a try This is a REALLY stupid workaround and might not even solve the core issue, but here's what I'm testing right now:
Basically just disabling the greeter altogether. I already confirmed the player still boots normally with this change and currently have it cycling through a few selfhosted web pages. I'll update once I hit the 30-minute timer |
Hi @Quietscher We are actively working on this issue. Can you try the following?
This should autologin pi user and also prevent Chrome from throwing Invalid user/auth errors.
This should prevent the greeter UI from showing up. Please let us know if this solves the issue. We will be testing the same too. Thank you for all your previous debug logs and patience. |
Ok I'll first try @AbhijithBn approach, i will let you know about the results. Afterwards if the problem still occurs i will try your approach @stormvansoldt. Thanks for now! |
Also btw, can you add an option to set the cursor position? at the moment it is centered on the screen (but invisible) and therefore it triggers a hover effect on my website that i am showing, that should not occur. |
Ok with @AbhijithBn Solution the screen now just turns black after 30min |
ah okay @stormvansoldt solution is the same as @AbhijithBn solution: I am sorry but it does not work as intended. the screensaver might be gone, but now the screen is just black by itself |
The Asset cant cause the issue. The assets did not change between the versions. They are Weblinks (CORS supported). |
Is there any chance we can get those links to test here? |
Okay yesterday it happened again. But that must have been after 6h or more |
OK so, I cant ssh to it anymore, I cant open the terminal even with a keyboard connected to the pi, the picture is frozen and the Pi 5 lamp that is usually shining in bright green is shining less but still a little green. The fan spinns, but not constant, it seems to try to process sth. |
The only way I can get out of this by now is by unplugging the Pi from the powersource and replugging it in. This seems like a major bug. |
Before you unplug the power supply can you try the following?
|
Please read. |
It is still connected to your open-source server right? |
The pi is not connected |
Is this possible Can you keep your Player connected to pisignage.com instead of open-source server while we figure out this issue? |
The assets can't be a problem. They did not change. |
Here it is written, what the Signage should present |
Does this help? Do you have an Idea where the problem is buried? 😅 I did not change anything but upgraded the system to the 5.1.2 version. |
5.1.4 should address this issue or a simple Raspberry OS update and upgrade as explained in https://forums.raspberrypi.com/viewtopic.php?p=2211369 |
It's updated now, ill let you know if the issue still persists. |
HI @Quietscher |
The cursor just triggers hover effects |
because its in the middle of the screen |
We are not able to replicate it at our end. A video would help us in figuring out the issue. |
Is it possible to remove the hover listener on the element via code? |
|
Imagine Users displaying Websites, in any case you dont want to have the cursor triggering any effects in the center of the screen |
Not sure if we can do anything about it at the moment. So please disable hover effects in your website design by disabling event listeners. That should solve this issue. |
I know. |
Let us know if any of those libraries work for you 😁 |
Also, we hide the cursor using wayfire plugin |
That's not what I am talking about. |
Morning!
After about 30 min, the greeter appears and is overlaid on top of piSignage.
Therefore, the Signage is not usable anymore.
System:
sudo apt update; sudo apt -y full-upgrade
More information:
It seems to be the same problem as in ISSUE, but the issue's naming is misleading.
We tried to solve the issue by ourselves but couldn't fix it.
We found out:
-> On the internet there are dozens of solutions for X11 but barely for Wayland
-> the configs (LightDm, freedesktop, wayfire.ini ...) seemed to be already set correctly, but still the greeter appears
Resources we found, but that couldn't solve the problem:
- Further to this topic [https://forums.raspberrypi.com/viewtopic.php?p=2175546#p2175546](https://forums.raspberrypi.com/viewtopic.php?p=2175546#p2175546)
Please let me know if other information is required or if you found a fix.
The text was updated successfully, but these errors were encountered: