Computing.Net > Forums > Solaris > xhost + issue

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

xhost + issue

Reply to Message Icon

Name: kishore.dpt
Date: September 10, 2008 at 00:15:41 Pacific
OS: Solaris9
CPU/Ram: 1280Mb
Product: Sun blade 150
Comment:

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 errors

root@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




Sponsored Link
Ads by Google

Response Number 1
Name: tvc
Date: December 23, 2008 at 09:54:08 Pacific
Reply:

-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 DISPLAY

not
export=DISPLAY


0
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: xhost + issue

Issue expect scripting www.computing.net/answers/solaris/issue-expect-scripting/4230.html

DTlogin failures www.computing.net/answers/solaris/dtlogin-failures/3664.html

solaris issue www.computing.net/answers/solaris/solaris-issue/4451.html