View Single Post
Old 11-13-2012, 05:23 PM
ceptimus's Avatar
ceptimus ceptimus is online now
Join Date: Aug 2004
Location: UK
Default Re: Raspberry Pi discussion

If you only want to ssh to the Pi, then you don't need to connect an HDMI monitor, and you can still run a graphical desktop when you want by using a free VNC client such as RealVNC on a Windows box.

It's best if you have a fixed IP for the Pi - I have for the wired ethernet and when the Pi is connected via WiFi

sudo nano /etc/network/interfaces

iface eth0 inet static

iface wlan0 inet static

I think maybe ssh is enabled by default now, but on the old Debian release you had to do this just once to enable it:

sudo bash
ssh-keygen (press enter three times to accept defaults and blank passphrase)
service ssh start
sudo update-rc.d ssh defaults (this makes the daemon auto run at startup)

From Windows, I use PuTTY to ssh to the Pi for a console. To use a graphical desktop you need to install vncserver on the Pi; you only need to run the following two lines once

sudo apt-get install tightvncserver
tightvncserver (supply password twice, No to 'read only' password)

Then whenever you want to fire up a graphical interface you first enter the command on the pi (via ssh I guess):

vncserver :1 -geometry 1360x768 -depth 16 -pixelformat rgb565

(I made a script for this so I don't have to type it in each time)

You then use RealVNC viewer to connect to

It works surprisingly well - fast and slick. Better than cluttering up your desk with two keyboards, mice and monitors when you need to have a full sized PC running too.
Reply With Quote
Thanks, from:
Ensign Steve (11-13-2012), lisarea (11-13-2012), SR71 (11-25-2012), viscousmemories (11-30-2012)
Page generated in 0.07312 seconds with 11 queries