Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi All,
Unable to open a xhost console from netbackup server in my work staion.
Actually i am connecting through telnet from workstaion(sun balde150) to netbackup server(Sunfire 240) and then excuting the netbackup command #/opt/openv/netbakup/bin/jnbSA
but the netbackup console didn't open, it gives the following errorsroot@mumvbbkp # /opt/openv/net*/bin/jnbSA
The log file for this execution instance is
/usr/openv/java/logs/root.jnbSA.6887.log
Your DISPLAY environment variable is set as follows:
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:126)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Window.init(Window.java:224)
at java.awt.Window.<init>(Window.java:268)
at java.awt.Frame.<init>(Frame.java:398)
at javax.swing.JFrame.<init>(JFrame.java:198)
at vrts.common.utilities.CommonFrame.<init>(CommonFrame.java:58)
at vrts.common.utilities.CommonFrame.<init>(CommonFrame.java:53)
at vrts.nbe.JavaPresentationLayer.<init>(JavaPresentationLayer.java:56)
at vrts.nbe.AdminConsole.<init>(AdminConsole.java:44)
at vrts.nbe.AdminConsole.main(AdminConsole.java:91)
root@mumvbbkp #Previously it's working fine and i set the display also like
backupserver#DISPLAY="ip address":0.0
backupserver#export=DISPLAY
and workstion side i excuted
woekstation#xhost +I restart the workstaion once, still i am getting same above errors.
Plz send me the sloution ASAP

-The error message clearly says that DISPLAY is set to ":0.0", which is not "<IP>:0.0"
-Why do you run "xhost +" on the client ? Run it on the server, AFTER starting X and AFTER setting DISPLAY correct. The order is very important ..
-Exporting a variable is done like this:
export DISPLAYnot
export=DISPLAY

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |