Installing Ubuntu on a Raspberry Pi

Source: Internet
Author: User
Tags tightvnc

First download Ubuntu,

3: ubuntu-16.04

Extract files to get close to 4G image file

Add an SSH text document. Login ID and password are: Ubuntu

Change Password

Add VNC Interface Remote control: First update the software library and download VNC

sudo apt-get update
sudo apt-get install Tightvncserve

Start VNC

Tightvncserver

Set VNC boot up and edit with nano text editor:

sudo nano/etc/init.d/tightvncserver

Enter the following command:

#!/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 Thisentry# 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

Modify VNCQ permissions and update boot list

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

Installing Ubuntu on a Raspberry Pi

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.