Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: To install Tk, you need an X display

by converter (Priest)
on Feb 21, 2006 at 02:37 UTC ( [id://531589]=note: print w/replies, xml ) Need Help??


in reply to To install Tk, you need an X display

Xvfb is a great tool for emulation of an X server environment for testing. This readme includes example usage.

NOTE: corrected link to Xvfb man page

  • Comment on Re: To install Tk, you need an X display

Replies are listed 'Best First'.
Re^2: To install Tk, you need an X display
by ambrus (Abbot) on Feb 21, 2006 at 10:57 UTC

    Your link seems to be broken (404). (Update: it works now.)

    However, from what you're saying, that sounds like vnc. I have vncserver already installed and working on my machine, and it's also easy to start another real X server on a different console if I want to do a test like this. Does Xvfb have any advantage over these?

      Xvfb is not like vnc at all. From the Description section of the man page:

      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 primary use of this server was intended to be server testing. The fb code for any depth can be exercised with this server without the need for real hardware that supports the desired depths. The X community has found many other novel uses for Xvfb, including testing clients against unusual depths and screen configurations, doing batch processing with Xvfb as a background rendering engine, load testing, as an aid to porting the X server to a new platform, and providing an unobtrusive way to run applications that don't really need an X server but insist on having one anyway.

        That still sounds quite like vncserver to me. Vncserver is an X server that doesn't display anywhere. You can connect to it with vncviewer or the viewer written in java to view the output and interact from another machine, but it can also run without any viewer attached. (This applies only for X. The Windows vncserver works differently: it just mirrors the real display.)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://531589]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-19 20:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found