본문 바로가기
C++ 200제/코딩 IT 정보

라즈베리파이2 - START X 자동 실행 (raspberry pi startx)

by vicddory 2018. 9. 23.

라즈베리파이2 - START X 자동 실행 (raspberry pi startx)


라즈비안 최초 실행 시 부트 옵션을 설정할 수 있습니다. 근데 이때, Desktop Log in as user 'pi' at the graphical desktop을 설정해 놓지 않으면, 계속 텍스트 모드로 진행이 될겁니다.


나중에 마음이 바뀌어 GUI로 로그인 하고 싶다면 이 부분을 다시 바꿔주시면 됩니다.


먼저 Light Display Manager를 실행시켜 줍니다.


1
/etc/init.d/lightdm start
cs


그리고,


1
sudo raspi-config
cs


위의 명령어로 라즈베리 파이 소프트웨어 설정 툴을 실행시킵니다.


라즈베리파이2 - START X[라즈베리파이2 - START X 자동 실행 (raspberry pi startx)]


raspberry pi startx[라즈베리파이2 - START X 자동 실행 (raspberry pi startx)]


이어서 3번,


1
Enable Boot to Desktop/ScratChoose whether to boot into a...
cs


Desktop Log in as user 'pi' at the graphical desktop를 선택하고 재부팅하세요.


raspberry pi startx 라즈베리파이2[라즈베리파이2 - START X 자동 실행 (raspberry pi startx)]


간단하죠?


라즈베리파이2 - START X 자동 실행 (raspberry pi startx)

댓글