Troubles to run Knime AP 4.1 on RHEL8

Hello,
I need to run Knime 4.1 on Linux RHEL8 but I keep having issues to start the application despite the fact it I followed the same procedure that for KnimeAP 5.4 installed on the same machine.
I keep having the error message

Unable to init server: Could not connect: Connection refused
Knime: Cannot open display: 
CompilerOracle: exclude javax/swing/text/GlyphView.getBreakSpot
Unable to init server: Could not connect: Connection refused
Knime: Cannot open display: 
Jan 22, 2025 9:33:14 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http (122) [org.apache.cxf.transport.http.HTTPTransportFactory, org.apache.cxf.transport.http.HTTPWSDLExtensionLoader, org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder, org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder, org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]
Jan 22, 2025 9:33:14 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http-hc (123) [org.apache.cxf.transport.http.HTTPConduitFactory, org.apache.cxf.transport.ConduitInitiator]
Unable to init server: Could not connect: Connection refused
Jan 22, 2025 9:33:16 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener unregister
INFO: Removing the extensions for bundle 122
Jan 22, 2025 9:33:16 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener unregister
INFO: Removing the extensions for bundle 123
Unable to init server: Could not connect: Connection refused
Knime: Cannot open display: 
Knime:
An error has occurred. See the log file
/home/sebastien/knime413/configuration/1737534790373.log.

I need it as a we have a large set of workflows built on KnimeAP 4.1 and we would prefer to keep opening them in the original version before we rebuild them in a modern KnimeAP version benefitting of all the improvements.

If not possible, any experience here about opening very old workflows on recent version Of Knime? Any major incompatibilities before we start migrating? We have 200+ workflows to migrate and it may wor on some but not on others and I would prefer to secure the approach before starting based on your experience…

May be it would be possible to select an intermediate version that would run on RHEL8 and still guarantee compatibility of all features present in Knime 4.1?

Hello @szawadski ,
I have asked about this internally.

Thanks,
Sanket

It seems the DISPLAY environment variable is not set. Therefore it doesn’t know where to render the UI.

I have tried to solve the issue with
export DISPLAY=:0
(accessing the machine via Remote Desktop)
but it does not work…

If you are using a remote desktop solution, the DISPLAY is very likely not :0 because this is usually a local display. The DISPLAY variable should be set automatically to the correct value. How to other X programs behave?

Other applications work fine. Including Knime AP 5.4.
I just wanted to have both versions of Knime installed on the same environment and Knime 4.1 is not starting.

5.4 and other applications probably run in Wayland and therefore don’t need a DISPLAY. However, 4.1 is too old to support Wayland. Therefore you have to check how to run an X11 appplication in your environment.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.