Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Prevent Chromium auto-launch on boot (keep DWC running)

    Scheduled Pinned Locked Moved
    Duet Web Control
    2
    4
    70
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rkutunundefined
      rkutun
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • rkutunundefined
        rkutun
        last edited by

        Help please !!!

        davidjryanundefined 1 Reply Last reply Reply Quote 0
        • davidjryanundefined
          davidjryan @rkutun
          last edited by

          @rkutun

          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

          rkutunundefined 1 Reply Last reply Reply Quote 2
          • rkutunundefined
            rkutun @davidjryan
            last edited by

            @davidjryan Thank you for your response! It was really helpful and exactly what I needed. I appreciate you taking the time to help.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA