Andyroo
Posts: 3375
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Difference in RASPBIAN STRETCH WITH DESKTOP and RASPBIAN STRETCH LITE.

Sat Jun 08, 2019 1:45 am

JetForMe wrote:
Sat Jun 08, 2019 1:19 am
Does Raspbian Lite include Avahi, or some other way to find it to ssh into it? Or must I connect a keyboard and monitor?
Lite is fine to connect to the LAN or WLAN and just

Code: Select all

ssh pi@raspberry.local
or use your router to give you the IP address.

I have a set wpa_supplicant.config and a empty ssh file that I drop into the /boot folder after using Etcher, pop the SD card in and power on. After a couple of minutes at most it’s up and running and I SSH in to do the rest of the set-up.

Normally I have a ping raspberry.local running on my Mac to tell me when it’s up.

Edit: Meant to add - it is running Avahi from first boot.
Need Pi spray - these things are breeding in my house...

jahboater
Posts: 4464
Joined: Wed Feb 04, 2015 6:38 pm

Re: Difference in RASPBIAN STRETCH WITH DESKTOP and RASPBIAN STRETCH LITE.

Sat Jun 08, 2019 9:07 am

JetForMe wrote:
Sat Jun 08, 2019 1:19 am
Does Raspbian Lite include Avahi, or some other way to find it to ssh into it? Or must I connect a keyboard and monitor?
It includes ssh of course, I guess its mostly used headless.

User avatar
HawaiianPi
Posts: 4262
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Difference in RASPBIAN STRETCH WITH DESKTOP and RASPBIAN STRETCH LITE.

Sun Jun 09, 2019 2:01 am

JetForMe wrote:
Sat Jun 08, 2019 1:19 am
Does Raspbian Lite include Avahi, or some other way to find it to ssh into it? Or must I connect a keyboard and monitor?
Yes, avahi-daemon should be running by default.

Assuming the OS you are connecting from also supports mDNS/Zeroconf, and you don't have other Pi computers on your network with the same hostname, you should be able SSH into pi@raspberrypi.local (or pi@raspberrypi). I recommend you reserve an I.P. for each of your Pi computers in your router's DHCP settings, so that they will always have the same IP, regardless of what's on the SD card. Also, change the hostnames so that new Pi computers are easy to find.

Up-to-date versions of Windows 10 support mDNS and SSH/SCP from cmd.exe or Windows PowerShell, so you don't have to use PuTTY or install the Windows Subsystem For Linux any longer (but those still work, if you prefer them). There is also an SSH extension for Google's Chrome browser, and an SSH app for Chrome OS. Both work well (worth checking out).
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

User avatar
Douglas6
Posts: 4672
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Difference in RASPBIAN STRETCH WITH DESKTOP and RASPBIAN STRETCH LITE.

Sun Jun 09, 2019 2:18 am

Raspian lite may skimp on some Bluetooth functionality, like BlueALSA, just so ya know.

LTolledo
Posts: 1548
Joined: Sat Mar 17, 2018 7:29 am

Re: Difference in RASPBIAN STRETCH WITH DESKTOP and RASPBIAN STRETCH LITE.

Fri Jun 14, 2019 11:53 pm

TL/DR
Maybe an "odd" question related to the topic

If I connect via ssh (ssh only), to any RPi running raspbian, how will I know if the installed raspbian is "Lite" or "Desktop" version.
is there a command to reveal the which version?
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

User avatar
rpdom
Posts: 14478
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Difference in RASPBIAN STRETCH WITH DESKTOP and RASPBIAN STRETCH LITE.

Sat Jun 15, 2019 5:56 am

LTolledo wrote:
Fri Jun 14, 2019 11:53 pm
If I connect via ssh (ssh only), to any RPi running raspbian, how will I know if the installed raspbian is "Lite" or "Desktop" version.
is there a command to reveal the which version?
Not easily. The only difference between the versions is the software that is pre-installed.

I suppose you could check to see if certain desktop software is installed. There are a few commands that will do this.

Code: Select all

pi@raspberrypi:~ $ dpkg -l lxde
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version        Architecture   Description
+++-===================-==============-==============-===========================================
ii  lxde                9+rpi1         all            Metapackage for LXDE
The "ii" means the software is installed. Or...

Code: Select all

pi@raspberrypi:~ $ apt policy lxde
lxde:
  Installed: 9+rpi1
  Candidate: 9+rpi1
  Version table:
 *** 9+rpi1 500
        500 http://archive.raspberrypi.org/debian stretch/ui i386 Packages
        500 http://archive.raspberrypi.org/debian stretch/ui amd64 Packages
        100 /var/lib/dpkg/status
     9 500
        500 http://ftp.debian.org/debian stretch/main i386 Packages
        500 http://ftp.debian.org/debian stretch/main amd64 Packages
"
The "Installed:" line shows that the software is installed. On a "Lite" system (that hasn't had the desktop manually installed), it will show "Installed: (none)".

Actually, probably the best package to check is "raspberrypi-ui-mods", as installing that does most of the work of upgrading "Lite" to the "Desktop" version.

Arikania
Posts: 15
Joined: Tue Sep 11, 2018 6:44 am

Re: Difference in RASPBIAN STRETCH WITH DESKTOP and RASPBIAN STRETCH LITE.

Sun Jun 16, 2019 6:21 am

Why does my Raspbian Stretch Lite (i.e. headless) install and require superfluous stuff?

- Gnome
- LightDM
- X11
- Chromium browser
- LibreOffice
- icons


I get errors when I disable those. How to get a pure, clean install without all this extra stuff?

User avatar
rpdom
Posts: 14478
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Difference in RASPBIAN STRETCH WITH DESKTOP and RASPBIAN STRETCH LITE.

Sun Jun 16, 2019 10:55 am

Arikania wrote:
Sun Jun 16, 2019 6:21 am
Why does my Raspbian Stretch Lite (i.e. headless) install and require superfluous stuff?

- Gnome
- LightDM
- X11
- Chromium browser
- LibreOffice
- icons


I get errors when I disable those. How to get a pure, clean install without all this extra stuff?
It doesn't. Either you have installed the full version, or you have installed something that requires/recommends those packages. I always disable the "recommends" option on the package manager.

User avatar
HawaiianPi
Posts: 4262
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Difference in RASPBIAN STRETCH WITH DESKTOP and RASPBIAN STRETCH LITE.

Sun Jun 16, 2019 9:25 pm

rpdom wrote:
Sun Jun 16, 2019 10:55 am
It doesn't. Either you have installed the full version, or you have installed something that requires/recommends those packages. I always disable the "recommends" option on the package manager.

Agreed. My headless systems running Raspbian Lite have none of that installed.

Code: Select all

hawaiianpi@CreeperPie:~ $ apt policy gnome lightdm xorg chromium-browser libreoffice
gnome:
  Installed: (none)
  Candidate: 1:3.22+3+b2
  Version table:
     1:3.22+3+b2 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
lightdm:
  Installed: (none)
  Candidate: 1.18.3-1
  Version table:
     1.18.3-1 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
xorg:
  Installed: (none)
  Candidate: 1:7.7+19
  Version table:
     1:7.7+19 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
chromium-browser:
  Installed: (none)
  Candidate: 72.0.3626.121-0+rpt4
  Version table:
     72.0.3626.121-0+rpt4 500
        500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
libreoffice:
  Installed: (none)
  Candidate: 1:5.2.7-1+rpi1+deb9u7
  Version table:
     1:5.2.7-1+rpi1+deb9u7 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
hawaiianpi@CreeperPie:~ $
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

datamgmt
Posts: 1
Joined: Mon Jun 10, 2019 10:29 pm

Re: Difference in RASPBIAN STRETCH WITH DESKTOP and RASPBIAN STRETCH LITE.

Wed Jun 19, 2019 11:35 pm

Hi - I came looking for a more detailed answer and not finding one decided to do some research myself

I installed the following (in turn):

April 2019; Release date:2019-04-08; Kernel version:4.14

Raspbian Stretch with desktop and recommended software
Raspbian Stretch with desktop
Raspbian Stretch Lite

Then I updated the packages to the latest versions with

apt-get -y update --no-install-recommends # Gets the latest version of the apt catalog
apt-get -y dist-upgrade --no-install-recommends # Updates all the packages to the most recent version (always added no net new packages)
apt-get -y autoremove --no-install-recommends # Removes any obsolete packages (always returned no removals)

As a result there are:

Packages - Version
1465 - Raspbian Stretch with desktop and recommended software
1229 - Raspbian Stretch with desktop
905 - Raspbian Stretch Lite after running 'apt install raspberry-ui-mods'
453 - Raspbian Stretch Lite

Data correct as of 23:40 BST 19-June-2019

Packages in Lite:
Full List: https://pastebin.com/mwXFP4bd

Packages in lite with raspberrypi-ui-mods:
Full List: https://pastebin.com/NFmgs8DZ

Packages in Desktop:
Full List: https://pastebin.com/75YUBpFV

Packages in Full:
https://pastebin.com/nGsPgafB

And this guide gives lots of useful information on config low resource usage guide
viewtopic.php?t=133691

Return to “General discussion”