Set the display in UNIX

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

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

Similar Messages

  • How to set the DISPLAY variable to run admsi.pl?

    Dear Experts,
    I'm trying to patch Oracle apps R12 using admsi.pl.
    hostname: black
    APPS db: VIS
    But I keep getting the error:
    Please set the DISPLAY variable and re-run this script
    This is what I did:
    VIS database and listener are already running.
    login to the linux server as unix user: applmgr
    cd /oapps/applmgr/VIS/apps/apps_st/appl/
    . APPSVIS_black.env
    cd /oapps/applmgr/VIS/apps/apps_st/appl/ad/12.0.0/bin/
    admsi.pl
    Invoking Oracle Patch Application Assistant....
    Please set the DISPLAY variable and re-run this script
    huh ?
    set | grep -i "display"
    DISPLAY=:0.0
    set | wc
    435 486 25235
    I notice that there are 36 .env files!
    For applmgr alone!!
    find /oapps/applmgr/ -type f -name "*.env" | wc
    36 36 2626
    For oracle, there are another 7 .env files!
    find /oapps/oracle/ -type f -name "*.env" | wc
    7 7 513
    Did I get the environment (env) file correct?
    Or do I need to run a few more env first?
    If so, which ones?
    What would the order of operations be?
    sqldeveloper has given me problems with Display sometimes.
    But even sqldeveloper works fine.
    What is the secret to get admsi.pl to run in the normal manner?
    Thank a lot!

    Thanks a lot, that worked! So the perl script was wrong.
    In the meantime, I had done this, and it seemed to work:
    admsi.pl -debug
    Gathering Information..
    Enter the patch_top : /oappsinstall/update12.1.1/7303030
    Enter the APPS user password:
    Logfile for this session is located at admsi.log
    Generating installation instructions for patch 7303030..
    Updating database....
    install_7303030.html generated successfully
    install_7303030.txt generated successfully
    cat /oapps/applmgr/VIS/apps/apps_st/appl/ad/12.0.0/bin/admsi.log
    Executing begin :value := ad_manual_step_object.is_step_already_done('per_hrglobal','120.2.12010000.1'); end;
    Generating installation instructions for patch 7303030..
    Updating database....
    install_7303030.html generated successfully
    install_7303030.txt generated successfully
    Performing final cleanup..
    Do you think this worked ok?
    Thanks again!

  • How to set the display size of the PDF - in percent?

    Hi, I wonder if anyone knows if it is possible to set
    the display size of the PDF document, so that it always
    shows in, let´s say 100%, in the viewers browser window?
    Much grateful for any help!
    /Anni

    In Acrobat, under Document Properties (Ctrl+D), you can edit the Initial
    View settings, including the zoom level.

  • Setting the display name in a message

    Hello for the following code:
    String from = "[email protected]";
    Message msg = new MimeMessage(session);
    msg.setFrom(new InternetAddress(from));
    I'd like to set the display name, i.e.
    "A Message From Foo"
    However I did not see a msg.setDisplayName() method... is there any way to do this?
    As a working example, amazon sends an email with a return address of [email protected], but the display name is 'Amazon Payments' which looks a lot nicer for the customer. I'd like to do the same.
    Thanks

    Solution is:
    new InternetAddress(email_address, display_name);

  • How to set the CLASSPATH in Unix Server

    Hi, everyone~
    Do anyone noe how to set the CLASSPATH in the hp-ux server? I tried the setenv CLASSPATH, but not working.. I think should use export. But my jsp pages still cannot working, dunnoe y?
    I wonder is the hp-ux support jsp and servlet or not?
    In order to let the jsp and servlet to run properly in the unix server, what kinds of steps should taken ?
    Hope somemore who experience with this situation b4 can give me some guidance.. Thanks~~
    regards,
    tzeyik

    Tomcat ignores any and all CLASSPATH environment variables. Even if you could figure out how to set it, Tomcat wouldn't use it.
    Better to learn how Tomcat's CLASSPATH works and how to deploy Web apps properly. - MOD

  • I am unable to set the classpath from unix shell script

    ) I am new to java, provide me the solution to my problem, as it is urgent
    I am unable to execute shell script on unix machine, the code is given below:
    Basically it is not setting the classpath
    dbUpload .java is astand alone java program to retrieve the report instance statistics from crystal server
    Created a jar file from dbUpload.java as
    Jar �cvf dbUpload.jar dbUpload.class
    Here is mycode(script.sh)
    CLASSPATH=/u01/CrystalList/cecore.jar:${CLASSPATH}:
    CLASSPATH=${CLASSPATH}:/u01/CrystalList/cereports.jar:
    CLASSPATH=${CLASSPATH}:/u01/CrystalList/dbUpload.jar:
    Export CLASSPATH
    Echo ${CLASSPATH}
    Java dbUpload

    venkat123,
    if the code you posted is the original code of your script - it has some misspellings. Please try this one - it works for me both on solaris and linux.
    #! /bin/bash
    CLASSPATH=/u01/CrystalList/cecore.jar:$CLASSPATH
    CLASSPATH=$CLASSPATH:/u01/CrystalList/cereports.jar
    CLASSPATH=$CLASSPATH:/u01/CrystalList/dbUpload.jar
    export CLASSPATH
    echo $CLASSPATH
    java dbUpload

  • Java newbie questions...Setting the classpath in Unix

    When you set the classpath, how do you include anything already in the classpath? For instance, if your profile sets your classpath to
    "/home/weblogic/:home/weblogic/weblogic.jar, and you want to add MyJar.jar to it, can you enter:
    export classpath=~:MyJar.jar
    My question really boils down to how do you prefix the existing CLASSPATH environment variable to any new classes or jars you want to add to it. I think it's the tilde, but I'm not sure.

    In csh, the CLASSPATH environment variable is modified with the setenv command. The format is:
    setenv CLASSPATH path1:path2
    In sh, the CLASSPATH environment variable can be modified with these commands:
    CLASSPATH = path1:path2:...
    export CLASSPATH
    ====
    (From the Sun documentation)
    or, in sh,
    export CLASSPATH=path1:path2
    should work

  • Setting the display to binary

    Does anyone know how to set the CWIMAQViewer Palette to binary using C++? I know how to do it in Visual Basic, but I can't figure it out in C++. I need to do it programatically. Thanks in advance.

    To Set the viewer to binary:
    m_cViewer.GetPalette().SetType(4096);
    I don't know where 4096 is defined...
    To Set the viewer to grayscale:
    m_cViewer.GetPalette().SetType(2048);
    Again, I don't know where this is defined. To get these values I just inserted the line,
    long paletteType=m_cViewer.GetPalette().GetType();
    and ran the debugger to see what it set paletteType to when I changed the palette using the viewer's palette menu.

  • How to set the display ratio of master and detail view

    Currently, I use SplitApp that contain the master and detail view. And I would like to show the master view on the left half and detail view on the right half. Is there any proper way to adjust this?
    Thank you in advance.

    You can set the width ratio by adding css. Check this,
    http://jsbin.com/dakir/1

  • How do I set the display font in TB31.3?

    I would like to see all of my incoming messages displayed as plain text in the same font. Old versions of TB were able to do this. After updating to 31.3, fonts of incoming messages are all different sizes and styles and changing Preferences doesn't help. How can I set them to a single size/style?

    I've checked and unchecked everything I can think of, and it doesn't seem to help. Unless it's just that incoming messages are HTML but that doesn't seem to be the case, and it also seems like there was a big change in this behavior as soon as I updated to 31.3.

  • Unable to open the xclock in RHEL even after setting the display

    Hi All,
    I''ve install the oracle on linux before that i need to se the diplay in order to launch OUI however I couldnt make it.
    and the showstopper is shown below.
    [root@Machine1 Desktop]# DISPLAY=192.168.0.129:1.0
    [root@Machine1 Desktop]# export DISPLAY
    [root@Machine1 Desktop]# xhost +
    xhost: unable to open display "192.168.0.129:1.0"
    [root@Machine1 Desktop]#
    Could any please help on this ASAP.

    Ramu Jagini wrote:
    Hi All,
    I''ve install the oracle on linux before that i need to se the diplay in order to launch OUI however I couldnt make it.
    and the showstopper is shown below.
    [root@Machine1 Desktop]# DISPLAY=192.168.0.129:1.0
    [root@Machine1 Desktop]# export DISPLAY
    [root@Machine1 Desktop]# xhost +
    xhost: unable to open display "192.168.0.129:1.0"
    [root@Machine1 Desktop]# LOL.
    First and foremost - get out of the habit of using root unless absolutely required. You will not be able to use root in the real world and using it now for this kind of activity will simply introduce wrong habits.
    Working as root most of the time ... Bad habit. Bad bad habit. Anyone teaching to log in and stay as root ... shame. In business, auditors will note the habit and user will be reprimanded, up to and including 'go find a new job - you are not the SysAdmin'.
    Secondly - you need to understand xhost, and indeed 'display ownership'. When you log in to the Desktop, your screen is 'owned' by a userid. You use xhost (unwisely most of the time) to give permission to others to display on your screen.
    Thirdly - you need to understand the influence of DISPLAY variable - it tells programs where they should display... on an authorized display ... such as the one authorized by xhost.
    Since you want to do it the wrong way, use the following sequence:
    1) Log all the way out of Linux and the desktop (all the way - ensures you don't have screwed up environment)
    2) Log in (whatever user you wish - even the bad habit, go stand in the corner, root user)
    3) Open a new terminal and give permission to the world to use your screen and get the IP address of the machine. Prior to this xhost command do NOT su (nor set DISPLAY); do not cross Go; do not collect $200
    4) Open a new session, preferrably on a different computer (but open new terminal and then 'su - (otheruser)' will do)
    5) Under that new user, tell it to display on the IP address and screen from step 3
    6) Run xclock
    But ... to install Oracle s/w, the 'right way' is to simply log all the way out and then log in to a new desktop as the non-root Oracle owner (on the machine; or using Xming or Xceed or ...; or using VNC client such as UltraVNC or TightVNC)
    Did you notice that logging in as root by habit is a bad idea?

  • Setting the displayed text in a JList

    I have created a JList by passing it a class that implements the interface ListModel (thank you, Gita Weiner). When the JList is displayed, it shows a cryptical representation of the entries in the class. For example: leeftijd.Persoon@6190b689. (Each entry in the list is an object of type Persoon). How can I show (some of) the attributes of each Persoon object? Class Persoon has attributes First Name and Last Name. I would like to displat that information in the form 'Last Name, First Name'.
    The code looks like this:
    public class LeeftijdList extends JFrame {
         LeeftijdList(Personenlijst eenPersonenLijst) {
              super("Leeftijd");
              setSize(300, 300);
              JPanel pane = new JPanel();
              FlowLayout lm = new FlowLayout();
              pane.setLayout(lm);
              JList dataList = new JList(eenPersonenLijst);
              JScrollPane scrollPane = new JScrollPane(dataList);
              scrollPane.getViewport().setView(dataList);
              pane.add(scrollPane);
              setContentPane(pane);
         public static void main(String[] arguments) {
              Personenlijst lijst = new Personenlijst();
              lijst.init();
              JFrame frame = new LeeftijdList(lijst);
              ExitWindow exit = new ExitWindow();
              frame.addWindowListener(exit);
              frame.show();
    }Note: I don't really understand the line scrollPane.getViewport().setView(dataList). I took it from a code snippet in the API specification.

    The default renderer of JList simply uses the toString() method of the Object in the list. What you see is the the default toString() implementation of the Object class which I believe is the memory address of the Object.
    Solution. Implement the toString() method in your Object or provide a custom renderer for the JList.
    This posting shows both of the above concepts for a JComboBox althought the concept is exactly the same:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=613731

  • How to set the "display name" of an customized property

    Hi,
    I've created a customzied property of KM file with KM API, and display it in KM navigation iview. It is ok, except the Column head show the technical name of the property. But what i want is some specify display name and even can support multi language, how this can be done?? Any hint?? Thanks!!
    Best Regards,
    Xiaoming Yang

    you must change the collection render and the resource render in order to show the properties you want.
    For translation propourses check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/75/e000861cb8ad4b8e4f19dd6416346d/frameset.htm
    You must deal with resource bundle

  • How to set the display color of string?

    I want to display several lines of text string with different colors. Does anybody know how to do that?
    a simple example would be great.
    thanks in advance

    depends on how you go about it ...
    if you use labels you can use the labels setForeground(Color c); method.
    you also do this in the paint() method,
    using setPaint() , and the drawString() method og Graphics instance

  • How to set the display value of subtotal

    Hi,
    I'd like to ask a problem,
    I'm using BIEE11.1.1.6, I created a table in BIP layout,there are 3 column,
    YEAR-------COMPANY----------SALES
    2009--------A----------------------100
    2009--------B----------------------100
    2010--------A----------------------100
    2010--------B----------------------100
    2010--------C----------------------100
    I want to add a subtotal row,like
    YEAR-------COMPANY----------SALES
    2009--------A----------------------100
    2009--------B----------------------100
    2009 total------------------------200
    2010--------A----------------------100
    2010--------B----------------------100
    2010--------C----------------------100
    2010 total------------------------300
    by default, it is
    YEAR-------COMPANY----------SALES
    2009--------A----------------------100
    2009--------B----------------------100
    ---------------------------------------200
    2010--------A----------------------100
    2010--------B----------------------100
    2010--------C----------------------100
    ---------------------------------------300
    how can it show the YEAR value||' total' ? like showing '2009 total'?
    thank you!

    Hi Christian,
    Have a look at this thread Re: Default the Date Picker to Today
    It covers this issue in detail.
    Regards
    Paul

Maybe you are looking for

  • A way to amend the lightbox style - all lightboxes automatically update?

    hi guys, im setting up a video portfolio site and i was initially going to have multiple thumbnails on each page each triggering a lightbox containing one video. at a later stage i might want to change the size of the black box surrounding the video

  • 2 macs, 1 external HD: how to connect?

    I need need two macs connected to the same external HD. the problem is that the macs are in separate parts of the house. My internet connection is wireless. Can I connect both macs to the external HD through my wireless network. If it helps, I need t

  • Video clip doesn't show

    When I connect my Panasonic Lumix DMC-FZ40 camera to iphoto 2009, the video doesn't show to be downloaded.  I'm wondering if there is any thing that can be done to make the video show to allow me to download.

  • Lenovo ThinkPad Helix Mini DisplayPor​t Monitor not Detected

    My ThinkPad Helix does not detect the connection of a known good Mini DisplayPort to VGA adapter, VGA cable, and monitor. Windows 8.1 Pro Intel HD Graphics 4000 Driver 10.18.10.3958 Thanks for any troubleshooting tips.

  • How do I get my documents to print correctly?

    My MacBook Air is not printing to my canon printer correctly. Prints blank or with lines across page. I have installed printer drivers and did not help. Apple support has not been able to help with problem yet.