Note: Setup remote desktop
I do not have a computer monitor and connected therefore my Raspberry Pi to a television. It is impractical to develope on a television. I quickly got a need to connect remotely. It’s also handy later when Raspberry Pi is mounted inside the camera.
Install xrdp
$ sudo apt-get install xrdp
There is no need to do anything else.
Tweaking xrdp
You can tweak the xrdp
$ sudo nano /etc/xrdp/xrdp.ini
Connect from Windows
Connect to the Raspberry Pis IP-adress. By default:
Username: pi
Password: raspberry
Set up keyboard
Since I’m Norwegian I wanted the Norwegian keyboard layout. These commands have to be run directly on the Raspberry Pi (not through remote desktop).
$ setxkbmap -layout no $ sudo xrdp-genkeymap km-0414.ini
Problems with arrows and some characters?
I had some problems with arrows and some characters like @. The sollution was to download a copy of km-0414.ini made by Tomislav Plečko and overwrite my own. You can find it here: http://eurekamoment.eu/?p=144