cancel
Showing results for 
Search instead for 
Did you mean: 

$DISPLAY var problem, not abl to surf files on the server thru SDM

Former Member
0 Kudos

hi,

i m trying to apply CMCOLL patch 4 ... n the deployment of this is thru SDM ... our server is on solaris machine ... i copied patch 4 on server n uncar it with the help of SAPCAR utility ..... now i run the following command ...

startSDM.sh

INFO: changing output level of "com.sap.sdm" from ALL to WARNING

Starting SDM - Software Delivery Manager...

Version 1.3/6.20.20040527171849.0000

Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server usi

ng ':0.0' as the value of the DISPLAY variable.

at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)

at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:54)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:115)

at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.ja

va:53)

at java.awt.Window.<init>(Window.java:183)

at java.awt.Frame.<init>(Frame.java:310)

at java.awt.Frame.<init>(Frame.java:257)

at javax.swing.JFrame.<init>(JFrame.java:136)

at com.sap.sdm.gui.sdmFrame.<init>(sdmFrame.java:129)

at com.sap.sdm.gui.Main.startGUI(Main.java:61)

at com.sap.sdm.gui.Main.main(Main.java:142)

at com.sap.sdm.control.SDMCommandLineProcessor.startLocalGui(SDMCommandLineProcess

or.java:464)

at com.sap.sdm.control.SDMCommandLineProcessor.execute(SDMCommandLineProcessor.jav

a:124)

at com.sap.sdm.control.SDMMain.executeCommandLine(SDMMain.java:656)

at SDM.main(SDM.java:27)

********************************************************

and i got the above error .... i set my DISPLAY variable to my local machines ip address

set DISPLAY=IP of LOCAL MACHINE:0.0

my local machine has windows 2000 installed.....

so now wat i want is .... open the sdm remotegui and access the files on the server n deploy those files .....

thanx for your suggessions ....

rgds,

Nilz

Message was edited by: nilz

Message was edited by: nilz

Message was edited by: nilz

View Entire Topic
Former Member
0 Kudos

Unfortunately that is the way SDM works. If you launch the SDM client on your local machine you only have access to the files on your local machine. If you launch the SDM client on the remote machine you will only have access to files on the remote machine. Based on the error you are recieving it looks like your DISPLAY variable isn't set correctly. Which shell are you using?

Former Member
0 Kudos

hi eric,

i am using csh....

rgds,

Nilz

Former Member
0 Kudos

Are you setting the display varaible in a script or are you doing it manualy on logon? I have had trouble sometimes if it is in a script so I just started typing setenv DISPLAY xxx.xxx.xxx.xxx:0.0 and that seemed to help.