cancel
Showing results for 
Search instead for 
Did you mean: 

issue

NIKHIL234656595
Level 6

HI ALL,

When i run the below command,I am getting the error:

 

 

bash-3.00$ pwd

/usr/openv/netbackup/bin

 

-bash-3.00$ sudo ./jnbSA

 

        Starting administration console version 7.1.

        The log file for this execution instance is

        /usr/openv/netbackup/logs/user_ops/nbjlogs/jbp.root.jnbSA.10496.log

 

 

DISPLAY environment variable is set to:

Console was started on:

        SunOS unix234   5.10 Generic_147440-19 sun4u sparc SUNW,SPARC-Enterprise

 

Command line options were:

       ./jnbSA

 

Starting administration console version 7.1.

 

LANG=iso_8859_1

LC_CTYPE="C"

LC_NUMERIC="C"

LC_TIME="C"

LC_COLLATE="C"

LC_MONETARY="C"

LC_MESSAGES="C"

LC_ALL=iso_8859_1

 

java version "1.6.0_26"

Java(TM) SE Runtime Environment (build 1.6.0_26-b03)

Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

 

java.awt.HeadlessException:

No X11 DISPLAY variable was set, but this program performed an operation which requires it.

        at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)

        at java.awt.Window.<init>(Unknown Source)

        at java.awt.Frame.<init>(Unknown Source)

        at javax.swing.JFrame.<init>(Unknown Source)

        at vrts.common.utilities.CommonFrame.<init>(CommonFrame.java:75)

        at vrts.common.utilities.CommonFrame.<init>(CommonFrame.java:70)

        at vrts.nbe.BaseNBEFrame.<init>(BaseNBEFrame.java:83)

        at vrts.nbe.LoginFrame.<init>(LoginFrame.java:228)

        at vrts.nbe.JavaPresentationLayer.initiateLogin(JavaPresentationLayer.java:150)

        at vrts.nbe.AdminConsole.main(AdminConsole.java:57)

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

mph999
Level 6
Employee Accredited

You need to be running an x-server on the machine you wish the dispay to appear on.

(eg. Exceed or xming (xming is free)

You then have to export the display on the unix/ linux server

export DISPLAY=<ip address of pc>:0

Then jnbSA should appear on the correct screen.

 

martin

View solution in original post

6 REPLIES 6

mph999
Level 6
Employee Accredited

You need to be running an x-server on the machine you wish the dispay to appear on.

(eg. Exceed or xming (xming is free)

You then have to export the display on the unix/ linux server

export DISPLAY=<ip address of pc>:0

Then jnbSA should appear on the correct screen.

 

martin

revarooo
Level 6
Employee

You probably need to set your DISPLAY variable before running sudo ./jnbSA

 

export DISPLAY=<hostname>:0.0

 

<hostname> = the machine name where you want the java console to be displayed.

 

NIKHIL234656595
Level 6

What are the steps to do it?

Marianne
Level 6
Partner    VIP    Accredited Certified

Rather install Java Console on your desktop.

On your NBU Windows install media, find JavaInstallFiles under Addons folder.

mph999
Level 6
Employee Accredited

We have given the steps.

Install an x-server on the PC then export the display, with the command given.

 

Martin

Anonymous
Not applicable

Good X server for PC is XMing (its free)

Install it.

Run the XLaunch icon

Choose Multiple screens.

Choose No Access Controls.

On your UNIX server perform:

export DISPLAY=10.1.1.100:0.0;

 

(replace 10.1.1.100 with the IP address of the PC - of course firewall software may have rules on your PC)

Then run the sudo ./jnbSA

 

As above, there are a number of options open to you.