Home > Linux > Installing and running Xibo Linux Python Client in Acer Aspire One D255E

Installing and running Xibo Linux Python Client in Acer Aspire One D255E

September 5th, 2011 Leave a comment Go to comments

I have tried Xibo Linux Python Client 1.3.0 on my Acer Aspire One D255E netbook, here are the steps I followed.

Install Ubuntu 10.04 LTS

Since the client is only officially supported in Ubuntu 10.04 LTS, I had to install it first. After installation the network (ethernet and wifi) does not work,  please visit Installing Ubuntu 10.04 LTS in Acer Aspire One D255E for the instructions to resolve the networking issues as well as make the SD card reader work properly.

Upgrade Xibo Server to version 1.3.0

The next step I did was to update the Windows XP server to version 1.3.0. I followed parts of the server installation instructions I previously wrote for version 1.2.0.

  1. Download xibo-server-1.3.0.zip
  2. Extract its content to c:\xampp\htdocs\xibo
  3. Run XAMPP Control Panel and start Apache and Mysql.
  4. Go to http://localhost/xibo
  5. Enter the admin username and password, it will ask you if you want to do a database version update, click on “Yes” and it will complete the update

Install Xibo Python client in Linux

Back to the netbook running Ubuntu 10.04 to install the Xibo Python client in a terminal window.

  1. Update your machine with the latest patches:

    sudo apt-get update
    sudo apt-get dist-upgrade

  2. Download the automatic installation script:

    wget http://launchpad.net/xibo/1.3/1.3.0/+download/xibo-1.3.0-ubuntu.all-pyclient.sh

  3. Install bzr or the script will return the error “./xibo-1.3.0-ubuntu.all-pyclient.sh: line 173: bzr: command not found)”

    sudo apt-get install bzr

  4. Run the script:

    ./xibo-1.3.0-ubuntu.all-pyclient.sh

At this point, I got ” All done.”, but bzr had the following issue :

You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See “bzr help launchpad-login”.

And if you run the client, it will say some libraries are missing. So I decided to complete the installation manually.

  1. Install the required libraries and packages:

    wget http://launchpad.net/xibo/1.3/1.3.0/+download/libavg-berkelium-vdpau-1.6.0.tar.gz
    cd /
    sudo tar xvf ~/libavg-berkelium-vdpau-1.6.0.tar.gz
    sudo apt-get install libboost-python1.40.0 libboost-thread1.40.0 libdc1394-22 libgraphicsmagick++3 \ libgraphicsmagick3 libavutil49 bzr python-soappy python-feedparser python-serial flashplugin-nonfree \ libavcodec52 libavformat52 libswscale0 libsdl1.2debian-pulseaudio libvdpau1

  2. Modify the client configuration by setting the Xibo server URL and server key:

    cd /opt/xibo/pyclient/client/python/
    cp site.cfg.default to site.cfg
    vi site.cfg

    I modified the xmdsUrl and xmdsKey lines as follows:

    xmdsUrl=http://192.168.0.102/xibo
    xmdsKey=cnxsoftxibo

  3. Run the client:

    ./run.sh

Schedule a layout for the Client

Then go back the Windows XP Xibo server, and go to http://localhost/xibo/ in your web browser to access Xibo dashboard. Go to Management->Displays, and edit the new display to license it.  Finally, schedule a layout and wait for the netbook to start to play.

I used the same layout as in Xibo Open Source Digital Signage Tutorial / Demo and it could play in the Linux client without problem once everything was correctly configured.

N.B: If you encounter the error <Fault Receiver: This display client is not licensed>, it probably means the server key is incorrect.

Performance and internals

The layout has a web browser window, a video window, a picture window and a text ticker. While it is playing, the CPU usage is around 60 to 85% on both CPU cores at the Atom N455 processor.

The programs running (beside XiboClient.py) that take most of the CPU usage are:

  • pulseaudio:  cross-platform, networked sound server.
  • berkelium: library that provides off-screen browser rendering via Google’s open source Chromium web browser.
  • compiz: one of the first compositing window managers for the X Window System that uses 3D graphics hardware to create fast compositing desktop effects for window management

The video decoding is performed via libavg that uses many of the ffmpeg libraries for audio and video decoding.

 

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

  1. Tim Berg
    April 18th, 2012 at 17:53 | #1

    Hey. i dont get this to work, when i am going to put this command (sudo tar xvf ~/libavg-berkelium-vdpau-1.6.0.tar.gz) i get a error message: no such file or directory

  2. April 18th, 2012 at 18:31 | #2

    @ Tim Berg
    You have to run “wget http://launchpad.net/xibo/1.3/1.3.0/+download/libavg-berkelium-vdpau-1.6.0.tar.gz” in your home directory

    Do “cd ~” first

  3. Tim Berg
    April 23rd, 2012 at 20:02 | #3

    Hey.
    Thanks, i am gonna try it tomorrow,
    And if i get some more problems, then i tell u.
    Sorry for my english

  4. Tim Berg
    April 27th, 2012 at 18:07 | #4

    Hey again. At point 4. when i am trying too run the script i get a error message No such file or directory.
    I have done everything in the guide.
    But i isnt that good i linux, so i need a little start help.

    Tim Berg

  5. Tim Berg
    April 27th, 2012 at 18:13 | #5

    Tim Berg :Hey again. At point 4. when i am trying too run the script i get a error message No such file or directory. I have done everything in the guide. But i isnt that good i linux, so i need a little start help.Tim Berg

    Now i get this error message : Permission Denied.

  6. April 27th, 2012 at 20:13 | #6

    @ Tim Berg
    Try to run it as follows:

    sudo ./xibo-1.3.0-ubuntu.all-pyclient.sh

  7. Tim Berg
    April 30th, 2012 at 13:46 | #7

    when i am running sudo ./xibo-1.3.0-ubuntu.all-pyclient.sh i get “Command not found”

  8. April 30th, 2012 at 13:59 | #8

    @ Tim Berg
    I think it will be difficult to make it work since you do not seem to be familiar with Linux, but let’s have a try anyway.

    Type those 2 commands (where you downloaded the script) and let me know the output for each:
    pwd
    ls -l ./xibo-1.3.0-ubuntu.all-pyclient.sh

    I would also need to know if you have other lines showing before “command not found”

  9. June 28th, 2012 at 08:17 | #9

    Hi, thanks for the guide. it seemed to have gone well until I ran the pyclient script and after a while it stopped saying

    E: Broken Packages

    I’m not able to figure out this, any help is much appreciated.
    thanks.

  10. June 28th, 2012 at 09:16 | #10

    @ ahnads
    Maybe try to run “apt-get -f install”, before running the installer.
    The other issue, could be that it’s not updated, so you’d have to modify the script with newest package.
    You may also want to have a look on Xibo website, as they must have that up-to-date

  11. February 19th, 2014 at 09:29 | #11

    Some updates. Xibo now supports Ubuntu 12.04 http://xibo.org.uk/2014/02/18/support-for-ubuntu-12-04/

    berkelium development has stopped, and Chromium Embedded Framework should be used instead. The only problem is that libbrowsernode needs to be ported to the new framework.

  1. No trackbacks yet.