How to disable the Raspberry Pi Desktop
root@rpi-iot-jsho-snort-02:~# raspi-config
1 System Options Configure system settings
S5 Boot Select boot into desktop or to command line
B1 Console Text console
How to start the Raspberry Pi Desktop