CloudCompare / CloudComPy

Python wrapper for CloudCompare
Other
283 stars 40 forks source link

Problems starting CloudComPy on Amazon EC2 Linux #107

Closed kxd195 closed 1 year ago

kxd195 commented 1 year ago

I'm trying to get CloudComPy running on Amazon EC2 Linux and here's what happens when I run: . ~/CloudComPy310/bin/condaConfig.sh activate CloudComPy310 after following all of the Linux install instructions:

QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, webgl, xcb.

Any help would be appreciated!

prascle commented 1 year ago

Hi, I think this is the same issue as #105 Paul

prascle commented 1 year ago

Hi, did you find a solution or just close the issue as a duplicate? if you have a solution, can you share it? Thanks, Paul

kxd195 commented 1 year ago

No solution as current CloudCompare requires a GUI of some sort as you've identified in #105

A workaround I did was install a Ubuntu OS on EC2, and also VNCServer as referenced here: https://ubuntu.com/tutorials/ubuntu-desktop-aws#3-configuring-the-vnc-server

After that, you can Remote Desktop/VNC into the instance and run CloudComPy from the GUI terminal. That does work.