You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Aneesh K raj <ne...@rediffmail.com> on 2007/05/07 13:01:37 UTC

Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable

  Hi All,

I am getting this error...

Whats the solution for this..I am trying to run jmeter from my local machine in the remote server by using putty....


java.lang.reflect.InvocationTargetException: java.lang.InternalError: Can't connect to X11 window server using 'xxxxxxxx:0.0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:54)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:115)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:53)
        at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:52)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:115)
        at java.awt.Toolkit$2.run(Toolkit.java:507)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:498)
        at javax.swing.ImageIcon.<init>(ImageIcon.java:115)
        at javax.swing.ImageIcon.<init>(ImageIcon.java:134)
        at org.apache.jmeter.plugin.PluginManager.installPlugin(PluginManager.java:65)
        at org.apache.jmeter.plugin.PluginManager.install(PluginManager.java:51)
        at org.apache.jmeter.JMeter.startGui(JMeter.java:190)
        at org.apache.jmeter.JMeter.start(JMeter.java:288)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.jmeter.NewDriver.main(NewDriver.java:175)

Re: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable

Posted by Ivan Rancati <iv...@sharpmind.de>.


Kumar-3 wrote:
> 
>   Hi All,
> 
> I am getting this error...
> 
> Whats the solution for this..I am trying to run jmeter from my local
> machine in the remote server by using putty....
> 

afaik that cannot work, since putty is a text-only terminal emulator.
-- 
View this message in context: http://www.nabble.com/Can%27t-connect-to-X11-window-server-using-%27%3A0.0%27-as-the-value-of-the-DISPLAY-variable-tf3703068.html#a10358271
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable

Posted by sebb <se...@gmail.com>.
Can you run other applications using the same method?

Why not use non-GUI instead?
The X-messages may add a lot of unnecessary network traffic.


On 7 May 2007 11:01:37 -0000, Aneesh K raj <ne...@rediffmail.com> wrote:
>  Hi All,
>
> I am getting this error...
>
> Whats the solution for this..I am trying to run jmeter from my local machine in the remote server by using putty....
>
>
> java.lang.reflect.InvocationTargetException: java.lang.InternalError: Can't connect to X11 window server using 'xxxxxxxx:0.0' as the value of the DISPLAY variable.
>        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
>        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:54)
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Class.java:115)
>        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:53)
>        at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:52)
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Class.java:115)
>        at java.awt.Toolkit$2.run(Toolkit.java:507)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:498)
>        at javax.swing.ImageIcon.<init>(ImageIcon.java:115)
>        at javax.swing.ImageIcon.<init>(ImageIcon.java:134)
>        at org.apache.jmeter.plugin.PluginManager.installPlugin(PluginManager.java:65)
>        at org.apache.jmeter.plugin.PluginManager.install(PluginManager.java:51)
>        at org.apache.jmeter.JMeter.startGui(JMeter.java:190)
>        at org.apache.jmeter.JMeter.start(JMeter.java:288)
>        at java.lang.reflect.Method.invoke(Native Method)
>        at org.apache.jmeter.NewDriver.main(NewDriver.java:175)
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Re: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable

Posted by Ivan Rancati <iv...@sharpmind.de>.


Kumar-3 wrote:
> 
>   
> Thanks Ivan ..but any workaround solution...
> 
> 

I have tried the nxserver / nxclient combination to run remote X apps
(including Jmeter) and for me it worked relatively well.
You can download the free versions here
http://www.nomachine.com/ http://www.nomachine.com/ 

I had no problems with the server installation (my server was running
Debian), but had some grief to run the client on Ubuntu Linux; from your
email, it looks like you're using Windows, however.

Once I got it up and running, the remote X Server was very responsive; I
haven't done any network analysis but I don't think I had a lot of traffic
on the remote link due to the remote X.
-- 
View this message in context: http://www.nabble.com/Can%27t-connect-to-X11-window-server-using-%27%3A0.0%27-as-the-value-of-the-DISPLAY-variable-tf3703068.html#a10358707
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org