How to setup CLI + browser only?


My project is based on Node-RED. So, I only need CLI and web browser, as I am trying to optimize power usage.

Currently, I am running Pi with minimal DietPi image. How can I set such a system?

Not sure what you mean by setting up kernel. Each and every system has a kernel, otherwise it would not work? There is no need to do anything on this.

For the browser you could instal Chromium only. This should allow to run on kiosk mode.

I meant CLI.

So even if there is only CLI, browser will open?

installing Chromium only, will automatically pull/install all required components to open the browser on CLI as well. Even without being on a full desktop. That’s the so called kiosk mode for Chromium.

Thanks for the clarification.

When I try to run the browser I am getting the following errors:

root@DietPi:~# chromium-browser
/usr/bin/chromium-browser: line 134: lsb_release: command not found
/usr/bin/chromium-browser: line 135: lsb_release: command not found
dpkg-query: no packages found matching bluealsa
Trace/breakpoint trap

I have found some lead in Pi forums, will update here If I can fix.

pls share some more details on your system

Required Information

  • DietPi version | cat /boot/dietpi/.version
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • Kernel version | uname -a
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)

OP opened a duplicate issue on GitHub