guysoft / FullPageOS

A raspberrypi distro to display a full page browser on boot
GNU General Public License v3.0
3.78k stars 227 forks source link

Chromium not starting when hostname is changed #508

Open klenzel opened 3 months ago

klenzel commented 3 months ago

What were you doing?

Change Hostname in /etc/hostname

What did you expect to happen?

System is running fine with new Hostname

What happened instead?

Chromium is not starting. Instead, a black blank screen is displayed. If i turn back the Hostname to "fullpageos" an restart the system, the chromium-browser comes back.

Was there an error message displayed? What did it say?

dpkg-query: no packages found matching bluealsa [16685:16685:0129/042154.956623:ERROR:process_singleton_posix.cc(353)] The profile appears to be in use by another Chromium process (3746) on another computer (fullpageos). Chromium has locked the profile so that it doesn't get corrupted. If you are sure that no other processes are using this profile, you can unlock the profile and relaunch Chromium. [16685:16685:0129/042154.956957:ERROR:message_box_dialog.cc(146)] Unable to show a dialog outside the UI thread message loop: Chromium - The profile appears to be in use by another Chromium process (3746) on another computer (fullpageos). Chromium has locked the profile so that it doesn't get corrupted. If you are sure that no other processes are using this profile, you can unlock the profile and relaunch Chromium.

Version of FullPageOS?

2023-12-11-fullpageos-bookworm-armhf-lite-0.14.0 Same with stable Version.

Skifi commented 3 months ago

Hello, I had same problem. Try to google SingletonLock in chromium. I change hostname by script and this line solved my problem: rm -rf /home/pi/.config/chromium/SingletonLock

sense-design commented 3 months ago

Can confirm rm -rf /home/pi/.config/chromium/SingletonLock solves the problem for me too

guysoft commented 1 month ago

@sense-design we can add that fix to the wiki if you want.

sense-design commented 1 month ago

@guysoft, would be great, shall I create the change and do a pull request?

guysoft commented 1 month ago

@sense-design Sure, I think you can just edit the wiki. But if you only have access to a PR that could work too

sense-design commented 1 month ago

@guysoft, wiki change added.