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.
- Download xibo-server-1.3.0.zip
- Extract its content to c:\xampp\htdocs\xibo
- Run XAMPP Control Panel and start Apache and Mysql.
- Go to http://localhost/xibo
- 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.
- Update your machine with the latest patches:
sudo apt-get update
sudo apt-get dist-upgrade
- Download the automatic installation script:
- 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
- Run the script:
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.
- Install the required libraries and packages:
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
- Modify the client configuration by setting the Xibo server URL and server key:
cp site.cfg.default to site.cfg
I modified the xmdsUrl and xmdsKey lines as follows:
- Run the client:
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.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
11 Replies to “Installing and running Xibo Linux Python Client in Acer Aspire One D255E”
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
@ 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
Thanks, i am gonna try it tomorrow,
And if i get some more problems, then i tell u.
Sorry for my english
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.
Now i get this error message : Permission Denied.
@ Tim Berg
Try to run it as follows:
when i am running sudo ./xibo-1.3.0-ubuntu.all-pyclient.sh i get “Command not found”
@ 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:
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”
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.
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
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.