Python Programming for Raspberry Pi, Sams Teach Yourself in 24 Hours

(singke) #1
boot_behaviour Start desktop on boot?
update Try to upgrade raspi-config
<Select> <Finish>


  1. Press the down-arrow key four times, until you reach the change_pass menu
    option. Press the Enter key.

  2. You should now be at a screen that states, “You will now be asked to enter a new
    password for the pi user.” Press the Enter key.

  3. When you see the Enter new UNIX password: at the bottom left of your
    display screen, enter a new password for the pi account and press Enter. (Make it at
    least eight characters long and a combination of letters and numbers.) Again, as you
    type in the new password, you do not see it onscreen.

  4. When you see the Retype new UNIX password: prompt at the bottom left of
    your screen, again type in your new password for the pi account at the prompt and
    press the Enter key. If you typed in the password correctly, you will get a screen that
    says Password changed successfully. In this case, press the Enter key to
    continue.

  5. If you did not type in the password correctly, you get the message There was an
    error running do_change_pass. In this case, repeat steps 18–21 until you
    succeed.

  6. Back at the main Raspbian configuration (raspi-config) menu screen, press the
    Tab key to highlight the selection and press the Enter key to leave the
    menu.

  7. In the lower-left corner of the display screen, you should now see that you are back
    to the Raspbian prompt. At the Raspbian prompt, type sudo poweroff and press
    the Enter key to log out of your Raspberry Pi and gracefully power it down.
    Well done! You now know several Linux command-line commands. You can log in,
    move to subdirectories, list files that are in those subdirectories, and even do some
    management work, such as change your pi account password and reboot your system.


Interacting with the Raspbian GUI


When you boot your Raspberry Pi and log in, by default you go to the Linux command line. But
Raspbian also offers a graphical user interface (GUI).


To reach the GUI, you enter the command startx at the command-line prompt and press the Enter
key. The Lightweight X11 Desktop Environment (LXDE) starts up, providing you with the GUI shown
in Figure 2.1.

Free download pdf