从自动启动加载时 chromium 无响应 (Raspian Bullseye)

发布于 2025-01-16 20:51:57 字数 630 浏览 5 评论 0原文

我从自动启动启动 chromium,它不会加载任何内容,不会加载本地主机页面,甚至不会加载外部页面。

浏览器窗口确实会启动,但它只是位于标签标题区域中并显示“正在加载”。最终它弹出“页面无响应”。如果我单击“等待”,它会继续加载而没有任何响应。如果我单击“退出”,我会收到 Aw Snap,错误 5 消息,如果我单击重新加载或 F5,那么它将最终加载。

从菜单启动浏览器没有任何问题

这是 Raspbian Bullseye 的所有更新,除了安装 Apache 和 PHP 之外没有其他修改。 这是来自 /etc/xdg/lxsession/LXDE-pi 的自动启动

#default
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
#added
@xset -dpms
@xset s noblank
unclutter -display :0 -noevents -grab
@chromium-browser --incognito --kiosk --disable-session-crashed-bubble --disable-infobars http://localhost/loadPlayer.php

I am launching chromium from the autostart and it will not load anything, not a localhost page or even an external page.

The browser window does launch, but it just sits there with "Loading" in the tab title area. Eventually it pops up with the "Page Unresponsive". If I click "Wait" it continues to load with no response. If I click "Exit" I get the Aw Snap, error 5 message, and if I click reload or F5 then it will finally load.

Starting the browser from the menu works without any problems

This is Raspbian Bullseye with all updates, and no other modifications other than to install Apache and PHP.
here is the autostart from /etc/xdg/lxsession/LXDE-pi

#default
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
#added
@xset -dpms
@xset s noblank
unclutter -display :0 -noevents -grab
@chromium-browser --incognito --kiosk --disable-session-crashed-bubble --disable-infobars http://localhost/loadPlayer.php

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文