Installer fails with "Cannot open display" [message #1722570] |
Fri, 05 February 2016 21:49 |
John Holmes Messages: 2 Registered: February 2016 |
Junior Member |
|
|
Hello, Eclipse Newbie here. I am attempting to use the Mars Eclipse 4.5.1 Installer to install Eclipse on a 64-bit SUSE SLES 11 server with the X display going to my W7 PC. Each attempt at using the installer has resulted in an immediate "Cannot open display" error. Other X stuff works fine, so it seems to be the installer, not the environment.
I downloaded eclipse-inst-linux64.tar.gz from the Eclipse.org site and after unziping/taring it looks like the packages were built September 23, 2015.
X is working for other stuff, but not for the Eclipse installer. These work:
xlogo -display <ipAddress>:0 &
firefox --display <pcName>:0 &
(I've replace the real IP and pc name to keep from sending our security folks into a tizzy.)
These don't work:
eclipse-inst -display <ipAddress>:0 &
eclipse-inst -display <pcName>:0 &
eclipse-inst --display <ipAddress>:0 &
eclipse-inst --display <pcName>:0 &
Here is an example of one attempt:
# eclipse-inst -display <ipAddress>:0 &
[2] 3258
# Eclipse Installer: Cannot open display:
Eclipse Installer:
GTK+ Version Check
Eclipse Installer: Cannot open display:
Eclipse Installer:
An error has occurred. See the log file
/var/opt/teradata/pkgs/Eclipse/eclipse-installer/configuration/1454706087230.log.
[2]+ Exit 13 eclipse-inst -display <ipAddress>:0
Here is the top of the log file referenced above. I can list the whole thing if it would help.
!SESSION 2016-02-05 13:01:27.044 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_55
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -display <ipAddress>:0
Command-line arguments: -os linux -ws gtk -arch x86_64 -data @none -display <ipAddress>:0
!ENTRY org.eclipse.osgi 4 0 2016-02-05 13:01:28.355
!MESSAGE An error occurred while automatically activating bundle org.eclipse.oomph.setup.ui (132).
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.oomph.setup.ui.SetupUIPlugin$Implementation.start() of bundle org.eclipse.oomph.setup.ui.
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:941)
Thank you for your help,
John
|
|
|
Re: Installer fails with "Cannot open display" [message #1722583 is a reply to message #1722570] |
Sat, 06 February 2016 08:13 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
John,
The only command line arguments that would do anything special would be
those documented for Eclipse itself:
http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Frunning_eclipse.htm
So even if the installer worked, the Eclipse installation will suffer
from the same problem. I did a bit of Googling. Perhaps this post helps:
http://www.thegeekstuff.com/2010/06/xhost-cannot-open-display/
On 05.02.2016 23:23, John Holmes wrote:
> Hello, Eclipse Newbie here. I am attempting to use the Mars Eclipse
> 4.5.1 Installer to install Eclipse on a 64-bit SUSE SLES 11 server
> with the X display going to my W7 PC. Each attempt at using the
> installer has resulted in an immediate "Cannot open display" error.
> Other X stuff works fine, so it seems to be the installer, not the
> environment.
>
> I downloaded eclipse-inst-linux64.tar.gz from the Eclipse.org site and
> after unziping/taring it looks like the packages were built September
> 23, 2015.
>
> X is working for other stuff, but not for the Eclipse installer. These
> work:
> xlogo -display <ipAddress>:0 &
> firefox --display <pcName>:0 &
> (I've replace the real IP and pc name to keep from sending our
> security folks into a tizzy.)
>
> These don't work:
> eclipse-inst -display <ipAddress>:0 &
> eclipse-inst -display <pcName>:0 &
> eclipse-inst --display <ipAddress>:0 &
> eclipse-inst --display <pcName>:0 &
>
> Here is an example of one attempt:
>
> # eclipse-inst -display <ipAddress>:0 &
> [2] 3258
> # Eclipse Installer: Cannot open display:
> Eclipse Installer:
> GTK+ Version Check
> Eclipse Installer: Cannot open display:
> Eclipse Installer:
> An error has occurred. See the log file
> /var/opt/teradata/pkgs/Eclipse/eclipse-installer/configuration/1454706087230.log.
>
>
> [2]+ Exit 13 eclipse-inst -display <ipAddress>:0
>
> Here is the top of the log file referenced above. I can list the
> whole thing if it would help.
>
> !SESSION 2016-02-05 13:01:27.044
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.7.0_55
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -display <ipAddress>:0
> Command-line arguments: -os linux -ws gtk -arch x86_64 -data @none
> -display <ipAddress>:0
>
> !ENTRY org.eclipse.osgi 4 0 2016-02-05 13:01:28.355
> !MESSAGE An error occurred while automatically activating bundle
> org.eclipse.oomph.setup.ui (132).
> !STACK 0
> org.osgi.framework.BundleException: Exception in
> org.eclipse.oomph.setup.ui.SetupUIPlugin$Implementation.start() of
> bundle org.eclipse.oomph.setup.ui.
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:941)
>
> Thank you for your help,
>
> John
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08420 seconds