Jump to content

Raspberry Pi: Difference between revisions

From Squirrel's Lair
Ttenbergen (talk | contribs)
Ttenbergen (talk | contribs)
Line 24: Line 24:


==== start ====
==== start ====
* vncserver :1 -geometry 1024x720 -depth 24
* ''' manually: ''' vncserver :1 -geometry 1024x720 -depth 24
* see [http://www.penguintutor.com/linux/tightvnc] to automate last step...
* automatically (see [http://www.penguintutor.com/linux/tightvnc] and [http://learn.adafruit.com/adafruit-raspberry-pi-lesson-7-remote-control-with-vnc/running-vncserver-at-startup]
):
** cd /home/pi
** cd .config
** mkdir autostart
** cd autostart
** nano tightvnc.desktop
    [Desktop Entry]
    Type=Application
    Name=TightVNC
    Exec=vncserver :1
    StartupNotify=false
** close and save (ctrl-X and then Y)


==== Connecting from PC ====
==== Connecting from PC ====

Revision as of 12:33, 2014 January 1

setup

image card

initial settings

  • expand ...

setup wireless networking

  • sudo nano \etc\network\interfaces

connect

  • see assigned IP address during Pi boot
  • using Putty
  • ssh pi@192.168.2.X

run updates

  • sudo apt-get update

setup VNC[1]

setup

  • sudo apt-get install tightvncserver
  • tightvncserver
  • reboot

start

  • manually: vncserver :1 -geometry 1024x720 -depth 24
  • automatically (see [2] and [3]

):

    • cd /home/pi
    • cd .config
    • mkdir autostart
    • cd autostart
    • nano tightvnc.desktop
   [Desktop Entry]
   Type=Application
   Name=TightVNC
   Exec=vncserver :1
   StartupNotify=false
    • close and save (ctrl-X and then Y)

Connecting from PC

  • install TightVNC [4]
  • connect to 192.168.0.1**:1

other links