Prevent Chromium auto-launch on boot (keep DWC running)
-
Hello everyone,
I'm using a Raspberry Pi with DuetPi and I want to stop Chromium from automatically launching when the system boots. However, I still want Duet Web Control (DWC) to be running in the background (accessible via localhost), so I don't want to disable
duetwebserver.service
.Here's what I've already checked:
I commented out
@launch-dwc
in both:
/etc/xdg/lxsession/LXDE/autostart
/etc/xdg/lxsession/LXDE-pi/autostart
I do not have a~/.config/lxsession/LXDE-pi/autostart
file.No duetwebcontrol.desktop in
/etc/xdg/autostart.
No launch-dwc call in .bashrc, .bash_profile, .xsession, .xinitrc, or .profile.
Yet, Chromium still launches automatically in full screen when the Pi boots.
I don't want to rename or override
/usr/bin/launch-dwc
, because I'd like to keep the system as clean and upgradable as possible.My question: Where else might launch-dwc be invoked from during startup, and how can I prevent it from launching Chromium while still keeping DWC active?
Thanks in advance for any suggestions!
-
Help please !!!
-
Check:
/etc/xdg/lxsession/LXDE-pi/autostart
~/.config/wayfire.ini
~/.config/labwc/autostart
It all depends on which windowing system you are using, X11, Wayfire, or Labwc
Per the smartypants gurus here:
https://forum.duet3d.com/topic/37316/sbc-rpi4-bookworm-3-5-4-disable-chrome-startup?_=1746822121050 -
@davidjryan Thank you for your response! It was really helpful and exactly what I needed. I appreciate you taking the time to help.