Page 1 of 1

Remove GUI (NOOBS)

Posted: Fri Feb 14, 2020 9:11 pm
by funkytwig
Hi. I got my NOOBS from RS (https://uk.rs-online.com/web/p/sd-cards/1360148/) and it just started up with GUI, no option to just install server flavour.

So How do I remove all the GIU components and associated stuff? Googleing led me to try

$ sudo apt-get remove --purge x11-common

But I got

The following information may help to resolve the situation:
The following packages have unmet dependencies:
ant : Depends: default-jre-headless (>= 2:1.8) but it is not going to be installed or
java8-runtime-headless
ca-certificates-java : Depends: default-jre-headless but it is not going to be installed or
java8-runtime-headless
libxt6 : Depends: libice6 (>= 1:1.0.0) but it is not going to be installed
Depends: libsm6 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

And

$ sudo apt-get --purge remove "x11-*"

Gave me more errors.

Any ideas?
Ben

Re: Remove GUI (NOOBS)

Posted: Fri Feb 14, 2020 9:22 pm
by GlowInTheDark
1) Why bother? Easiest is just to config it to boot to command line and just pretend the rest of the stuff isn't there. It won't hurt you. Seriously.

2) Next best option is just to use NOOBS to install Raspbian Lite. This wipes out your existing OS(es), but that doesn't sound like it would be a hardship in your situation.

Re: Remove GUI (NOOBS)

Posted: Fri Feb 14, 2020 9:29 pm
by B.Goode
funkytwig wrote:
Fri Feb 14, 2020 9:11 pm
Hi. I got my NOOBS from RS (https://uk.rs-online.com/web/p/sd-cards/1360148/) and it just started up with GUI, no option to just install server flavour.

So How do I remove all the GIU components and associated stuff? Googleing led me to try

[...]

Any ideas?
Ben

A misunderstanding, maybe.

NOOBS is an Installer intended to help beginning users install a full Operating System - such as the Raspberry Pi recommended and supported Raspbian Buster Operating System.

So NOOBS is inherently a GUI by design. It makes no sense to try to remove the GUI components.


If you simply want a 'server' (non-GUI) installed Operating System you should probably be looking at the download from Raspberry PI entitled Raspbian Buster Lite from here https://www.raspberrypi.org/downloads/raspbian/ and install it directly to your microSD card using a tool such as balenaEtcher, as documented here: https://www.raspberrypi.org/documentati ... /README.md

Re: Remove GUI (NOOBS)

Posted: Fri Feb 14, 2020 10:47 pm
by Moonmarch
Before you start installing OS images on a SD card you will need a SD card reader I use a SD card to USB adapter you should be able to purchase at a electronics store for around $20 or you can purchase from a online store which will be cheaper you decide, after you have access to the SD card reader you will be able write the OS image to the SD card using BalenaEtcher which is the problem free approach safe for anyone, I use the DD command using the Raspbian terminal to write the OS image to SD card which is a approach I recommend to advanced users the DD command can be hit or miss, I did not see any problems with the OS after using BalenaEtcher if you are using the DD command be careful.

Check the Raspberry Pi downloads page you will see several different operating systems that will be compatible with the Raspberry Pi computer here is a link to the Raspberry Pi downloads page, and a link to a article that contains a list of RPI operating systems:

Raspberry Pi Downloads - Software for the Raspberry Pi
https://www.raspberrypi.org/downloads/

The 20 Best Raspberry Pi OS Available to Use in 2020
https://www.ubuntupit.com/best-raspberr ... available/

Re: Remove GUI (NOOBS)

Posted: Sat Feb 15, 2020 7:01 am
by rpdom
Moonmarch wrote:
Fri Feb 14, 2020 10:47 pm
Before you start installing OS images on a SD card you will need a SD card reader I use a SD card to USB adapter you should be able to purchase at a electronics store for around $20 or you can purchase from a online store which will be cheaper
Ouch! That's expensive!

Luckily I have a laptop with a built-in SD card slot that works with every card I've tried it with so far. Before I had that I used a USB card reader that I bought from a local "Pound" store for £1 (currently worth about $1.30). That worked well with every card I had at the time.

Re: Remove GUI (NOOBS)

Posted: Sat Feb 15, 2020 9:08 am
by GlowInTheDark
You shouldn't need to do any of this "Etching" stuff or any other downloading.

The beauty of NOOBS/PINN is that if you need to re-install, it's all right there - no need to go out to the net and get stuff again.

So, all you need to do is to boot up into NOOBS/PINN and select "Raspbian Lite" as the OS to install. Install it and enjoy!

Re: Remove GUI (NOOBS)

Posted: Sat Feb 15, 2020 9:28 am
by fruitoftheloom
funkytwig wrote:
Fri Feb 14, 2020 9:11 pm
Hi. I got my NOOBS from RS (https://uk.rs-online.com/web/p/sd-cards/1360148/) and it just started up with GUI, no option to just install server flavour.

So How do I remove all the GIU components and associated stuff? Googleing led me to try

$ sudo apt-get remove --purge x11-common

But I got

The following information may help to resolve the situation:
The following packages have unmet dependencies:
ant : Depends: default-jre-headless (>= 2:1.8) but it is not going to be installed or
java8-runtime-headless
ca-certificates-java : Depends: default-jre-headless but it is not going to be installed or
java8-runtime-headless
libxt6 : Depends: libice6 (>= 1:1.0.0) but it is not going to be installed
Depends: libsm6 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

And

$ sudo apt-get --purge remove "x11-*"

Gave me more errors.

Any ideas?
Ben

Use the NoobS Recovery Option to install Raspbian Buster Lite in place of Raspbian Buster with Desktop:

https://github.com/raspberrypi/noobs/bl ... /README.md

Re: Remove GUI (NOOBS)

Posted: Fri Feb 21, 2020 7:44 pm
by funkytwig
Thanks everybody, just heading to the jungle with the Pi and running out of time. What I really would like isto stop running at startup to savememory.