Knime on Linux

Discuss how to install knime on linux systems

Discuss how to configure

Discuss how to execute workspaces

Any one have success installing Knime on Redhat or Centos?

i can't get it to display in xterm

i can't get workflow to execute with out display.

i get this error in the logs:

[@ knime_3.1.0]$ ./knime -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION​
Knime: Cannot open display:
Knime:
GTK+ Version Check
CompilerOracle: exclude javax/swing/text/GlyphView.getBreakSpot
Knime:
An error has occurred. See the log file
/home/knime_3.1.0/configuration/1452481288405.log.
[user@ knime_3.1.0]$ ./knime -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION​ -workflowFile="/home/knime_3.1.0/knime-workspace/knime-workspace.zip"
Knime: Cannot open display:
Knime:
GTK+ Version Check
CompilerOracle: exclude javax/swing/text/GlyphView.getBreakSpot
Knime:
An error has occurred. See the log file
/home/knime_3.1.0/configuration/1452481373571.log.
 vi /home/knime_3.1.0/configuration/1452481373571.log
        at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
        at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
~

 

Since KNIME is a graphical application it needs an X server. Please check if the DISPLAY variable is set to a valid value.

It is set and now got it only working for root.

How do I get it working for a nonroot user.

 

Thanks

 

ALso can you execute a workflow in batchmode with out knime having to launch its display?

knime -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION
-workflowDir="workspace/<your_workflow>"

 

When I login as root and launch the command it works only as root and has to launch the knime analytics to process the workflow. Is there a way for it to process the workflow and not have to launch the analytics display?

 

If you cannot start KNIME as normal user from a shell then something is wrong with your system configuration. KNIME is just like any other program with a GUI. I guess you also cannot launch any other GUI program. I suggest you fix your system first before you continue.

The batch mode of KNIME does not need a GUI and works without an X connection.

Yes it worked thank you so much.

 

I am facing the similar issue. Not sure if I am setting the display variable properly. Please advise with example.

I am facing the similar issue. Please advise how did you setup the display variable to resolve this.

How to check if the DISPLAY variable is set to a valid value?

Hi @pkamenga , you can just print the variable:
echo $DISPLAY

Hi Bruno,
I have run the command. nothing displayed. screenshot below.

image

Hi @pkamenga , it looks like you don’t have any X connection. Are you connected remotely to your Linux Box?

Also, are you in an Anaconda environment? What is that base) in your prompt from/for?

Hi @bruno29a ,
Yes I’m connected remotely to our Linux Box. Yes I’m in Anaconda environment. below base.
(base) [knime@urbknime1 knime_executor]

Hello @pkamenga,

if this is related to KNIME Server I suggest to open up a new topic for it.

Br,
Ivan