Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using melt utility to flatten vidoes. in it there is a plugin called kdenlivetitle. this plugin imposes title text on video but it requires X server. for that i am using xvfb-run but it hangs in-between sometime. I know basic linux and script writing. below is the output of "ps"

    root@ip-10-112-249-15:/home/ubuntu# ps -ef| grep melt
root      5632 32532  0 03:44 ?        00:00:00 sudo /usr/local/scripts/ /usr/local/tomcat/temp/231/composition.mlt EXP_temp.mp4
root      5633  5632  0 03:44 ?        00:00:00 sh /usr/local/scripts/ /usr/local/tomcat/temp/231/composition.mlt EXP_temp.mp4

// has command which running belove

root      5634  5633  0 03:44 ?        00:00:00 /bin/sh /usr/bin/xvfb-run -a -e /var/log/xvfb.log --server-args=-screen 0 1920x1080x24 melt /usr/local/tomcat/temp/231/composition.mlt -consumer avformat:EXP_temp.mp4 acodec=aac ab=384k ar=48000 vcodec=libx264 g=10
root      5650  5634  0 03:44 ?        00:01:17 melt /usr/local/tomcat/temp/231/composition.mlt -consumer avformat:EXP_temp.mp4 acodec=aac ab=384k ar=48000 vcodec=libx264 g=10

could it be because of this command running simultaniously simultaneously? if it is i can restrict it to one at a time.

if you require any of other log or output please provide me how to get it.

Thanks in advanced.

share|improve this question
up vote 2 down vote accepted

Used Xdummy instead of xvfb and it worked like a charm Download Xdummy scrip Xdummy script

run it like this

Xdummy :99 -geometry 1920x1080x24

then you can run melt or any gui application headless using

DISPLAY=:99 melt


DISPLAY=:99 firefox
share|improve this answer
Can you give more detail on how you did this? – RolandiXor May 16 '13 at 16:31
We used Xdummy script instead of xvfb because it was in consistence – user1629362 May 17 '13 at 5:35
I just answered the question in the original reply because I wanted to add links and code. – user1629362 May 17 '13 at 5:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.