Sunday, 1 November 2015

(Re)Setting up toto - ssh and vnc

k - the user login is pi, and now is std +1 on raspberry.  root has the same password.

Tried to update the installed Raspbian to the latest version.

Raspbian is now 3660MB , and the memory card only has a 3519MB capacity

Re-installed the 2014 Raspbian onto the card

using SDFormatter,  the image files stored in Downloads/Raspberry Pi and Win32DiskImager

(There was a problem getting the SD card or either of the two card readers to work, but eventually they did, and I uncompressed the image to D:\GrlTemp, then wrote it to the card.

I used the Pi-config boot tool to set the Pi name to toto, the pi user password, and to enable SSH.

 I installed tightvncserver
std psswd for VNC
the desktop is toto:1
tightvncserver set up a default startup script in /home/pi/.vnc/xstartup
with a log to /home/pi/.vnc/toto:1.log



success with logging in on VNC to toto

Each number for the window e.g. the 3 in "New 'X' desktop is toto:3" should be added to the 5900 base port, to get the port number for the session.   port 5900 only works if there is a :0 window.

To make the Maplin wireless mouse responsive on teh Pi, I had to:

add
usbhid.mousepoll=0

to /boot/cmdline.txt

And I had to be superuser to save the amended file - so I had to 
sudo nano /boot/cmdline.txt  

Putty is now set up on the PC to SSH in to toto.   At which point I can type vncserver in at the command prompt, and it will run, at which point I can VNC in to the Pi

VNC still does not work on bootup, but at least I do not ever need to connect toto up to the monitor, even after a reboot


No comments:

Post a Comment