Dave Elkins

Search It!

Setting up Headless XServer and CutyCapt on Ubuntu

April 10th, 2009 · No Comments

This is a list of steps I took to setup a headless XServer and CutyCapt on Ubuntu. Please let me know if you run into any issues using these steps.

The first set of steps is to get the requirements for CutyCapt installed and the Headless XServer setup.

sudo apt-get update
sudo apt-get -y install build-essential
sudo apt-get install xvfb
sudo apt-get install xfs xfonts-scalable xfonts-100dpi
sudo apt-get install libgl1-mesa-dri
sudo apt-get install subversion libqt4-webkit libqt4-dev g++

Now lets download and install CutyCapt. Then we will run a couple of tests to make sure it is working properly.

svn co https://cutycapt.svn.sourceforge.net/svnroot/cutycapt
cd cutycapt/CutyCapt
xvfb-run --server-args="-screen 0, 1024x768x24" ./CutyCapt --url=http://www.google.com --out=example.png
xvfb-run --server-args="-screen 0, 1024x768x24" ./CutyCapt --url=http://www.google.com --out=example.html --out-format=html

I hope this helped and let me know if you have any feedback.

update: Per Paul’s comment, you may need to enable the aptitude backports repository in /etc/apt/sources.list, as this is off by default, to get the libqt4 libraries.





Be Sociable, Share!

Tags: code · install · web

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

Fatal error: Cannot redeclare class sk2_anubis_plugin in /home/delkins01/sites/daveelkins.com/current/public/wp-content/plugins/SK2/sk2_plugins/sk2_anubis_plugin.php.INFECTED.php on line 59