Display variable setting in Solaris 8

Hi guyz,
I am using the telnet session to start the application. In this case, I can't able to start because of Display variable setting.
My problem is, I can telnet from my localsystem to the Server-A. Only from Server-A, I can telnet to Server-B where my applications are.How to set Display settings in this case?
Please help me guyz.
With regards,
Amin

Hello,
how to set a variable depends on the shell. If you use the command 'uname -n' it will return the name of your system, which can in turn be resolved to the ip-address.
C-shell (csh) setenv `uname -n`:0.0
Bourne-shell (sh) set DISPLAY=`uname -n`:0.0; export DISPLAY
Korn-shell (ksh) export DISPLAY=`uname -n`:0.0
Best regards
Michael

Similar Messages

  • Frmf2xml.sh: why do i need a display variable set to transform fmb to xml?

    hallo,
    why do i need a display variable set to transform fmb to xml with a shell script (frmf2xml.sh) ?
    OS: SunOS 5.10
    Oracle Forms Developer: 10.1.2
    thank you
    christian

    Hi DrClap,
    I just wanted to check with you whether I understood your comment correctly.
    It's not possible to directly specify a physical file location path, like it is specified for HTTP URL +<c:import url= http://...+, that would internally/automatically convert in one of the form - Reader, Source, Document, String.
    It can only be produced/specified explicitly in one of the form - Reader, Source, Document, String.
    Am I correct in my understanding?
    Regards,
    Gnanam

  • DIsplay variable setting ReflectionX in Bash shell

    Everyone,
    Can somebody help me with setting display variable for running Configtool in ReflectoinX in Bash shell.
    Appreciate your time. Thanks.

    > It looks like it will work..only thing is that we need to set display variable..i assume.
    If you logon as <sid>adm then no DISPLAY (or other variable) must be set if you use XDMCP.
    > I am doing sudo for opening a java tool which needs x window..other x windows like visual admin is working fine but for configtool, i am getting this error saying display variable is not set.
    That's what I was saying - do not switch users (sudo, su etc.) - that will delete the environment and invalidate .Xauthority.
    > I am not given the <sid>adm password, can i just use X window with sudo OR do i need to get the <sid>adm password to start the configtool..
    In that case I would not use XCMCP to connect but a pure telnet, do sudo and then set the DISPLAY to
    <your-IP>:<reflection-display>. the latter can be found when open Reflection in the lower part of the configuration window.
    Markus

  • 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

  • DISPLAY variable in R12 Forms/Web tier

    Hello everyone,
    Just wanted to clarify something about the DISPLAY variable in R12 Forms/Web Tiers.  Is it necessary to have DISPLAY variable set to an active X session(Vnc) server session on Forms/Web Tiers? I understand that we need to do it for CM/Report/Admin tiers. Please confirm.
    Thanks

    968420 wrote:
    How about Forms/Web tiers?
    It's required is some cases (like the following), and I would recommend having it set on all application tier nodes to the same value.
    s_display -- Required only if you need to access graphs/charts, OLM implementation, ..etc (any page that requires DISPLAY to be set)
    Cannot Play The Course From The Class Details Page (Doc ID 391815.1)
    Receive Error When Attempting To Open A Work Plan Gantt Chart View (Doc ID 306413.1)
    s_forms-c4ws_display -- Required if you have SOA Gateway integrated
    Oracle EBS R12 Context Variables (Doc ID 458282.1)
    Thanks,
    Hussein

  • Cannot execute autocheck DISPLAY variable not set Oracle 10g Solaris 10

    Hallo!I am a total Solaris newbie. I am trying to install Oracle 10g on Solaris 10 but when I run the runInstaller,th following error appears
    Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<I have set the display parameters in the oracle user via command
    $ export DISPLAY=joey-solaris:0.0
    The SUNWxwplt is installed.
    How do I resolve this?
    Thanks

    4joey1 wrote:
    xclock can run as root user but not as oracle user
    by doing
    $ export DISPLAY=joey-solaris:0.0
    I think its similar to
    $ DISPLAY=workstation_name:0.0
    $ export DISPLAY
    as shown from your reference http://download.oracle.com/docs/cd/B19306_01/install.102/b15697/app_ts.htm#sthref1226 but still the error appears.
    Thanks.Assuming you are connecting to the solaris box from you workstation via telnet or ssh ...
    Do you have an x-server (such as Exceed or xming) running on your workstation?
    Did you set DISPLAY to the ip of your workstation, not the solaris server?
    DISPLAY is redirecting "x" output to the specified location (your workstation), and there needs to be an x-server running at that location.

  • Unable to execute runInstaller: Check if the DISPLAY variable is set

    I am unable to run the Oracle Installer (runInstaller) on my Solaris10 client (Windows Vista PC). The IP address of my PC is 192.168.0.191 and the IP address of the remote Sun server (from which I am invoking the runInstaller) is 192.168.0.192.
    COULD ANYONE PLEASE HELP ME WITH THE FOLLOWING ERROR. Thank you in advance.
    Database server machine: Solaris 10
    Client machine: Windows vista
    Connected via: SecureCRT with X11 packet forwarding enabled
    ---( ERROR )-----------------------------------------------------------
    oracle@pvsparc$ id -a
    uid=100(oracle) gid=102(oinstall) groups=102(oinstall),100(dba),101(oper)
    oracle@pvsparc$
    oracle@pvsparc$ echo $DISPLAY
    192.168.0.191:0.0
    oracle@pvsparc$
    oracle@pvsparc$ ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be 5.8, 5.9 or 5.10. Actual 5.10
    Passed
    Checking Temp space: must be greater than 250 MB. Actual 2073 MB Passed
    Checking swap space: must be greater than 500 MB. Actual 2160 MB Passed
    Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
    Some requirement checks failed. You must fulfill these requirements before
    continuing with the installation,at which time they will be rechecked.
    Continue? (y/n) [n]
    -------------------------------------------------------------------------------

    I don't know XMing, but for CygWin, you have to use a Cygwin windows to enable the XClient, not an external tool. Did you use the XMing tool windows, or did you continue with SecureCRT ?
    Steps for Cygwin :
    1. install from http://cygwin.com/setup.exe
    2. choose installation from internet
    3. the following server worked for me http://cygwin.cybermirror.org
    4. ensure the following packages are check :
    xorg-x11-base (2 KiB; required, automatically selects a base set of packages for the typical installation)
    xorg-x11-bin (1.2 MiB; optional, executables for xterm, twm, etc.)
    xorg-x11-bin-dlls (2 MiB; optional, libraries (DLLs) for executables.)
    xorg-x11-bin-lndir (5 KiB; optional, lndir program, useful for developing)
    xorg-x11-devel (964 KiB; optional, additional files needed to compile programs for Cygwin/X)
    xorg-x11-etc (335 KiB; required, configuration files for the X Server and programs in xorg-x11-bin)
    xorg-x11-f100 (12 MiB; optional, 100 dpi fonts (75 dpi fonts are used by default))
    xorg-x11-fcyr (368 KiB; optional, Cyrillic fonts)
    xorg-x11-fenc (489 KiB; required, font encodings)
    xorg-x11-fnts (16.4 MiB; required, 75 dpi fonts)
    xorg-x11-fscl (2.2 MiB; optional, Speedo and Type1 scalable fonts)
    xorg-x11-fsrv (201 KiB; optional, X Font Server)
    xorg-x11-libs-data (154 KiB; required, X11R6/lib/ files)
    xorg-x11-man-pages (551 KiB; optional, man pages)
    xorg-x11-man-pages-html (596 KiB; optional, man pages in html format)
    xorg-x11-nest (1.1 MiB; optional, Xnest nested X Server)
    X-start-menu-icons (4 KiB; optional, adds icons for X Clients to the Start menu)
    X-startup-scripts (22 KiB; required, example X Server and client startup scripts)
    xorg-x11-vfb (1.2 MiB; optional, X Virtual Frame Buffer (Xvfb) server)
    xorg-x11-xwin (1.3 MiB; required, the Cygwin/X X Server)
    xorg-x11-xwin-gl (761 KiB; optional, the Cygwin/X X Server with ***EXPERIMENTAL*** GLX acceleration)You may also want to ensure that the inetutils and openssh packages are selected if you wish to use telnet and ssh to connect to remote machines.
    5. open the Cygwin icon on your desk
    6. run the following command in the new opened window (a DOS window command) :
    sh /usr/X11R6/bin/startxwin.sh7. from the new window (a X window session), run
    ssh -Y RemoteServerIPaddress8. test by runing a xlock command
    Nicolas.

  • 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

  • No X11 DISPLAY variable was set

    Hi,
    UCM 11g is installed in the unix server. I connected to the server thru putty and run the batch loader (/.BatchLoader.sh), im getting the below error.
    No X11 DISPLAY variable was set, but this program performed an operation which r
    equires it.
    at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:1
    59)
    at java.awt.Window.<init>(Window.java:432)
    at java.awt.Frame.<init>(Frame.java:403)
    at java.awt.Frame.<init>(Frame.java:368)
    at javax.swing.JFrame.<init>(JFrame.java:158)
    at intradoc.apps.shared.SplashFrame.<init>(SplashFrame.java:48)
    at intradoc.apps.shared.AppLauncher.reportOperationError(AppLauncher.jav
    a:386)
    at intradoc.apps.shared.AppLauncher.reportError(AppLauncher.java:426)
    at intradoc.apps.shared.AppLauncher.reportFatal(AppLauncher.java:442)
    at BatchLoader.main(BatchLoader.java:106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.loader.IdcClassLoader.invokeMain(IdcClassLoader.java:338)
    at intradoc.loader.IdcClassLoader.startMain(IdcClassLoader.java:171)
    ... 1 more
    How can we rectify this.

    http://support.oracle.com
    https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(bmDocTitle=How%20to%20Launch%20Content%20Server%20Command%20Line%20Applets%20Using%20X11%20Forwarding%20Over%20SSH&viewingMode=1143&bmDocID=445469.1&bmDocType=HOWTO&from=BOOKMARK&bmDocDsrc=KB))

  • 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!

  • DISPLAY ENVIRONMENT VARIABLE SETTING

    Hi All,
    After setting the Display Environment variable and running netca
    I am getting below error:
    Oracle Net Services Configuration:
    java.lang.NullPointerException
    at oracle.ewt.lwAWT.BufferedApplet.<init>(Unknown Source)
    at oracle.net.ca.NetCA.<init>(Unknown Source)
    at oracle.net.ca.NetCA.main(Unknown Source)
    Oracle Net Services configuration failed. The exit code is -1
    Can anyone tell me what i will do

    And TEST-SERVER is the name of your local PC?
    the DISPLAY variable needs to be set to the IP of a X-Windows server, the database server will be client to this server!
    I know many people here don't know anything about Oracle nor Unix, and also don't want to learn it, and at the same time are SHOUTING all the time.
    This is getting terribly annoying.
    Sybrand Bakker
    Senior Oracle DBA

  • Re: Failed to Start Deployment Server -- X Window DISPLAY variable not set

    I don't know how you have hit that in an normal environment:-( Can you describe what you did? As long as you start the bundled AppServer in the same environment as Creator, both need the DISPLAY set.
    A guess, did you try to install Creator as root and then use it as normal user? Don't do that. Creator is intended to be installed by the user who will use it!
    I know our updated JDK now throws different exceptions when the DISPLAY variable is not set than the one before. I found that (but too late for the release) and have the needed change. But so far I was not aware that any customer had actually hit that. So it was not considered a high enough priority to go into a hotfix. I'll file a CR and the fix will hopefully make it into a patch.
    As a short term workaround for that problem (But I still believe your setup has other problems):
    Go into <Creator_home>/SunAppServer8/lib/ and replace processLauncher.xml with the backup (processLauncher.xml.bak).
    The only thing you will loose, is the little icon in the Gnome/KDE/SystemTray.
    I hope this helps,
    Thanks,
    -- Marco

    I don't know how you have hit that in an normal environment:-( Can you describe what you did? As long as you start the bundled AppServer in the same environment as Creator, both need the DISPLAY set.
    A guess, did you try to install Creator as root and then use it as normal user? Don't do that. Creator is intended to be installed by the user who will use it!
    I know our updated JDK now throws different exceptions when the DISPLAY variable is not set than the one before. I found that (but too late for the release) and have the needed change. But so far I was not aware that any customer had actually hit that. So it was not considered a high enough priority to go into a hotfix. I'll file a CR and the fix will hopefully make it into a patch.
    As a short term workaround for that problem (But I still believe your setup has other problems):
    Go into <Creator_home>/SunAppServer8/lib/ and replace processLauncher.xml with the backup (processLauncher.xml.bak).
    The only thing you will loose, is the little icon in the Gnome/KDE/SystemTray.
    I hope this helps,
    Thanks,
    -- Marco

  • JMF in Unix-Shell:  No X11 DISPLAY variable was set

    Hello guys
    I've got a client-server application. The server runs on linux and is started in the unix-shell.
    When the server just sends out data which was received before, everything works fine. But when I'm using a processor (or a player) it says:
    No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    How can I avoid this problem?
    Thanks in advance,
    Chris

    VladimrN wrote:
    ..No X11 DISPLAY variable was set, but this program performed an operation which requires it.Sounds like the problem of running in a headless environment. A google on "java headless x11" seems to turn up a number of hits.

  • Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

    Hi,
    I'm running WebLogic 5.1 sp10 on a Solaris box and I get the
    following error:
    java.rmi.RemoteException: java.lang.InternalError: Can't connect to
    X11 window server using ':0.0' as the value of the DISPLAY variable.
         at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
         at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:59)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:120)
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
         at java.awt.Font.initializeFont(Font.java:264)
         at java.awt.Font.(Font.java:298)
         at com.hrw.xls.EmailXLSThread.getCellWidth(EmailXLSThread.java:162)
    caused by the following code fragment:
    Font f = new Font(fontName, fontStyle, fontHeight);
    FontMetrics fm = (new Panel()).getFontMetrics(f);
    Have I just forgotten to set an environment variable? I would prefer
    not to install bulky pieces of software, but if that's what it takes
    to get over this error, so be it.
    Thanks, Dave A.

    A Java AWT, X11 problem posted in the weblogic ejb newsgroup. I haven't been in here for long, but
    that has to be a first.
    If you have the DISPLAY env variable set to :0.0, you have to be at the console on a Solaris box
    running the XServer. 'xdm' I think is the code that has to be running. Also, I think the format is
    <hostname:0.0> or better <hostname:0> unless you are on a multi-headed workstation. Something like:
    export DISPLAY=hostname:0
    where hostname is the name of the host running an XServer and the .xhosts file allows access to the
    XServer from the display client.
    Apparently, you are not at the console?
    Anyway, I don't think there is a newsgroup here that I could even recommend to cross-post this to as
    it is not a WebLogic question. I think I would try the Discussion Forums at http://java.sun.com.
    Bill
    "D. Alvarado" wrote:
    Hi,
    I'm running WebLogic 5.1 sp10 on a Solaris box and I get the
    following error:
    java.rmi.RemoteException: java.lang.InternalError: Can't connect to
    X11 window server using ':0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:59)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:120)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
    at java.awt.Font.initializeFont(Font.java:264)
    at java.awt.Font.(Font.java:298)
    at com.hrw.xls.EmailXLSThread.getCellWidth(EmailXLSThread.java:162)
    caused by the following code fragment:
    Font f = new Font(fontName, fontStyle, fontHeight);
    FontMetrics fm = (new Panel()).getFontMetrics(f);
    Have I just forgotten to set an environment variable? I would prefer
    not to install bulky pieces of software, but if that's what it takes
    to get over this error, so be it.
    Thanks, Dave A.

  • Display variable

    Dear all,
    11.5.9 on solaris 10
    Currently we have set display variable to a sun machine which has a display hardware. now, this display server needs to be removed. we dont have any sun machine which has a display hardware
    attached to it..
    Is it neccessary to have a machine which has a display hardware ?. is there any workaround ?
    since the current OS is sun, is it necessary to have the display hardware also running in SUN?
    Please advise
    Kai

    Kai,
    Is it neccessary to have a machine which has a display hardware ?. It is mandatory, otherwise you will receive REP-3000 error.
    is there any workaround ?Please see these docs.
    How to Start the Xvfb(1) X Server on a Headless System from the Service Management Facility (SMF) [ID 1012998.1]
    How to configure Solaris 9 Xvfb [ID 1009117.1]
    How to launch X client applications on remote Xvfb(1) X server. [ID 1003501.1]
    since the current OS is sun, is it necessary to have the display hardware also running in SUN?No, you can set the DISPLAY to any other server.
    Thanks,
    Hussein

Maybe you are looking for

  • HOW DO I LOCATE MY APPLE IPAD THAT WAS STOLEN?

    My name is Kayode, a national of Nigeria. I purchased my APPLE IPAD AIR  from JUMIA. JUMIA is an online market. it has a physical office on 6B, Universal Close, Adeniyi Jones, Ikeja, Lagos State, Nigeria, The IPAD was delivered to my office on the 4t

  • Why won't Firefox always minimize/resize? Using F11 is a patchy solution that doesn't always work

    Firefox won't always minimize or resize. The upper right hand corner just pulsates. Looking through forums, I found that using f11 can help, but it doesn't always work. Often I have to reboot. == This happened == Not sure how often == A year ago, may

  • No icon for iPod touch.

    Ok, so I used to have an iPod nano that when I would plug it into my Mac, an icon would show up and when I wanted to eject it I would drag the icon down to the trash can. Now, with the iPod touch, nothing shows up. Did I do something wrong or does th

  • Restore my message window on front...

    My application runs a thread that waits messages form other peers Whenever that receives message, just the message frame is on the window task bar BUT.. I want the message frame appear on the front of all, even the application loose focus (locked)...

  • Wierd display font in Address book

    I dont know what happened, I tried to restore address book from a time machine backup, now it displays funky, unreadable fonts in address book. I also noticed it happening in firefox only on gmail's page. I did not do anything with system fonts, and