Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I accidentally selected the option of booting to terminal during the initial configuration, now I have to type startx to get the desktop environment, how can I get it to boot to desktop GUI automatically?
Open up a terminal and type:
$ sudo raspi-config
This is a duplicate question, see full answer here: Boot without starting X-server