This is my raspberrypi thin client.  I set it up to boot to console, automatically login, execute a script to launch rdesktop to connect to the windows virtual machine. 

First I used win32diskimager to extract RASPBIAN iso to an sd card.  Then I insert the sd card into the pi and let it boot.  From there, I Expand the fileSystem, change the password. 

Then I select
Internationalisation Options ,
Change Locale.  Then I select only
en_US.UTF-8UTF-8 After I hit next (I think), I hit select none and finish (I think). 

Change timezone and select your timezone by following the prompts. 

Now we need to change keyboard layout to a us keyboard.  If you skip this step, it will mess stuff up.  Click
Change Keyboard Layout select
Generic105-key(Intl)PC then next, select
other next
English(US) next
English(US) next
The defaultforthe keyboard layout next
No compose key next
no then finish. 

Now its time to overclock.  Click
OverClock click ok then
Pi2

After overclocking, we need to force audio out of the audio jack and not through the hdmi port because I’m using an monitor.  Click
Advance Options click
Audio then click
Force3.5mm(‘headphone’)jack finish. 

Go back to
Advance Options and click
Update When its done, click finish and reboot. 

sudo su to make this simpler. 

First, let’s edit the boot config to adjust video and overclocking. 

sudo nano/boot/config.txt

Uncomment and update the following. 

Shell

1

2

3

4

5

6

7

8

9

disable_overscan=1

hdmi_group=1

hdmi_mode=16

#overclock the cpu

arm_freq=1100

Now increase the voltage to increase the stability of the pi

Shell

1

over_voltage=8

now add these to the bottom

Shell

1

2

3

4

5

6

7

gpu_freq=450

gpu_mem=500

framebuffer_depth=32

framebuffer_ignore_alpha=1

Now reboot.  When it boots,
sudo su then we need to install rdesktop as our rdp client. 

apt-getinstall rdesktop

And now we need to allow auto login. 

Shell

1

nano/etc/inittab

Then find the line that looks like
1:2345:respawn:/sbin/getty--noclear38400tty1 and comment it out.  Then right below it, add
1:2345:respawn:/bin/login-fpi tty1</dev/tty1>/dev/tty12>&1 Reboot and see if it works. 

Now we need to create a login script that will automatically launch the remote desktop application. 

Shell

1

2

3

cd~

sudo nano loginScript

then copy and paste the following.  Replace rivver.com with the ip adress (or whatever) of your rdp server.