Start the Desktop

Unlike in other operating systems, a desktop environment is optional on Linux. So, it’s not uncommon to have to start the environment manually. Alternatively, you can start a desktop environment automatically whenever the Pi boots. Choose Raspi-config’s Enable Boot to Desktop/Scratch menu item to enable this behavior. If you rarely use the command line, this is a convenient option. Otherwise, the Pi will greet you with the login prompt:

images/src/debian_login.png
Figure 14. The Raspberry Pi’s login prompt

After you’ve successfully logged in, you still won’t see much more than a boring shell prompt. Use the following command to start the desktop and see ...

Get Raspberry Pi, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.