Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 have a GTK program(transmission-gtk) which I would like to run from a console in one of the virtual terminals (over SSH, and locally). Is there a way to get this application(or any other GTK application, for future reference) to display to a dummy monitor instead of erring about this?

Note that I do not want to use a CLI version--not all GTK programs have CLI versions.

share|improve this question
An X Window app, needs a DISPLAY where to be shown, this is actually a stackexchange issue, and has been answered there, take a look at… – Awi Jun 12 '12 at 0:46
@Awi This is local, not a case of SSH and authority. I have an X server but want to use a VT. – hexafraction Aug 18 '12 at 17:53
up vote 5 down vote accepted

Is there a way to get this application ... to display to a dummy monitor ...

One word, literally: xvfb

       Xvfb - virtual framebuffer X server for X Version 11

       Xvfb is an X server that can run on machines with no 
display hardware and no physical input devices.  It emulates
a dumb framebuffer using virtual memory.

The X community has found many other novel uses for Xvfb,
including ... providing an unobtrusive way to run 
applications that don't really need an X server but 
insist on having one anyway.
share|improve this answer
+1, but you might have a better response if you noted an example of using xvfb. i use it to hide the firefox window when i programatically drive it with selenium, for example – RobotHumans Jun 12 '12 at 3:12

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.