Difference between revisions of "Raspberry Pi - Week 3"

From Robert-Depot
Jump to: navigation, search
(using apt-get to install vncserver)
Line 21: Line 21:
 
**<code>vncserver :1</code>
 
**<code>vncserver :1</code>
 
**You will be prompted to set a password for people to login to the system with VNC. Decide on a password and enter it. Then reenter it. You can decline the offer to enter a view-only password.
 
**You will be prompted to set a password for people to login to the system with VNC. Decide on a password and enter it. Then reenter it. You can decline the offer to enter a view-only password.
 +
*Now you need to login from your remote machine.
  
  

Revision as of 09:48, 19 April 2013

Review

Connecting to the pi from a local computer with shh.

Graphical Interface through the Network

  • VNC, Virtual Network Computing:
In computing, Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the Remote Frame Buffer protocol (RFB) to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network. [1]
    • Remote Desktop.
  • You need a client and a server. The server runs on the raspberry pi. The client is on whatever machine you are connecting from.
  • We can install our vncserver through the raspbian package manager, apt-get.

using apt-get to install vncserver

  • apt-get, Advanced Packaging Tool:
works with core libraries to handle the installation and removal of software on the Debian GNU/Linux distribution and its variants. APT simplifies the process of managing software on Unix-like computer systems by automating the retrieval, configuration and installation of software packages, either from binary files or by compiling source code.[2]
  • apt-get is is included with the raspbian operating system, by default.
  • While logged in as a user with Super User (su) permissions.
  • First you want to update your package index with the most recent info from the source repositories.
    • sudo apt-get update
  • Now install the new software you want. In this case, we want tightvncserver. This is a VNC server for the raspberry pi.
    • sudo apt-get install tightvncserver
  • Answer the prompt about XYZ new files will be installed, "Y".
  • The package manager should download and install the appropriate files.
  • Check that it works. Start the VNC Server from the command line:
    • vncserver :1
    • You will be prompted to set a password for people to login to the system with VNC. Decide on a password and enter it. Then reenter it. You can decline the offer to enter a view-only password.
  • Now you need to login from your remote machine.


Installing Festival TTS with apt-get