OpenMediaVault-Plugin-Developers / installScript

script that installs omv-extras and openmediavault if not installed already.
1.07k stars 206 forks source link

Doesn't work on a freshly installed raspbian, complains I would have a "desktop environment". #99

Closed dg1sek closed 2 years ago

dg1sek commented 2 years ago

When trying to run this script as explained in the guide, I get an error message saying that I shouldn't run this on a "desktop environment". But my raspberry pi isn't a "desktop environment", I exclusively use it remotely with ssh. It simply is a freshly installed raspbian 64bit... How do I disable the "desktop environment" (and what is meant by this? The graphical UI maybe?)

`dg1sek@raspberrypi3b:/opt $ sudo wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash --2022-06-06 17:42:28-- https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install [following] --2022-06-06 17:42:28-- https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8002::154, 2606:50c0:8003::154, 2606:50c0:8000::154, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8002::154|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 19620 (19K) [text/plain] Saving to: ‘STDOUT’

2022-06-06 17:42:28 (11.9 MB/s) - written to stdout [19620/19620]

This system is running a desktop environment! Please use a Lite version of the image or do not choose to install a desktop environment. This install is not supported. Search the forum for more info - https://forum.openmediavault.org Exiting... `

ryecoaaron commented 2 years ago

You must not have used the Raspbian 64 Lite image. The script is finding a display manager and that is why it is exiting. The following line will show you the package(s) you need to remove.

dpkg -l | grep -Ew "gdm3|sddm|lxdm|xdm|lightdm|slim|wdm"