[HELP] khtml2png installation on Linode

I am trying to install khtml2png on my Linode VPS (Ubuntu 10.04). Followed this guide http://bit.ly/tssWYK

Everything installed smoothly.

Now I am facing this error when trying to generate screenshot.

khtml2png2 http://facebook.com facebook.png
kbuildsycoca running...
DCOP Cleaning up dead connections.
terminate called after throwing an instance of 'DOM::DOMException'
KCrash: Application 'khtml2png2' crashing...
Could not find 'drkonqi' executable.
KCrash cannot reach kdeinit, launching directly.
root@ask995:/srv/www/<sitename>/public_html/screenshots# DCOP aborting call from 'anonymous-23641' to 'kded'</sitename>

Can anyone help me out with it? Any hint you are getting from above error.

PS: I am on 512 MB Linode VPS.

3 Replies

If you just try to run a simple X11 application (e.g. xterm), does it work?

Might want to install drkonqi as well… it's in the "kubuntu-debug-installer" package. It sounds like it wants to use that to tell you why it is crashing.

@ask995:

I am trying to install khtml2png on my Linode VPS (Ubuntu 10.04). Followed this guide http://bit.ly/tssWYK

Everything installed smoothly.

Now I am facing this error when trying to generate screenshot.

khtml2png2 http://facebook.com facebook.png
kbuildsycoca running...
DCOP Cleaning up dead connections.
terminate called after throwing an instance of 'DOM::DOMException'
KCrash: Application 'khtml2png2' crashing...
Could not find 'drkonqi' executable.
KCrash cannot reach kdeinit, launching directly.
root@ask995:/srv/www/<sitename>/public_html/screenshots# DCOP aborting call from 'anonymous-23641' to 'kded'</sitename>

Can anyone help me out with it? Any hint you are getting from above error.

PS: I am on 512 MB Linode VPS.

I've had a lot of issues with khtml2png in the past. Give CutyCapt a try. Here are Ubuntu installation instructions. I've been using it in production on Ubuntu 10.04 for the better part of the last year and a half.

thanks @ezkl. It worked :)

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct