Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QXcbConnection couldnt connect to display

QXcbConnection couldnt connect to display

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 2.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    devs4p
    wrote on last edited by devs4p
    #1

    OK everyone, read my story.....
    Im employed as core developer of some VR app (I (=me)) am restricted as to revealing codinity
    We have HPE physical server and we host our dev-env

    Now, we also needed Cloud - the best is AWS EC2, so we picked one of their instances, made it Reserved (RI) for 1year, chosen Ubuntu, started and..... holy shit - blazing fast.........

    Bundled with Ubuntu, there was PhantomJS - no need to introduce I hope...... but ..... refusing to start. Typing phantomjs phantom/test.js was giving QXcbConnection: Could not connect to display PhantomJS has crashed. Please read the bug reporting guide at <http://phantomjs.org/bug-reporting.html> and file a bug report. Aborted (core dumped)

    What the FUCK ???? Brand new instance (=with NOTHING installed by user) and something not working? Did 2 things::

    • let AWS know they have broken package, and

    • uninstalled bundled version, replacing it with same version downloaded from phantomjs.org.

    But, as its always like this when Im doing things, thie above error is still visible where it was.

    =====

    I assume its obvious that server does not need proper display (like X, Wayland and alike). If not for anything, for security reasons. Having X's installed (and accessible) on server opens many possibilities for people with unclear intentions.

    So - whats this message means? Whats wrong?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      seems more of a phantomjs issue than Qt.

      https://github.com/ariya/phantomjs/issues/14376

      1 Reply Last reply
      1
      • D Offline
        D Offline
        devs4p
        wrote on last edited by devs4p
        #3

        Wrong. Its neither PJS nor QT.

        Its related to Debain (see this)
        Anyway - thanks for help

        mrjjM 1 Reply Last reply
        1
        • D devs4p

          Wrong. Its neither PJS nor QT.

          Its related to Debain (see this)
          Anyway - thanks for help

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @devs4p

          Ok thx for reporting back.
          happy holidays

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved