daid / LegacyCura

Read this, it's important! NEW CURA DEVELOPMENT IS HAPPENING AT https://github.com/Ultimaker/Cura, this is the Cura 15.04 archive. Cura 2.1 and newer is on the Ultimaker github.
https://www.ultimaker.com/pages/our-software
585 stars 430 forks source link

Can not run Cura through ssh with X forwarding or with X2Go #1438

Open alexpacini opened 8 years ago

alexpacini commented 8 years ago

I installed cura on a mint 17.3 xfce machine. While it works as expected if logging in regularly into that machine, I can not have it working using ssh with X forwarding or using X2Go. Cura is the only non working application. To be precise, the 3d view is only part missing. The outer interface is present, but unable to import any object.

daid commented 8 years ago

No clue. Cura is just using openGL to render that view. Does glxgears work trough your remote X?

alexpacini commented 8 years ago

glxgears works as expected.

The output launching from the cli: $ cura load preferences from /home/alex/.cura/15.04.4/preferences.ini Listening for engine communications on 49674

If I click on the 3D plane (though not visible) i get:

Traceback (most recent call last): File "/usr/share/cura/Cura/gui/util/openglGui.py", line 187, in _OnGuiMouseDown self.OnMouseDown(e) File "/usr/share/cura/Cura/gui/sceneView.py", line 835, in OnMouseDown self._mouseClick3DPos = self._mouse3Dpos AttributeError: 'SceneView' object has no attribute '_mouse3Dpos' Traceback (most recent call last): File "/usr/share/cura/Cura/gui/util/openglGui.py", line 187, in _OnGuiMouseDown self.OnMouseDown(e) File "/usr/share/cura/Cura/gui/sceneView.py", line 835, in OnMouseDown self._mouseClick3DPos = self._mouse3Dpos AttributeError: 'SceneView' object has no attribute '_mouse3Dpos' Traceback (most recent call last): File "/usr/share/cura/Cura/gui/util/openglGui.py", line 187, in _OnGuiMouseDown self.OnMouseDown(e) File "/usr/share/cura/Cura/gui/sceneView.py", line 835, in OnMouseDown self._mouseClick3DPos = self._mouse3Dpos AttributeError: 'SceneView' object has no attribute '_mouse3Dpos' Closing down Segmentation fault


Alex Pacini, MS email: alexpacini90@gmail.com blog: https://pacinispace.blogspot.com ORCID: orcid.org/0000-0002-0316-4989 skype: alex_pacini


On Tue, Mar 22, 2016 at 7:13 AM, daid notifications@github.com wrote:

No clue. Cura is just using openGL to render that view. Does glxgears work trough your remote X?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/daid/Cura/issues/1438#issuecomment-199652127

alexpacini commented 8 years ago

Just to add an info: it is a fresh system. An updated Mint 17.3 Xfce with only cura installed. Using the same system inside a VirtualBox in the remote machine everything works (tried with X2Go).

daid commented 8 years ago

Then I have no clue.

The backtrace you see is as expected, as the _mouse3Dpos normally gets set by the 3D rendering code (which uses some tricks of reading back drawing buffers to define where the mouse is located in 3D space)

alexpacini commented 8 years ago

The beta version (Qt based) works as expected. Unfortunately the UM2+ is not listed there (in the last version: 15.06.3) and it is sometimes a bit buggy and prone to crash.

daid commented 8 years ago

Send me an email, I'll enlist you in the latest Cura beta. The 15.06 is quite old and buggy compared to that. d.braam@ultimaker.com