Jump to content

Raspberry Pi: Difference between revisions

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


==== start ====
==== start ====
* ''' manually: ''' vncserver :1 -geometry 1024x720 -depth 24
''' manually: ''' vncserver :1 -geometry 1024x720 -depth 24
* 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]
 
):  
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 /home/pi  
** cd .config
* cd .config
** mkdir autostart
* mkdir autostart
** cd autostart
* cd autostart
** nano tightvnc.desktop
* nano tightvnc.desktop
     [Desktop Entry]
     [Desktop Entry]
     Type=Application
     Type=Application
Line 37: Line 37:
     Exec=vncserver :1
     Exec=vncserver :1
     StartupNotify=false
     StartupNotify=false
** close and save (ctrl-X and then Y)
* close and save (ctrl-X and then Y)


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

Revision as of 12:35, 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