1753826 Members
8803 Online
108805 Solutions
New Discussion юеВ

Re: display error

 
himacs
Super Advisor

display error


Hi All,

I have exporting display as non-root user but getting below error.

bash-3.00$ DISPLAY=10.10.134.81:0.0
bash-3.00$ export DISPLAY
bash-3.00$ cd /tmp/JProbe_8.2/bin
bash-3.00$ ./jpconsole
jpconsole: Unable to access display "10.10.134.81:0.0"
jpconsole: Check that the DISPLAY environment variable is set correctly
and that you have permission to use that display.
bash-3.00$

Please suggest on this.


Regard
himacs
9 REPLIES 9
Dennis Handly
Acclaimed Contributor

Re: display error

What type of computer is 10.10.134.81?
Have you used xhost to allow your server to display there?
Matti_Kurkela
Honored Contributor

Re: display error

Possible reasons:

- X server configuration error on host 10.10.134.81?
- X server is not running on host 10.10.134.81?
- a software firewall on host 10.10.134.81 is blocking incoming connections?
- a network firewall is blocking the connection from the JProbe server to the display system?
- network configuration error?
- wrong IP address?

MK
MK
Johnson Punniyalingam
Honored Contributor

Re: display error

$ export DISPLAY=mymachine.mynet.uidaho.edu:0.0

$ xclock

can you follow as above as example, suspecting wrong command execution ?

$export DISPLAY=10.10.134.81:0.0
$xclock
Problems are common to all, but attitude makes the difference
himacs
Super Advisor

Re: display error

Hi Dennis ,

Thanx for the reply.

Computer is user's desktop .from he was exporting display to unix server.When i typed xhost its says not found

when i tpe echo $DISPLAY it shows desktop ip address

Regards
himacs
Horia Chirculescu
Honored Contributor

Re: display error

Hello,

Maybe you have some problems with the X server running at the IP address 10.10.134.81.

Check your setup on that station. Check that from another server your redirection works. (run xclock)


Horia.
Best regards from Romania,
Horia.
himacs
Super Advisor

Re: display error


Hi ,

Now i opened Xmanager and tried again.. i am geetting below error.

xclock showing that not found.


$ export DISPLAY=10.11.20.137:0.0
DISPLAY=10.11.20.137:0.0: is not an identifier
$ DISPLAY=10.11.20.137:0.0
$ export DISPLAY
$ echo $DISPLAY
10.11.20.137:0.0
$ xclock
xclock: not found
$ pwd
/weblogic_logs/JProbe_8.2/bin
$ ./^C
$ ./jpconsole
jpconsole: Unable to access display "10.11.20.137:0.0"
jpconsole: Check that the DISPLAY environment variable is set correctly
and that you have permission to use that display.
$ ./jpconsole
jpconsole: non-zero status returned by "/weblogic_logs/JProbe_8.2/bin/./jre/bin/java"
jpconsole: error log from command was:
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '10.11.20.137:0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$100(Unknown Source)
at sun.awt.X11GraphicsEnvironment$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.(Unknown Source)
at java.awt.Frame.(Unknown Source)
at java.awt.Frame.(Unknown Source)
at com.jprobe.console.JPConsole.displayWaitDialog(JPConsole.java:454)
at com.jprobe.console.JPConsole.main(JPConsole.java:537)



Regards
himacs
Johnson Punniyalingam
Honored Contributor

Re: display error

$ which xclock

are you able to "Use X-windows" using root ?
also can you use absolute path for xclock
Problems are common to all, but attitude makes the difference
Steven Schweda
Honored Contributor

Re: display error

> bash-3.00$ DISPLAY=10.10.134.81:0.0

> $ export DISPLAY=10.11.20.137:0.0
> DISPLAY=10.11.20.137:0.0: is not an identifier

What is this computer, and which shells are
you using on it?

> Computer is user's desktop [...]

Is this your idea of a useful description of
this system? With no information (other than
"desktop") on the OS or X software on this
system, it's hard to do more than guess how
to ensure "that you have permission to use
that display."


> $ xclock
> xclock: not found

> $ which xclock

If the shell couldn't find "xclock", what
makes you think that "which" will find it?

find /usr -name xclock
Prasanth Thomas
Valued Contributor

Re: display error

Hi Himacs,

Please download and install the xming software and try.
After the installation you have to export the display

#export DISPLAY=x.x.x.x:0.0

http://software.informer.com/getfree-putty-xming-aix/

Regards,
PT.