How to set a display variable

Hi all,
we have oracle EBS 12.1.1 installed on suse linux servers in our setup. one developer is using dev tools to have some graphs displayed while generating reports. all of a sudden we find that the graphs are not getting generated.
i am told that it is because of the DISPLAY variable in Linux. I am working as a Linux admin and I am not too sure how to set it.
i went to the company's data center to get to the console of the Linux box. I logged into the GUI and ran these commands
linux-43x3:~ # echo $DISPLAY
:0.0
linux-43x3:~ # export DISPLAY=:0.0
linux-43x3:~ # xhost +
access control disabled, clients can connect from any hostsince the display was showing :0.0, there sud not v been any issue in my opinion, but still i chose to run the export DISPLAY command.
still i find the graphs do not show up. should I run the command as root or should I run it as an apps user? and further if I log out of the GUI will the graphs still work?
i dont have much experience with oracle apps. please excuse me if this question is too silly

Hi,
>but still i chose to run the export DISPLAY command.
No problem if you set DISPLAY:0.0 AGAIN
should I run the command as root or should I run it as an apps userRun as both users.
should I run the command as root or should I run it as an apps userIt'll work, Unless you reboot the whole machine.
Regards
Taher

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 a session variable

    Hi,
    I would like to know how to set a session variable for the following purpose.
    At the top of my application I have a "Welcome <username>" I'd like it instead to have "Welcome <firstname> <lastname>".
    So the concept would be after the user logs in succesfully this session variable is dynamically set so it can be displayed.

    Hi Scott,
    I realize that I can set items etc in pages. The case I'm referring to is a reference in a template. My template has a "Welcome <user name>" ... so the code looks like "Welcome &APP_USER." Anyway to make it say "Welcome first_name last_name" in the template? Note I'll have to get the first/last names from a query
    Thanks,
    Marty

  • How to set the header variables in weblogic

    Hi,
    We have a following set up in our environment.
    We have weblogic and on the top of it we have apex listener deployed which redirects Oracle Apex.
    My Issue:
    How can we set up the header variables in weblogic once the user is authenticated against weblogic server.
    We are struck here, not knowing how to set the header variables in weblogic server. Its fairly straight forward for Oracle Access Manager or others..
    Thanks
    Ramesh P.

    maybe you are looking for the routing options
    http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1125348

  • How to set the path variable on Windows ME?

    I want to get a friend of mine to start using java the only problem is that we both dont know how to set the path variable in Windows ME. I cant seem to find any instructions on it for ME. So if someone could please tell me how or give me a llnk to directions for Windows ME. Thanks.

    Refer to the Installation Instructions for the package that you installed - I believe #5 if the instructions has the information. A link to the instructions is at the page you installed from.

  • How to set to display  rows no. in source program

    how to set to display  rows no. in source program ?

    Hi,
    If u r working in 4.5B or older then u ll get it automatically.
    If u want to get numbering in 4.7 or ECC u just do this.
    Utilities -> settings -> ABAP editor
    Then u can select new editor or lod and u can find lot of options there.
    Regards,
    Subbu

  • How to set ORACLE_HOME environment variables in win 2003

    Can anyone tell me how to set ORACLE_HOME environment variables in Win2003
    Please tell me the significance of that also.It will be really helpful if u can help me out from Path variable seting of JAVA SDK also... Thanks in advance...

    hi
    use this code IN FORMS60 variable in Regedit
    \\server\DATA\store\Forms;
    Rizwan

  • HT5661 how to set pic display while calling to contact ?

    how to set pic display on calling to contact person ?

    Hello HaD,
    The image control is installed with either the Vision Development Module or the NI-IMAQ driver, and is not a standard component found in LabVIEW.  If you have questions about the image display control or vision functions it would be better to post in the Machine Vision forum:
    http://forums.ni.com/ni/board?board.id=200
    In regards to your question, this menu is not available as a runtime property, and therefore the user of program will not be able to set it directly through the control.  Instead, you will need to allow the user to set it programmatically in LabVIEW by use of a property node. 
    To create this property node, right-click on the image display icon on your program's block diagram, and select:
    Create » Property Node » Palette » Palette Type.
    You will then be able to change the value of this property by right-clicking on the property node icon and selecting "Change All To Write".  To create a control on the front panel that the user change at runtime, right-click on the “Palette Type” input, select:
    Create » Control
    If you have any questions about the application architecture required to implement this design, please continue to post in the LabVIEW forum.
    I hope this helps.
    Best regards,
    Jasper

  • How to set the Environment Variable

    I'm going through a tutorial on how to create an application and run from the command prompt. I have finished installing my jdk 6 Upadate 5 but i don't know how to set the Environment Variable for the javac compiler and the java interpreter to find my program.
    I have created an application called "ExampleProgram" and have saved it on drive C:. How do i set the Environment Variable so that the "javac" compiler and the "java" interpreter can find it

    gyesa_say wrote:
    I'm using Windows XP Service Pack 2.A very bad choice to go with Windows. Personally I prefer Linux.
    I Google and had several information on how set it, but i tried all of them and none seem to work.I typed "how to set environmental variable in winxp" in Google and the very first link provided all the information I needed (you need). These things will make much more sense if you go through it yourself rather than having someone else spoon-fed you the answer.

  • What is proper setting for DISPLAY variable?

    Newbie to X here....
    I'm ssh'd into my RHEL 5.4 system (64 bit) and get the following error from "./runInstaller" as the oracle user.
    Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '172.21.52.87:0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
    As root, I started the vncserver via "vncserver".
    I've tried the running "runInstaller" with the DISPLAY variable set to 172.21.52.87:0.0 and as 172.21.52.87:0 but keep getting this error.
    Am I suppose to connect to this server in another way other than ssh? If so, what's recommended?
    TIA,
    John

    Hello John,
    here is a procedure how I usually start a X11 GUI:
    1) Start Xming which can be downloaded from http://sourceforge.net/projects/xming/
    2) Connect to the server with the settings as shown
    http://www.oratoolkit.ch/images/otn/puttyX11Config.png
    3) execute xhost resp. ./runInstaller
    that's all! ;)
    Cheers,
    David
    OCP 9i / 10g / 11g
    http://www.oratoolkit.ch/knowledge/howto/installation/otn.php

  • How to set a bind variable across the pages in a report

    I want to create a portal report where data will come from a table for a date range for a week.
    For e.g select event_date,last_name, event_name
    from RESOURCES
    where event_date between trunc(to_date(:curr_date,'DD-MON-RRRR'))
    and trunc(to_date(:curr_date,'DD-MON-RRRR')+ 7)
    The :curr_date is defined as a bind variable whose default value is sysdate.
    Now, when we run the report for the first time, it takes the :curr_date as
    sysdate and prints the report.
    I have two buttons in the report output like "previous week" and "next week".
    If someone presses previous week, the same report should run with curr_date
    as sysdate-7 and if someone presses next week, the report should run with
    curr_date as sysdate +7 and also the :curr_date sets to sysdate - 7 or sysdate + 7
    depending on the button pressed.
    Problem:
    How do I set the value of curr_date if someone presses any of
    previous week/next week.
    null

    Best to state your JDev version, and technology stack (eg. ADF BC) when posting.
    I can think of 2 approaches.
    1) Create a parent VO based on SELECT :bindVar FROM dual, then create links between your other VOs and the parent
    2) Create a AM client interface method that programatically sets the bind variable in each VO.
    Can you specify your use case? This one tends to come up when discussing effective from/to dated queries.
    CM.

  • How to set up display properties for a crosstab is CSS?

    I am woundring how to setup css class and code like in this tutorial.
    myalerting.css ?
    Set up display properties for a crosstab: Design Studio 1.2 - YouTube.
    Design Studio 1.2: Set up display properties for a crosstab
    if you have sample file please share I am sure other can be befits from as well.
    I would like to use color display on numbers or icons in seperate column if the value in certain range  or a value is below or avove business needs.
    Thanks.

    Kevin,
    I could not get this to work on my installation; perhaps you can review and "run with it" or someone better with CSS can assist.
    The gist of it is there is a class .sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert1Background to define the status symbol for the alerts
    Based on your Exceptions in the BEx query, Good 1 is .sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert1Background
    Good 2 is .sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert3Background
    etc... Bad 3 (red symbol) is .sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert9Background
    I tried the following custom CSS on the crosstab, note using IE (which now we can no longer use until Microsoft patches)
    myAlerting.sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlternating{
    background-color:#F9F9F9 !important;
    myAlerting.sapzencrosstab-DataCellDefault{
    background-color:#FFFFFF !important;
    myAlerting.sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert1Background
    color:rgba(0,0,0,0.0);
    background-image: url('/aad/resources/~1398612272195~/sap/zen/crosstab/themes/sap_platinum/img/exceptions/status_1.gif') !important;
    background-repeat:no-repeat !important;
    background-position:center top !important;
    myAlerting.sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert2Background
    color:rgba(0,0,0,0.0);
    background-image: url('/aad/resources/~1398612272195~/sap/zen/crosstab/themes/sap_platinum/img/exceptions/status_2.gif') !important;
    background-repeat:no-repeat !important;
    background-position:center top !important;
    myAlerting.sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert3Background
    color:rgba(0,0,0,0.0);
    background-image:url('green.png');
    background-repeat:no-repeat !important;
    background-position:center top !important;
    myAlerting.sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert9StatusSymbol
    color:rgba(0,0,0,0.0);
    background-image: url('aad/resources/~1398612272195~/sap/zen/crosstab/themes/sap_platinum/img/exceptions/status_9.gif') !important;
    background-repeat:no-repeat !important;
    background-position:center top !important;
    I didn't want to hold you up and for sure I hope there is someone in the community who could help.  I'll try again when we can use IE

  • How to set a bind variable into a vo query from the current vo ?

    I would like to exclude from my list of values defined in a view object the already referenced items in the current view object content.
    Let's say i have dept and emp with a many to many relationships, I would like that the already existing dept for emp not listed (excluded) in the list of values for emp.
    Do i need to define a bind parameters and set it during search or is it possible to use an expression that will refer the current row attribute representing the dept ?
    I didn't find an example or explanation how to set bind parameters defined in a view object query from seach pages or list of values ui components. May be somebody know how to find the info.
    Thank you

    I think that bind variable accessors in the VO class is what you need. You can override the getter method of the bind variable "LocaleCode2" in order to return the first 2 chars from the bind variable "LocaleCode". Have a look at this blog post for details:
    http://jdeveloperandadf.blogspot.com/2011/03/custom-java-bind-variable-in-where.html
    Dimitar

  • How to Set up the  variables and others to compile and Run Java Programs

    Hello,
    I have just downloaded the jdk1.6.0_07 and jre1.6.0_07 and installed it in C:\Program files\Java in my Windows XP ,So please tell me how to sett up the enviroment variables etc to compile and run Java Programs from Command Prompt.
    thanks

    To set the PATH permanently, add the full path of the jdk1.6.0_<version>\bin directory to the PATH variable. Typically this full path looks something like C:\Program Files\Java\jdk1.6.0_<version>\bin. Set the PATH as follows on Microsoft Windows:
    1. Click Start > Control Panel > System on Windows XP or Start > Settings > Control Panel > System on Windows 2000.
    2. Click Advanced > Environment Variables.
    3. Add the location of bin folder of JDK installation for PATH in User Variables and System Variables. A typical value for PATH is:
    C:\Program Files\Java\jdk1.6.0_<version>\bin

  • How to set up displaying all jsp-errors in the problems-list?

    how can i set up that all jsp-problems and warnings like "some tag does not have an end tag..." are displayed in the problem list?
    when i open up a jsp-page in the editor, the warnings are displayed i can´t see them in the problem list. in the older version (m7) these warnings have been displayed by default and i can not find any setting to display this.
    any idea?
    tnx
    Rel

    When exactly it stopped displaying in Problems View? Have you installed any other plug-ins to Eclipse?
    Try the following steps:
    - Quit & relaunch Workshop
    - In Problems View, Launch Filters... window
    - Click "Restore Defaults" button (make sure JSP problem is checked)
    - Click OK
    - Does the warnings displayed in Workshop JSP/XML Editor appear in the Problems View?
    In case you still face the same problem, please send the following information to [email protected]
    * Help > About Workshop > Click on Eclipse icon - Version & build id
    * Help > About Workshop > Click on Workshop icon - Version & build id
    * Window > Preferences > Java > Installed JREs - the JRE/JDK version
    * .log file from <Eclipse Workspsace>.metadata directory
    * m7.log.0 from <Workshop_Home_Dir>Workshop\eclipse\plugins\com.m7.nitrox_3.0.0 directory
    * <Workshop_Home_Dir>Workshop_InstallLog.log
    * If you can remember, the steps exercised (or plug-ins installed) before encountering this behavior

Maybe you are looking for

  • Modify the videoembedplayer.aspx in Sharepoint 2013

    Hi All, As we all know that SharePoint has an OOB feature to play videos/Audios. The player which is used is Videoembedplayer.aspx I have a requirement, where in I would be playing only Audios, so the current VideoEmbedplayer.aspx treats an Audio as

  • BARIN Error 628 - RS_VARIANT_EXISTS

    Hi All, Ii have a query defined and it works fine in RSRT as well as in the BEx. But my requirement is to execute the query using background using ABAP. In one of the steps I have to validatethe query using RS_VARIANT_EXISTS with query and the varian

  • The trademark symbol u00A9, u00AE, u0099  in sapscript/SO10 texts

    Hi All, We have arequirement to print the trademark symbol  ®, ™ on one of the output e.g google™. Does anybody met same problem before? Any solution for it? Thanks in advance. Trinath

  • My broadband experience. The story so far....

    Hello. I just thought I'd highlight my plight with BT. Issue is still not fixed...see my version of War and Peace below. Enjoy! On the 15th (after 2+ years of solid connectivity) the hub started flashing green and orange every 20 minutes or so..... D

  • Installing DevSuite 10 on Win98

    Hello everyone, I am trying to install the Developer Suite 10 on Windows 98, and when I start the installer, I got the message: ======================================= Using paramFile: E:\INSTALL\WIN32\oraparam.ini Checking requirements... Checking o