Raspberry Pi: Change Password, Auto Login and Remote Desktop

I have already given tutorial for RaspberryPi First Installation and Boot.  Let’s go with advance configuration of RasPi.

Things to do after 1st boot of Raspberry Pi

 

1. Changing Default Password

Open terminal and run following command

You will see following screen. Navigate using arrow keys and tab. Hit Enter to select .

raspi-config

 

On selecting Change User Password , Hit Enter to give new password.

2. Adding new user to Pi:

To add new user just run following command

It will create a new user and asks for password, Create password for new user here.

raspi-addUser

3. Raspi Auto Login to GUI without entering username/password

Run again following command and select Enable boot to Desktop/Scratch and select 2nd option

Auto-Login-GUI

 

Auto-Login using Command version

 Auto Start to GUI

 

4. Raspi Setup Remote Desktop from windows machine

Step 1:  In Respi open  terminal and run following command

It will install xrdp on respi, which will be automatically started on boot up. After installing xrdp, reboot your pi and you can verify in boot process, you can see following line

xrdp sesman

Step2: Open Remote control application from windows (Run –> mstsc) , Enter local IP of respi and proceed.

MS-RemoteDesktop

 

After successful connection xVnc will ask to authorize at raspberry pi

Respi-Sesman-xvnc

On successful login to xVnc you will see following screen and  then Raspberry pi on your another machine

raspi-remote-login

 

 

Control Raspberry Pi over SSH:  See this Tutorial

Leave a Reply

Your email address will not be published. Required fields are marked *