Friday, May 17, 2013

RPi-TC ARMv6j Release 2 available!

Bug solved and feature added on this release:
- OpenNX: nxssh rebuilded and included
- Citrix Receiver: updated to v12.2.3
- Spice-XPI: added script to /usr/libexec to handle browser alternatives
- Intro video: desktop will be show as soon LXDE is ready (/root/
- Openbox menu: added keyboard and locales configuration
- ARMv6j repository: added gpg key and commented standard Debian sid repo
- Dual kernel/firmware: now included kernel-tuned, kernel-standard and rpi-firmware packages

Download available on my server here, in Google drive here and via torrent here.

Please, if you find a bug, please, send me some error log/how to reproduce, thanks ;)


  1. hi there!
    first of all: amazing work! thanks for your effort.
    i installed release 2 just a minute ago, but it seems that rdesktop is not working anymore.

    # rdesktop
    -bash: rdesktop: command not found

    did you forget something? did something change compared to release one? did i do something wrong?

    1. yep, forgot rdesktop :)
      you can install by: apt-get install rdesktop
      or re-download the file, i've re-update the image

  2. spice xpi plugin for Icewaesel doesn't work on oVirt 3.2 also. Tried RPI-TC ARMv6 and RPI-TC ARMv6 Release 2. Error is the same:
    "The spice firefox 2.9pre plugin crashed..."
    Sometimes there is a window that script in unresponsive.

    Tried the same with Internet Explorer on PC - works, so the ploblem is in the client.

    1. Could you please start Iceweasel from command line and tell me what they say when pluging crash?
      I'll create a new xpi tomorrow

    2. root@rpitc:~# iceweasel

      (process:1126): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed

      (plugin-container:1163): SpiceXPI-WARNING **: main client cmdline: /usr/libexec/spice-xpi-client
      /usr/libexec/spice-xpi-client: 2: export: LD:LIBRARY_PATH: bad variable name
      SpiceXPI-Message: Client with pid 0x48e exited

      (plugin-container:1163): SpiceXPI-CRITICAL **: could not get browser window, when trying to call OnDisconnected

    3. yep error on the spice-xpi-client script, edit: /usr/libexec/spice-xpi-client-remote-viewer (edit export LD: in LD_ and add export DISPLAY=:0)

      export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
      export DISPLAY=:0
      logger -t spice "starting remote-viewer --spice-controller $@..."
      env | logger -t spice
      exec remote-viewer --spice-controller "$@" 2>&1 | logger -t spice
      logger -t spice "remote-viewer execution failed"

    4. Changed that. Now everything works but sooo slowly that I even doubt it is usable at all.
      Is that I did something wrong? I read that GUI processing is done by slow CPU and not by fast GPU in Rasbian.

  3. Hi,
    i like your project. Is there any possibility to take a Screenshot in RPi-TC? I'm not that good in linux...


    1. You can use scrot: apt-get install scrot

  4. Good work! But what about the slowness of virt-viewer you can do something? Mouse pointer & graphic in general lag too much :/

    1. mmm i think i cannot change anything to improve virt-viewer performance, did you try spicy client?

    2. Thanks for your reply ;) Yes i did! But... no changes! :( I read somewhere that with a driver X might actually improve it, but I have no idea how to... I'm a newbie of this platform! Spice it's a very good way for replacing rdesktop-vrdp (with usb redirection) ;)

    3. You can try to use 720p res instead of 1080p and removing all remote desktop effects.
      there is no official x11 driver and the test driver didn't work so well

  5. Got the thing up and running. RDP works great. No issues with that.

    Is there a VNC client available?

    1. yep, you can use xtightvncviewer or remmina:
      apt-get update && apt-get install xtightvncviewer

  6. Please package a recompiled (current) rdesktop version with directfb support. This is the fastest way to work in a rdp session having rpi as a client and there is no need for a working X session.
    This is the missing piece since we can't rely on the development of working X driver.


    1. already working on it, please be patient :)

    2. Arggh.. i meant freerdp of course. rdesktop has no fb support available.

    3. Got it successfully running. Compiled it like

      but with some modifications.


      (-DARM_FP_ABI=hard has to be set in the current freerdp versions)

      Then i modified /boot/config.txt and /etc/directfbrc, /etc/fb.modes according to the blog entry.

      Still annoying to edit the modes each time you change the monitor. Full automated detection would be nice at this point ;)

    4. which version of libdirectfb you are using? The version i use compiled with freerdp (from git) give me some "cannot access" error, the git (1.7) just seg fault with dfreerdp but works with others directfb software...
      also, could you please send me the startup log of dfreerdp?


    5. tested with directfb 1.6.4 and 1.2, both with dfreerdp 1.0.1 and lastest git version. Maybe i've done something wrong but there is no visible performance improvment while testing rdp on my w8 pc

    6. I compiled it in stock wheezy (hf) with 1.0.1, 1.0.2 and the latest 1.1/master. I'm currently NA but i'll try to get access to my rpi later. Maybe I should mention, that it runs as root...

  7. Great work!

    Thanks for adding the locales support. What I'm still missing is setting the correct keyboard for the x-session. Currently I have to set it manually by setxkbmap command.

    I was able to use VMware View with the previous release, but now I have a strange issue that the keyboard and mouse is not received by the remote server. After connecting to the virtual desktop server I can see my session, but can't click or enter anything.
    I'm using the VMview 2.0 on Ubuntu 12.04 (32) without issue. Any idea what's going wrong on RPi version?

    1. Possibly found a gtk bug related to the VMware keyboard issue:

      But I don't understand how this could be applied to the RPi since the Thine Client doesn't seem to use any style.

  8. not able to launch RDesktop or XFreeRDP by double clicking the icons on the desktop or even from the context menu. RDesktop just opens a lxteminal which automatically closes. what am i missing. I even ran apt-get update and upgrade which finished sucessfully

    1. You have to modify the rdesktop or the xfreerdp icon exec link by right click on the icon then edit the parameter to fit your evironment

  9. At first, great work, its realy cool.

    But can you say me, how can I change the intro video?

    1. hi,

      previously, the readme said:

      - "boot loader" and desktop wallpaper are located in /root/ folder.


    2. jep, i know, but when i replace the "RPi-TC.m4v" file, there plays no video at boot.
      I want to know, where the command to play the video is. Maybe then i can change video format.

    3. you have to use a raw h264 video without any container
      h264 is the video player

    4. wow, thanks now it works.

  10. Hi,

    I love this project, been toying with it for a couple of weeks now. However, since the last update (Release 2) I can't get x11vnc to install anymore, I get the following every time :
    x11vnc : Depends: tk but it is not going to be installed
    Depends: libvncserver0 but it is not installable

    Any ideas? Or might there be a better VNC client available?

    Thanks in advance!

    1. Sorry I just saw xtightvncviewer does work above, however Remmina doesn't seem to work either.

    2. i'll take a look at remmina next days

    3. Nice thanks, no hurry!

      I've just noticed CUPS won't run either...It installs without any errors, but it won't run and I have the impression it doesn't even install it anywhere. Nothing to be found under /etc/init.d anyway...

    4. Any update with this? Having issues with x11vnc as well. Thanks

    5. yep, please give me 2-3 days i'll update the packages.

  11. Good work, this is exactly what I've been looking for. We have a VMView 5.1 setup and I can authenticate and browse available desktops but after selection the desktop tries to load and then the View Application window disappears. Any ideas?

  12. Hi, I tried vmware-view on r2, but I still receive same errore on r1 starting a session:
    May 24 10:53:39.107: vmware-view 1106| Starting child: vmware-view-usb '-a' '' '-p' '32111' '-u' '[omitted]'
    May 24 10:53:39.129: vmware-view 1106| Spawn of vmware-view-usb failed: Failed to execute child process "vmware-view-usb" (No such file or directory)
    May 24 10:53:39.130: vmware-view 1106| CdkViewUsb_OpenAllDesktops: opening channel to desktop agent using viewusblib, desktop="CN=Pool_AMM,OU=Applications,DC=vdi,DC=vmware,DC=int"
    May 24 10:53:39.130: vmware-view 1106| viewusblib: ViewUsb_InitialiseHandleHeader: 0xb515f0

    see my post on r1 and how to resolve.

    1. Hello Denis,

      Could you post a link to your solution on how to resolve the usb failure ? I cannot find it.

      Thank you

    2. Comment from Denis:
      I recovery the vmware-view-usb from a previous image.
      I publish the file .

      simply wget in /usr/bin and chmod +x .

      with this file I can use view client, but I can see still an error in the invocation of vmware-view-usb (view client works with no usb redirection)

  13. I am working for a not for profit charity which is looking at using raspberry pi's in a classroom environment to connect to Wandows Server 2008r2 windows terminal server. We would like to be able to have our students save their work on USB sticks, however we are not sure if the Thin Client Project build can handle the USB automounting/redirection. Isa there any way to do this at the moment or are you looking at integrating this feature in future builds. (P.S. - Keep up the good work - this is awesome/invaluable)

    1. Yes, you can use usbmount to automount every usb key you plug in raspberry pi and then run rdesktop with:
      '-r disk:rpiusb0=/media/usb0,rpiusb1=/media/usb1'
      in xfreerdp please refer to new command line params here:

  14. Doesn't seem to work with the 512MB boards

  15. I'm an developer working for a small buisness that is trying to get PCOIP working with the raspberry pi. My coworker who is currently building android on the raspberry pi, thinks that PCOIP can work without NEON, though all of my research seems to point to this being wrong. Do you have any contact information? I was hoping to get in touch with you to discuss this.



  16. Hi

    Amazing brilliant piece of work. Rdesktop works great for me. One question regarding USB sticks being access via the RPI's usb.

    I can get access to a usb inserted into the RPi by basically issuing the following commands (as the usb stick is always /dev/sda1 as displayed in dmesg)

    1. mkdir /media/usbstick
    2. mount -t vfat -o rw /dev/sda1 /media/usbstick
    3. rdesktop -u USERNAME -r disk:usbstick=/media/usbtick HOSTNAME

    and this seems to work but has to be done after each stick is inserted... Not too much of a hassle but would I be able to use usbmount to automount sticks?


  17. Hi

    Just to say I solved my query regarding how to access a USB stick connected to the RPI via rdesktop. In case it's of use to others I had to

    1. apt-get install -y usbmount
    2. reboot
    3. rdesktop -u USERNAME -r disk:usbstick=/media/usb HOSTNAME OTHER_PARAMETERS

    For some reason the apt-get doesn't work for me without the -y option.

    This lets me plug in a usbstick at any time and it appears as "usbstic on rpitc" on rdesktop of the remote windows machine.

  18. Hi,

    I thinks that is a very good job.
    In thsi release i have found a problem with Vworkspave connector. I have found this problem hen i try to connect to a published desktop:
    [Error 00004]: System error
    [Module]: pntsc
    [Description]: Rdesktop error -Unable to connect to server.
    With the previous version i didn't have this problem.


  19. Hi,

    I have found that after install libpopt-dev libao-dev and libjpeg-dev vworkspace works fine!!


  20. Just a quick post to let you know that I have solved my problem which I have documented below should other newbies have a similar problem:

    Step 1: Install latest image downloaded from

    Step 2: Open ‘LX terminal client’ and type: apt-get update.

    Step 3: When the above installation is finished, type: apt-get install autofs . When the installation of autofs is finished, type: apt-get install usbmount .When the installation of usbmount is finished you can close the LX terminal client.

    Step 4: Right click on the linux desktop and select Applications > FileBrowser. Ensure that View > ‘show hidden’ is selected (and it also makes it easier on the eye if you select ‘Detailed List View’). Navigate to the /etc directory (it also makes it easier if you click on ‘Name’ title near top of screen to sort all the files/folders into alphabetical order) and find/right mouse click on auto.master before choosing ‘leafpad’ to edit the file. Comment out every single line (i.e start the line with a #) and add the following line at the bottom before saving:
    /media/usb /etc/ --timeout=120 --ghost

    Step 5: While in the same etc directory within the FileBrowser application, select from the Menu Options at the top File > Create New > Blank File and call the newly created file . Open the newly created file within Leafpad (i.e. right click on it and select Leafpad). Add the following lines to the blank file before saving (** the reason for lines 2-4 is that each time a user removes the drive, and reinserts it the device changes to sdb1, sdc1, sdd1 etc. up to a limit of 16 removals. If your user is within the Windows remote desktop session they will not have access to linux desktop and will still need to access their USB drives. I have allowed for the permanent drive mapping of 4 folders within Windows which should be enough – the usb files will appear in usb the first time, usb1 the second etc.):
    usb -fstype+auto,rw,umask=000 :/dev/sda1
    usb1 -fstype+auto,rw,umask=000 :/dev/sdb1
    usb2 -fstype+auto,rw,umask=000 :/dev/sdc1
    usb3 -fstype+auto,rw,umask=000 :/dev/sdd1

    Step 6: While still in the FileBrowser application, navigate to the /media directory and select from the Menu Options at the top File > Create New > Folder and call the newly created folder usb .

    Step 7: Close the Filebrowser application. From the main screen, right click anywhere and select configurations > change AUTOSTART menu and uncomment/modify the rdesktop line so that it reads as below (entering your own username where I have typed name and own terminal servers name or IP address where I have put ipaddress ). When you have finished click on File > Save .
    @rdesktop -u name -f -E -x l -z -P -r sound:local:alsa:default -r disk:usb1st=/mdia/usb/usb -r disk:usb2nd=/mdia/usb/usb1 -r disk:usb3rd=/mdia/usb/usb2 -r disk:usb4th=/mdia/usb/usb3 ipaddress

    Step 8 (Optional) – If you have problems with overscanning, right click on the linux desktop and select Applications > FileBrowser. Navigate to the /boot directory and right click on the config.txt file, and choose Leafpad to edit the file. If your machine is overscanning (i.e. – has a black border of unused pixels visible and your display can output without overscan, uncomment the line disable_overscan=1 (i.e. remove the # at the beginning of the line). Then select file > save at the top of the screen.

  21. Excellent work!
    I'm using the citrix client - it works fine. But I've two questions:

    1. probably a silly one: I'm running the citrix client in full screen. How can I get back to the linux desktop (without closing the citrix client)? I think it's a key combination but couldn't figure out which one.

    2. probably a pretty difficult one: I've connected a smartcard reader via USB to my raspberry. It's listed by lsusb as
    Bus 001 Device 004: ID 08e6:3437 Gemplus GemPC Twin SmartCard Reader
    If I start then my citrix session and try to use the smartcard reader WITHIN this session (not for logon to citrix) I get the message "no pc/sc interface found" (tried to use Austrian Bürgerkarte on FinanzOnline).
    I already tried to install libpcsclite1 but it didn't help. Any ideas?

    Thank you for your help and your work!

    1. I found the solution for 1.
      If you're in a fullscreen citrix session, FIRST press CTRL+F2 and THEN press CTRL+ALT+D for desktop. You can get back to Citrix then via ALT+TAB.

    2. i think icausb package isn't correctly installed. Check if on booting the board usb redirection for citrix service start.
      update-rc.d ctxusb -f enable (or default, didn't remember)
      will force the service installation.

  22. I found the following:
    looks like this is what I need - but how to get it without compiling myself?


    1. Ok, found the solution myself:

      1. added the line
      deb sid main
      to file /etc/apt/sources.list

      2. apt-get update

      3. apt-get pcscd


      Hope this helps others too!


    2. oh! Thanks! i'll include the pakage in rpitc distro.

  23. I want to use this with a bluetooth keyboard. I tried installing bluez-utils but I get an error mesage:

    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    bluez-utils : Depends: bluetooth but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

    Is it possible to install bluetooth.

    1. mmmm i think i didn't include bluez* package on rpitc distro. Just wait 3-4 days, i'll include it.
      Or you can edit /etc/apt/sources.list and add the line:
      deb sid main
      then apt-get update && apt-get install bluez

  24. Hi there,

    does the VMWare View Client support Audio? If yes - via the PI's HDMI or via the PI's Audio jack?


    1. Audio works with VMware View, by default via HDMI. This can be changed as described in the other blog post

      Does the keyboard and mouse work with VMware? I have some issues with our VDI platform using this think client (work fine on Ubuntu 12.04)

    2. yep no problem with usb key/mouse

  25. This comment has been removed by the author.

  26. Hi

    Great work!
    Love the new boot screen.

    I am just having one small issue with rdesktop, My company runs server 2012 with Remote Desktop services(Terminal Server) but when users log on to the server the mouse tends to get stuck or does not update. I have updated to the latest version via terminal and this seems to be a problem related to rdesktop as I have tried it on my laptop running ubuntu and I got the same problem and then I tried 2x on my laptop without any issues, but i cant find a alternative for rdesktop on this os. Any suggestions?


    1. rdesktop is quite good but lacks some new features (like remotefx). My suggestion is to use freerdp (xfreerdp on command line) instead if possible.

    2. This comment has been removed by the author.

    3. HI Gibbio

      Thanks for the reply.
      I have managed to get it working, but I just have a speed problem where everything seems slow on the Raspberry.

      Any advice?


    4. start from a fresh install, then play with xfreerdp flags
      try adding/removing flags like +compression, -themes, -wallpaper, /gdi:, /jpeg etcetc to find your best settings. I didn't try w2k8 yet, sorry.

  27. Thanks, Have been messing with them before I even posted this but no real success, but will keep on tryin.

    Thanks for this awesome os!

  28. R2 wont boot an model b, R1 running quite well


Note: Only a member of this blog may post a comment.