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