Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Installing qt on an ubuntu workspace with no graphics capabilities -- looking for help
Forum Updated to NodeBB v4.3 + New Features

Installing qt on an ubuntu workspace with no graphics capabilities -- looking for help

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
11 Posts 6 Posters 4.0k Views 3 Watching
  • 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.
  • B Offline
    B Offline
    Billy
    wrote on last edited by
    #1

    I am using cloud9 ,the online IDE. When trying to install qt5 I get the error message:

    $ ./qt-opensource-linux-x64-5.5.1.run
    QXcbConnection: Could not connect to display
    Aborted

    I wrote a message to cloud9 and they told me it might be an issue because, "The servers our workspaces are hosted on do not have graphics capabilities".

    Any help would be appreciated.

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

      Hi,

      Currently the installer doesn't offer a "headless mode".

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • hskoglundH Offline
        hskoglundH Offline
        hskoglund
        wrote on last edited by
        #3

        Hi had the same problem with my Linode server, solved it by installing a VNC server, maybe you could do something similar, found this

        1 Reply Last reply
        0
        • PhilippEngelhardP Offline
          PhilippEngelhardP Offline
          PhilippEngelhard
          wrote on last edited by
          #4

          What are the options here? The qt package on debian is very old. Do I have to compile it from source? Will there be a headless installer in the future?

          1 Reply Last reply
          0
          • jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            You could install it on same Linux distribution but with GUI working and then copy the installation directory to the head-less machine.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Things have changed a bit, there's a possibility using a script.

              It's provided in this email exchange

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • PhilippEngelhardP Offline
                PhilippEngelhardP Offline
                PhilippEngelhard
                wrote on last edited by
                #7

                Thank you for the input, in one case I compiled it from source now. But I'll have at look at the script too!

                kshegunovK 1 Reply Last reply
                0
                • PhilippEngelhardP PhilippEngelhard

                  Thank you for the input, in one case I compiled it from source now. But I'll have at look at the script too!

                  kshegunovK Offline
                  kshegunovK Offline
                  kshegunov
                  Moderators
                  wrote on last edited by
                  #8

                  @PhilippEngelhard
                  It depends on the flavor of debian you're using. I'm on stretch (testing) and have installed Qt 5.5.1 from the repo. If you're running stable, then you could compile from source or install from precompiled binaries (I believe such are provided for debian).

                  Read and abide by the Qt Code of Conduct

                  PhilippEngelhardP 1 Reply Last reply
                  0
                  • kshegunovK kshegunov

                    @PhilippEngelhard
                    It depends on the flavor of debian you're using. I'm on stretch (testing) and have installed Qt 5.5.1 from the repo. If you're running stable, then you could compile from source or install from precompiled binaries (I believe such are provided for debian).

                    PhilippEngelhardP Offline
                    PhilippEngelhardP Offline
                    PhilippEngelhard
                    wrote on last edited by
                    #9

                    @kshegunov, yes, I'm running jessie stable and the precompiled binaries are 5.3.2. Compiling from source worked fine, it is just considerably more time and effort.

                    kshegunovK 1 Reply Last reply
                    0
                    • PhilippEngelhardP PhilippEngelhard

                      @kshegunov, yes, I'm running jessie stable and the precompiled binaries are 5.3.2. Compiling from source worked fine, it is just considerably more time and effort.

                      kshegunovK Offline
                      kshegunovK Offline
                      kshegunov
                      Moderators
                      wrote on last edited by kshegunov
                      #10

                      @PhilippEngelhard
                      I meant those precompiled binaries (although you'll need a running X for them), not the ones from the repo. Anyway, Debian's policy for stable is to be really, really stable, so it's often the case that the packages in the repo are somewhat outdated; one of the reasons I'm running stretch in the first place.

                      Kind regards.

                      Read and abide by the Qt Code of Conduct

                      PhilippEngelhardP 1 Reply Last reply
                      0
                      • kshegunovK kshegunov

                        @PhilippEngelhard
                        I meant those precompiled binaries (although you'll need a running X for them), not the ones from the repo. Anyway, Debian's policy for stable is to be really, really stable, so it's often the case that the packages in the repo are somewhat outdated; one of the reasons I'm running stretch in the first place.

                        Kind regards.

                        PhilippEngelhardP Offline
                        PhilippEngelhardP Offline
                        PhilippEngelhard
                        wrote on last edited by
                        #11

                        @kshegunov okay, thank you for clarifying, I don't have X running on my server, that's how I ended up in this thread.

                        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