从自动启动加载时 chromium 无响应 (Raspian Bullseye)
我从自动启动启动 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论