VNC remote Login Raspberry Pi GUI--VNC server installation and connection

Source: Internet
Author: User
Tags tightvnc download vnc viewer

To telnet to the Raspberry Pi GUI via vnc, the Raspberry Pi must have a VNC Server service installed on one side, and a few simple configurations are required to make the operation more convenient, as detailed steps below.

1. Installing the VNC server component--tightvncserver

sudo Install Tightvncserver

2. Set up a VNC password

vncpasswd

(Enter the operation password two times, then ask whether to set a view (view-only) password, as you like, generally not necessary. )

3. Set Boot up

sudo nano/etc/init.d/tightvncserver

Add the following content:

#!/bin/SH# # # BEGIN INIT info# provides:tightvncserver# Required-Start: $local _fs# Required-Stop: $local _fs# Default-start:2 3 4 5# Default-stop:0 1 6# Short-description:start/Stop tightvncserver### END INIT INFO # More details see:# http://Www.penguintutor.com/linux/tightvnc# # Customize This entry# Set the user variable to the name of the user to start Tightvncserver underexport USER='Pi'# # # END Customization required eval CD~$USER Case " $" inchStart ) # starts the command line.    Customize the resolution, console number, or other parameters here. su$USER-C'/usr/bin/tightvncserver-depth 16-geometry 800x600:1'    Echo "starting TightVNC server for $USER"    ;; Stop) # terminates the command line.    Here the console number is consistent with the start. su$USER-C'/usr/bin/tightvncserver-kill:1'    Echo "Tightvncserver stopped"    ;; *)    Echo "Usage:/etc/init.d/tightvncserver {start|stop}"Exit1    ;;EsacExit0

(Note: The default user of a few players is not pi, please change the name of the export user= ' pi ' in quotation marks to your user name.) )

Press Ctrl+x to answer Y (save) to exit the Nano editor.

4. Add the Execute permission to the Tightvncserver file and update the boot list

sudo chmod 755 /etc/init.d/tightvncserversudo update-rc.d tightvncserver defaults

5. Computer-side VNC Login Raspberry Pi GUI

>> Download VNC Viewer client: VNC viewer PC Client

>> Open the VNC Viewer client, input: Raspberry Pi ip:1 (e.g. 192.16.137.4:1)

>> Click OK to enter the Raspberry Pi vnc password set in step 2nd

>> Click OK to see the Raspberry Pi graphical interface

6. Mobile-side VNC Landing Raspberry Pi GUI

>> Download VNC Viewer client:VNC viewer Android mobile Client

>> Open the VNC Viewer client, click on the bottom left of the "+" number, address fill out the Raspberry Pi IP address, name fill in the account name (such as pi), Save password to the right of the tick, and then click on the bottom left corner "√" number, and finally click "Connect" You can see the following screen.

Reference: HTTP://SHUMEIPAI.NXEZ.COM/2013/09/04/LOGIN-RPI-WITH-VNC.HTML?VARIANT=ZH-CN

VNC remote Login Raspberry Pi GUI--VNC server installation and connection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.