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/videokill.sh)
- 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 ;)

71 comments:

  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?

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

      Delete
  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.

    ReplyDelete
    Replies
    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

      Delete
    2. root@rpitc:~# iceweasel http://10.240.0.100

      (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

      Delete
    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)

      #!/bin/sh
      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"

      Delete
    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.

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

    Thanks,
    Daniel

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

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

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

      Delete
    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) ;)

      Delete
    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 http://elinux.org/RPi_Xorg_rpi_Driver didn't work so well

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

    Is there a VNC client available?

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

      Delete
  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.

    Thanks

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

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

      Delete
    3. Got it successfully running. Compiled it like

      http://taoofmac.com/space/blog/2013/01/09/2339

      but with some modifications.

      cmake -DCMAKE_BUILD_TYPE=Release -DWITH_FFMPEG=OFF -DWITH_XINERAMA=OFF -DWITH_XCURSOR=OFF -DWITH_DIRECTFB=ON -DWITH_CUPS=ON -DARM_FP_ABI=hard

      (-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 ;)



      Delete
    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?

      Thanks

      Delete
    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

      Delete
    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...

      Delete
  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?

    ReplyDelete
    Replies
    1. Possibly found a gtk bug related to the VMware keyboard issue:
      https://bugs.kde.org/show_bug.cgi?id=307340

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

      Delete
  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

    ReplyDelete
    Replies
    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

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

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

    ReplyDelete
    Replies
    1. hi,

      previously, the readme said:

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

      :p

      Delete
    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.

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

      Delete
    4. wow, thanks now it works.

      Delete
  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!

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

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

      Delete
    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...

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

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

      Delete
  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?

    ReplyDelete
  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' '172.16.10.155' '-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.
    bye

    ReplyDelete
    Replies
    1. Hello Denis,

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

      Thank you

      Delete
    2. Comment from Denis:
      I recovery the vmware-view-usb from a previous image.
      I publish the file https://dl.dropboxusercontent.com/u/17916419/vmware-view-usb.zip .

      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)

      Delete
  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)

    ReplyDelete
    Replies
    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:
      https://github.com/FreeRDP/FreeRDP/wiki/CommandLineInterface

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

    ReplyDelete
  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.

    Thanks

    compuguy
    http://compuguy1088.com

    ReplyDelete
  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?

    Thanks
    San

    ReplyDelete
  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.




    ReplyDelete
  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.
    Thanks.

    Regards,

    ReplyDelete
  19. Hi,

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

    Regards,

    ReplyDelete
  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 http://ks3313837.kimsufi.com/RPi-TC/RPi-TC_ARMv6j_r2.rar

    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/auto.media --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 auto.media . Open the newly created auto.media file within Leafpad (i.e. right click on it and select Leafpad). Add the following lines to the blank auto.media 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.

    ReplyDelete
  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!

    ReplyDelete
    Replies
    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.

      Delete
    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.

      Delete
  22. I found the following:
    http://pcsclite.alioth.debian.org/ccid.html
    looks like this is what I need - but how to get it without compiling myself?

    Regards,
    Erich

    ReplyDelete
    Replies
    1. Ok, found the solution myself:

      1. added the line
      deb http://ftpl.de.debian.org/debian sid main
      to file /etc/apt/sources.list

      2. apt-get update

      3. apt-get pcscd

      Voilà.

      Hope this helps others too!

      Regards!

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

      Delete
  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.
    Thanks

    ReplyDelete
    Replies
    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 http://ftpl.de.debian.org/debian sid main
      then apt-get update && apt-get install bluez

      Delete
  24. Hi there,

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

    Thanks!

    ReplyDelete
    Replies
    1. Audio works with VMware View, by default via HDMI. This can be changed as described in the other blog post http://rpitc.blogspot.co.uk/2013/04/new-release-rpi-tc-armv6j-ready.html

      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)

      Delete
    2. yep no problem with usb key/mouse

      Delete
  25. This comment has been removed by the author.

    ReplyDelete
  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?

    Thanks

    ReplyDelete
    Replies
    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.

      Delete
    2. This comment has been removed by the author.

      Delete
    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?

      Thaks

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

      Delete
  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!

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

    ReplyDelete

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