Dave Elkins

Search It!

Setting up Headless XServer and CutyCapt on Ubuntu

April 10th, 2009 · 1 Comment

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

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
qmake
make
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.

references

http://corpocrat.com/2008/08/19/how-to-install-xvfb-x11-server-in-linux-server/

http://cutycapt.sourceforge.net/

http://www.wonko.be/2008/01

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • DZone
  • Wists
  • BlinkList
  • blogmarks
  • Ma.gnolia
  • NewsVine
  • Slashdot
  • StumbleUpon
  • Technorati
  • Facebook
  • TwitThis

Tags: code · install · web

1 response so far ↓

  • 1 Paul Danter // May 4, 2009 at 10:16 am

    Hi Dave,

    Great instructions. The only thing I’d add is that you also need to enable the aptitude backports repository in /etc/apt/sources.list as this is off by default. This enables you to get the libqt4 packages.

    -Paul

Leave a Comment