Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 unix.stackexchange.com/questions/10121/… –  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
add comment

1 Answer 1

up vote 3 down vote accepted

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

One word, literally: xvfb


NAME
       Xvfb - virtual framebuffer X server for X Version 11

DESCRIPTION
       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 –  hbdgaf Jun 12 '12 at 3:12
add comment

Your Answer

 
discard

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.