Command line export mode core dumps on Ubuntu installation without a GUI

Issue #934 closed
Aristeidis Skarpetis created an issue

Hey there,

I have Ubuntu 16.04.5 server 64-bit running in VirtualBox. I use it from the console, no GUI is running. I am using it as a VPS test environment.

When I try to tun valentina -v or -h or -b I get a core dump:

QXcbConnection: Could not connect to display
Aborted (core dumped)

When Valentina is run in export mode, can it be made to not require a display so it can run in a headless server?

Note: I installed Valentina like this:

sudo add-apt-repository ppa:dismine/valentina
sudo apt-get update
sudo apt-get install valentina

Comments (5)

  1. Roman Telezhynskyi repo owner

    Hi.

    can it be made to not require a display so it can run in a headless server?

    Yes it can be. Use the same approach as we have been using for CI services. For example Travis Using xvfb to Run Tests That Require a GUI .

    Please, close this ticket if this resolves your issue.

    I have Ubuntu 16.04.5 server 64-bit running in VirtualBox. I use it from the console, no GUI is running. I am using it as a VPS test environment.

    If it is not a secret how do you plan to use Valentina? :)

  2. Aristeidis Skarpetis reporter

    Awesome! It worked.

    yooboo$ xvfb-run valentina -v
    Valentina 0.6.1.0
    

    We have a fabric screen printing workshop and we were planning to sell clothes patterns online as downloads along with our fabrics. For years my wife (the designer) and I have been having a conversation on how mass produced fashion does not actually accommodate women. Between shoulders, bust, waist, hips, legs and height, there are so many variables that the number of SKUs a ready-to-wear line would need to keep is staggering. Then we started talking of parametric patterns that could accommodate these diverse measurements.

    Then we did a google search and voilĂ ! Valentina! An answer just like magic to keep our momentum going. My wife has been getting her head around it and trying to make it work with some of her patterns. So far so good. I have been trying to work out how to run Valentina on a VPS so our future website can talk to it and get tailor-made PDFs ready to download.

    So, no URLs yet, but in the coming months there will be something and I will let you know. I would say it is a secret but hey, the more patterns that are out there the better for everyone.

    In the meantime, thank you for Valentina and thank you for your help!

  3. Roman Telezhynskyi repo owner

    You can find man pages in pdf format in Downloads section. Tell me if something is not clear or missing. I am also interested in such way of using, so sharing feedback and ideas will be awesome.

  4. Log in to comment