简体   繁体   中英

Unable to start eclipse on linux server

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

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.

要在远程计算机上运行应用程序并将其显示在本地计算机上,请使用以下ssh命令登录到远程计算机。

ssh -X username@hostIp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM