mirror of
https://github.com/debloper/xiosk.git
synced 2026-04-26 21:35:51 +03:00
[GH-ISSUE #77] Force closing chromium makes PiOSK unable to relaunch. #62
Labels
No labels
bug
bug
documentation
enhancement
enhancement
feature request
good first issue
good first issue
help wanted
invalid
priority: high
priority: low
priority: medium
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/xiosk#62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jussihi on GitHub (May 9, 2025).
Original GitHub issue: https://github.com/debloper/xiosk/issues/77
After killing chromium with
killall chromium, PiOSK won't start chromium ever again, even after a reboot.Removing chromium's singletonlock file seems to help:
rm -rf ~/.config/chromium/SingletonLockSome others have had similar problems:
https://github.com/puppeteer/puppeteer/issues/4860
Maybe add this to the runner before launching chromium?
@debloper commented on GitHub (May 12, 2025):
Thanks for the report (and the fix).
Not quite sure the course of action.
I'm keeping this issue open for now.
@jeffsilverm commented on GitHub (Jun 22, 2025):
The error message is more helpful than most error messages, but not quite helpful enough. The error messages are:
It would be nice if the error message specified precisely what file to delete or how to unlock the profile. In my case, I used the
find(1)command to find the SingletonLock file (and several variants of its spelling) with no obvious hits.I am running Chromium version 137.0.7151.103 snap on Ubuntu 24.04.2 LTS.
Uninstalling and reinstalling chromium using snap cleared the problem, but I do not recommend this solution unless all else fails. Once that was done, I tried started chromium 3 times and could not reproduce the failure.
What I would like is for the error messages to be more specific: what command does the user use to "unlock the profile", please? Thank you.
@debloper commented on GitHub (Jul 3, 2025):
Don't login to chromium or sync with existing profiles.
Use a fresh/clean profile.
Instead of reinstalling, I think (but haven't verified) that you could simply log out of your chromium profile, and that should have fixed the issue.
Still keeping it open for verification.
@jeffsilverm commented on GitHub (Jul 4, 2025):
I am unable to reproduce the problem. Could the error message be made clearer, please?
@debloper commented on GitHub (Jul 4, 2025):
@jeffsilverm sorry for not clarifying in my previous message... the error you've mentioned is from Chromium, and not from PiOSK.
If I were in your shoes, I'd either kill chromium (PID 10233) on hostname
frmwk16or, log out of the Chromium profile from the Pi where you're trying to run PiOSK on.Again, this is unrelated to PiOSK. This is Chromium trying to keep its profile data integrity in check by not allowing multiple instances of the profile simultaneously from your Framework Laptop and the Raspberry Pi.