cancel
Showing results for 
Search instead for 
Did you mean: 

set the display in UNIX

0 Kudos
1,518

Hi

I need to access SDM to deploy the Java patch ( we have X manger enterprise 3)

We try to set the display in UNIX

sb2adm> DISPLAY=10.211.146.141:0.0

sb2adm> export DISPLAY

sb2adm> set |grep DISPLAY

DISPLAY=10.211.146.141:0.0

_=DISPLAY

sb2adm>

sb2adm> xclock

Error: Can't open display: 10.211.146.141:0.0

My questions:

When run the command set |grep DISPLAY it would be show DISPLAY=10.211.146.141:0.0

But in my case it show DISPLAY=10.211.146.141:0.0

_=DISPLAY

Thanks so much for your help!!!!

I would greatly appreciate

Regards

Naveen

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Please login as root and run xhost + (sudo is also possible), then login as <sid>adm and set the environment variable as setenv <localhost ip>:0.0

To verify that xterm is working fine, run xclock then try starting your sdm gui service.

Regards

Ram

Former Member
0 Kudos

Hi,

Please login as root and run xhost + (sudo is also possible), then login as <sid>adm and set the environment variable as setenv <localhost ip>:0.0

To verify that xterm is working fine, run xclock then try starting your sdm gui service.

Regards

Ram

markus_doehr2
Active Contributor
0 Kudos

> When run the command set |grep DISPLAY it would be show DISPLAY=10.211.146.141:0.0

What shell do you use? (check with echo $SHELL)

If it's the standard shell (csh or tcsh) your syntax to set the DISPLAY is wrong, in that case it would be

setenv DISPLAY 10.211.146.141:0.0

Markus

0 Kudos

Hi Markus,

Thanks for all your support

As per your guide I tried,

sb2adm> sb2adm> echo $SHELL

/bin/ksh93

sb2adm>setenv DISPLAY 10.211.146.141:0.0

-ksh93:: not found

Note: one of my college who in onshore he can able to access.as per below command

sb2adm> DISPLAY=xxxxxxxxx:0.0

sb2adm> export DISPLAY=xxxxxxxxx:0.0

sb2adm> set |grep DISPLAY

sb2adm > xclock

I am not able to access , there is different b/w him and me . I am access servers through Client VPN

If there is any port block or any thing/issues , if yes kindly let me know how to find the it

sivakumar_kilari3
Active Contributor
0 Kudos

Hi ,

Your shell is ksh (Korn Shell) yout have run export command.

> sb2adm>setenv DISPLAY 10.211.146.141:0.0

> -ksh93:: not found

>

> Note: one of my college who in onshore he can able to access.as per below command

>

> sb2adm> DISPLAY=xxxxxxxxx:0.0

> sb2adm> export DISPLAY=xxxxxxxxx:0.0

> sb2adm> set |grep DISPLAY

> sb2adm > xclock

You can also use same it will work.

OR

sb2adm> DISPLAY=xxxxxxxxx:0

sb2adm> export DISPLAY=xxxxxxxxx:0

sb2adm> set |grep DISPLAY

sb2adm > xclock

Thanks

siva

janlars_goedtke
Active Participant
0 Kudos

Hi,

I#m not sure about the _=DISPLAY, but have you started your x window emulation on your frontend?

Regards

Jan

0 Kudos

i started X manager Enterprise 3->Xstart on your frontend