Unsolved Installing qt on an ubuntu workspace with no graphics capabilities -- looking for help
-
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
AbortedI 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.
-
Hi,
Currently the installer doesn't offer a "headless mode".
-
Hi had the same problem with my Linode server, solved it by installing a VNC server, maybe you could do something similar, found this
-
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?
-
You could install it on same Linux distribution but with GUI working and then copy the installation directory to the head-less machine.
-
Things have changed a bit, there's a possibility using a script.
It's provided in this email exchange
-
Thank you for the input, in one case I compiled it from source now. But I'll have at look at the script too!
-
@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). -
@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.
-
@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.
-
@kshegunov okay, thank you for clarifying, I don't have X running on my server, that's how I ended up in this thread.