Running PyQt Webkit script with Xvfb from a shell script

I am trying to run a Python script that involves PyQt Webkit on a headless server using xvfb. The following command works when I run it from the command line, but not from a bash script: #...

How to use specific fonts, Verdana for example with libharu in Ubuntu

I have some type1 types in /usr/share/fonts/type1/gsfonts/, and even more after installing msttcorefonts. But in that diversity of fonts, i dont know which one is verdana or arial or else. And no...

Google Chrome can't run in xvfb because extension "RANDR" missing

I try to run Google Chrome on xvfb display, but google show error about RANDR extension. Problem is that I added RANDR to xvfb and it loaded it. So my steps are: Run xvfb server using...

nvidia drivers on backtrack 5 gnome 32 bit (X session failed to start)

i've got 2 graphic cards on my laptop : 1- intel integrated HD 3000 2-Nvidia GT540m just disabled nouveau drivers and installed nvidia drivers (official drivers from nvidia.com) now when trying...

ghostscript DejaVu font error

I'm having trouble with GhostScript 8.71 on Ubuntu 10.04. I'm trying to make a jpeg of a particular PDF file which has the DejaVu fonts embedded within it. The PDF file I'm trying to convert...

Amazon EC2 Ubuntu + Xvfb: libGL error: failed to load driver: swrast

I am trying to run ParaView through Xvfb in a Ubuntu instance on Amazon EC2. I have installed X11/Xvfb related packages as per...

Unable to set proper resolution/not detecting display properly

This is probably the farthest removed Q&A place to ask about this, but I've tried every other reasonable and/or obvious source I can think of with no luck. I have both a BeagleBone Black and a...

How to get selenium and xvfb to work in ubuntu

My goal is to run my test in behat which has a driver for selenium using mink library. I am able to get this done on my local dev machine. However on my server I need to use xvfb for headless...

selenium webdriver.Firefox not starting for non-sudo user

I have a python method that sets up a browser in headless-mode on a linux server for website scraping with selenium. The display gets setup perfectly fine regardless of which user executes the...

Running Selenium Webdriver headlessly using Cron

I am trying to execute my Selenium Scripts through cron headlessly using Xvfb. The code of shell script looks something like this export PATH=$PATH Xvfb :10 -ac & gnome-terminal -e export...

Can't get x-ttcidfont to load correctly in ubuntu

I'm using the command below in coordination with wkhtmltopdf to generate screenshots from html/web pages. I can't get xvfb to run, it just hangs. I got the following error [dix] Could not init...

module ABI major version (12) doesn't match the server's version (11)

I am trying to run the x server with ubuntu12.04 system . I have updated all packages . But when I am trying to execute x server command then ,I am getting below errors : 1) module ABI major...

Perl conflicts during upgrade to squeeze/testing

In a pursuit to get python2.7 on my server system (running Debian squeeze), I've run into some trouble upgrading all packages. I'm completely at a loss of what to do from here: # apt-get upgrade...

Install mscorefonts on ec2

I am attempting to install mscorefonts on ec2, however I can't seem to find the magic combination of terminal commands to make it happen. I am using an m1.medium instance and uname -a returns...

Exception thrown while running BIRT report using BIRT API

Unable to open a connection with the database connection profile. org.eclipse.datatools.connectivity.oda.OdaException ; java.lang.NullPointerException at...