Installing Eclipse on Linux - Screen for GtkWindow Not Installed

I installed the 32-bit version of Linux Eclipse for Java EE developers on a Linux server (http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/indigosr1) m having problems starting the eclipse with Linux machines. I edited my eclipse.ini and added the vm java path (see below):

Exception: (Eclipse: 22632): Gtk-WARNING **: The screen for GtkWindow is not installed; you should always set the screen for gtkwindow before using the window

File eclipse.ini: -run plugins /org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.library plugins /org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505 -product org. eclipse.epp.package.jee.product --launcher.defaultAction open file -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction open file -vm / Opt / bin / Java -vmargs -Dosgi.requiredJavaVersion = 1.5 -XX: MaxPermSize = 256m -Xms40m -Xmx512m

(Eclipse: 22632): Gtk-WARNING **: Screen for GtkWindow not installed; you should always set the screen for gtkwindow before using the window

+4
source share
2 answers

you need to have an X server running on a remote computer. You must also have X forwarding permissions and use it in your SSH connection. See this article for an article or search for X11 forwarding via SSH for your Linux distribution

0
source

First you will need X11 installed on your Mac. Then try something simpler like

$ ssh -X server xclock 

If xclock is displayed, you can try

 $ ssh -X server eclipse 
0
source

Source: https://habr.com/ru/post/1380471/


All Articles