Reputation: 347
I installed the eclipse in linux server, While starting the eclipse I am getting the below error.
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product
!ENTRY org.eclipse.osgi 4 0 2014-11-27 15:32:33.157
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(SWT.java:4467)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:934)
at org.eclipse.swt.widgets.Display.create(Display.java:918)
at org.eclipse.swt.graphics.Device.<init>(Device.java:157)
at org.eclipse.swt.widgets.Display.<init>(Display.java:514)
at org.eclipse.swt.widgets.Display.<init>(Display.java:505)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:732)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
at
What might be the reason for this? I access that linux server through putty. Thanks
Upvotes: 1
Views: 7600
Reputation: 2938
To run applications on the remote machine and display it on your local machine, login to remote machine using following ssh command .
ssh -X username@hostIp
Upvotes: 2
Reputation: 21
I've made this mistake in the past plenty. Chances are your X server (that packaged with cygwin or a software like Xming) is not running. Ensure it is running first and then try to launch eclipse over SSH.
Upvotes: 2