Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

How to implement Xvfb?

I would like to know if i can implemente the xvfb in uClinux in and nios plataform.

I've tried to uncompress just like the install said, but the NiosII DSK shell send

me a message like this:

Program too big to fit in memory

I'd apreciate anyone could help...

Einar Gonzalez

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi... I don't know what xvfb is, but if it's a user application, then it might help to turn on "Large block allocation" within the kernel.

    The option is located at:

    Processor type and features

    --> Allow allocating large blocks (> 1MB) of memory

    re-build, upload, an try your app again... (if it&#39;s an app) http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    XVFB provides a virtual Xserver that runs without a head or graphics card, so that it is not necessary to have to run a real Xserver.

    I&#39;m triying to implemente it to test...but i&#39;m doing it not in the the target, but in the SDK [SOPC Builder]$

    Einar
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I&#39;m not sure I understand... it sounds like you&#39;re trying to get it running under Cygwin?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I&#39;m trying to uncompress the Xvfb.tgz, bucause i cant do it when i&#39;m running on the target....

    Einar
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    There are plenty of sites out there that provide information about uncompressing .tgz files...

    for starters, try: tar -zxf xvfb.tgz

    The

    -z means that the archive is compressed

    -x means extract the files from the archive

    -f means that the next argument is the filename to work with

    Good luck!