Where to set DISPLAY for Terminal

In what file can I place "export DISPLAY=localhost:0.0" so I can call up X11 apps from a Terminal window?

Hi Joe,
   Bill and Mihalis have excellent instructions for how to set the DISPLAY environment variable. I wish to make a suggestion about the value to which you set it. You don't have to set a hostname, just a number, in the display variable. An example would be:
DISPLAY='.0'
export DISPLAY
If you do this, local UNIX apps will connect to the local X11 server via a UNIX socket, whereas if you use a fully-qualified domain name, they will try to connect via a TCP network connection. By default, Apple's X11 doesn't listen for network connections, (only socket connections) so of these two choices, only the former work. I'm not sure what is done when the host specification is localhost. I think it will work but I wanted to provide an alternative in case it doesn't.
   Be sure that you follow Bill's advice for putting the command that sets the DISPLAY variable in a conditional that tests to see if it already exists. Otherwise, you'll break secure shell's X window forwarding.
Gary
~~~~
   Nostalgia isn't what it used to be.

Similar Messages

  • Setting DISPLAY for Reports60 server on Solaris

    Hello,
    Where can I find instructions on how to set the DISPLAY variable for my starting script of the reports60 server?
    Everything works fine when I set DISPLAY to a workstation running an XWindows client session, but I don't want to rely on that solution. I want to point to a server.
    Thanks in advance...
    Paul.

    Paul,
    You should be able to use either xvfb or vnc as headless servers. I think that the instructions for this are included in the iAS release notes. If you can't find anything there or in Metalink then let me know and I'll see what I can dig up.
    Thanks
    Danny

  • How to set DISPLAY for tomcat service inorder to run reports using rwrun.sh

    Here is my problem..
    I came to know that its not possible to invoke rwrun.sh without setting the DISPLAY environment variable from the servlet or any java program. But some one proposed me a solution that to set the DISPLAY variable for TOMCAT service from where my servlet invokes the shell script written for report generation using rwrun.sh. The user for tomcat service is wwwrun ..
    Do i need to set this variable in the logon script for this user ..but I couldn't find the .profile file for that.
    Is there any way to set this variable for tomcat service and get the report successfully.

    i gave export DISPLAY=aatsv001.local:0.0 in $ORACLE_HOME/bin/reports.sh
    but it gives me the following error when i invoke the report
    Xlib: connection to "aatsv001.local:0.0" refused by server
    Xlib: No protocol specified
    REP-0069: Internal error
    REP-3000: Internal error starting Oracle Toolkit.
    I also tried giving localhost and also aatsv001 (without .local)
    some one help me..

  • Where to set timezone for timezone region not found exception?

    I am Developing RIA Web Applications with Oracle ADF with sample HR schema. below is error i am getting.
    Unable to retrieve data: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found
    Please tell me how to fix it.
    Thanks
    Jaydeep

    Hi Samesh/John,
    It solved,
    Go Tools > Project Properties then
    2. (Project Properties) open select Run/Debug/Profile > in right you will see Default > Double click here or click Edit
    3. (Edit run configuration) select Launch Settings > in 'Java option' text item past this line -Duser.timezone="+06:00"
    4.close and re-open JDeveloper
    5. Run entire project
    Thanks for helping.
    Jaydeep

  • How to set proxy for 3G connection?

    Can anyone tell me where to set proxy for 3G connection?
    I think I've checked every section in Settings but failed to find anything.
    Thanks for your info.

    It's part of the cellular settings, and is usually set up by your 3G provider. You can't choose your own proxy server

  • Where to set config "Tax jurisdiction" in configuration ?

    Hello everyone.
    I am in Thailand .
    my SAP system donot need tax jurisdiction . where to set configure for not using Tax jurisdiction in the system ?
    please help.

    Hi,
    You need to make setting in customizing OBCO and OBCP.
    Regards,
    Gaurav

  • Pause / Resume button combination not working when set to display for "rest of project"

    Good day,
    I have created a set of four objects on slide2 of my project
    1. Smart Object rounded rectangle with text "(playing) - CLICK to Pause" [this is the graphic the user sees]
    2. Smart Object rounded rectangle with text "(paused) - CLICK to Resume" [this is the graphic the user sees]
    3. Smart Object rectangle, transparent, used as button, set to not display in project - btn_Resume
    4. Smart Object rectangle, transparent, used as button - btn_Pause
    A. Script assigned to btn_Pause hides btn_Pause and the "CLICK to Pause" graphic, shows the btn_Resume and "CLICK to Resume" graphic, and pauses the project by setting the system pause variable to 1
    B. Script assigned to btn_Resume hides btn_Resume and the "CLICK to Resume" graphic, shows the btn_Pause and "CLICK to Pause" graphic, and resumes the project by setting the system resume variable to 1
    C. All items are set to display from the beginning of slide2 for the "rest of project"
    On slide 2, the buttons hide/show and pause/resume behaviors work correctly.
    On slide 3, the correct initial button and graphic appears, and the click sound works when clicked, but no behaviors (show/hide/pause) occur until a good amount of time into the slide: you can click all you want for 20-30 seconds, but nothing works except the click sound. Eventually, the behavior will work.
    On slides 4 and following, the correct initial button and graphic appears, and the click sound works when clicked, but no behaviors EVER work.
    If the behaviors NEVER, EVER worked, I would keep looking for what I did not have set correctly, but the correct working on the slide where they are set, delayed behavior on the next, and no behavior on the remainder of slides following has me stumped.
    Captivate version 6.0.1.240
    Windows 7 OS
    I hope I'm missing something obvious here, and I'm more than willing to face-palm if you tell me . Otherwise, I have not been able to find any setting that makes any difference. I would REALLY rather not duplicate the buttons and scripts on every page of the project. Given the blog posts I have seen saying this method should work just fine, I'm hoping there is a side quirk somewhere that I'm missing.
    Thanks for any help you can give.

    Without clouding with too much explanation, this technique arose out of a need to deal with (in a different project) objects that were grouped, and wanting to deal with the groups in as simple a way as possible, allow for easy swapping of group assets, and having a few buttons do multiple things. The idea of being able to have multiple interactive buttons stacked on top of each other while appearing for the rest of the project led to trying this simple construct before trying something more complex.
    You are correct, that there is a simpler solution, which we ended up using because we were not able to get two interactive buttons stacked on top of each other while displayed for the rest of the project to work properly (although that is SUPPOSED to work, as far as I understand).
    Here's what we ended up doing:
    A) Two smartshapes used as messaging graphics
    B) A single (one) interactive smartshape used as a button
    C) A conditional action to pause/resume and show/hide the appropriate messaging graphics
    D) All three objects (A&B) stacked, B on top.
    E) All objects set to always appear on top, and to display for rest of project.
    Our hypothesis, then, is that you are not able to stack interactive objects on top of each other and then display for the rest of the project.
    If anyone has evidence to the contrary, we would, gladly, take a look.
    Thanks for your interest Lilybiri, and for your input.
    Best regards,
    Hank

  • Is there a PS setting where it can read my Canon Mark 3 5D's monochrome setting so that the files will also appear in monochrome instead of colour? Or do I have to change from RAW each time to Monochrome within PS (even if I have set up for Monochrome in

    Is there a PS setting where it can read my Canon Mark 3 5D's monochrome setting so that the files will also appear in the same monochrome structure (instead of appearing in colour as it is now when i open in PS, not even monochrome)? Or do I have to change from RAW each time to Monochrome within PS (even if I have set up for Monochrome in my 5D)?
    1. Basically I am taking photos with a monochrome setting with my 5D and the screen shows monochrome.
    2. when i import this onto my computer and open with PS, it opens in colour.
    3. when I change this to Monochrome in PS. (It cannot read my monochrome setting with my preference of the greyscale mix when I viewed it on my 5D)
    4. my question is: is there a way so that PS can read the monochrome setting from my 5D and display the same monochrome setting as my 5D instead of a different one from PS.
    Lily

    you need camera raw 6.7 or better.
    i don't know what version of ps you have so i can't say if it can be updated to use that, but update anyway.
    pre cc updates:  http://www.adobe.com/downloads/updates/
    cc updates:  http://prodesigntools.com/adobe-cc-updates-direct-links-windows.html
    cc 2104 updates:  http://prodesigntools.com/adobe-cc-2014-updates-links-windows.html
    if you can't update your cr sufficiently, use the dng converter. DNG Converters:
    Win
    Mac

  • I wander where to set import job for transports

    I wander where to set import job for transports to be imported automatically. On transport domain controller I can not manage other job than the one for the system itself.
    On the system which is not transport domain controler I have only display function

    are you asking for 'automatic import' in QAS/PRD ?
    When you go to STMS import queue in a particular system like QAS, there you can see a button 'import all'. This will enable to you schedule automatic import periodically in intervals for eg. 15 min or whatever you want.
    just click on import all and it will ask for inputs and schedule
    OR, do you want to confirm for RDDIMPDP job ?
    Run report RDDNEWPP to schedule RDDIMPDP
    Edit: Note 11677 - Transports with event-controlled RDDIMPDP

  • Text caption set up to display for all of slide

    hello
    i'm using captivate 5 and have another query.
    is there a way to automatically set up text captions to display for the whole slide not a specific time? I know how to set this, but to go through and do this for every text caption is proving to be very time consuming.
    look forward to hearing from you.

    The Timing accordion of the Text caption could allow you to apply the setting 'For rest of slide' to all text captions (use the curved arrow, highlighted in screenshot), but the drawback is that this timing accordion also has the start time that will then be applied to all text captions, which is not always what you'll want. So for the example of the screenshot, all text captions would get a start at 4,5secs if I applied this setting to all.
    If you want all future Text Captions in all projects to have the setting 'For rest of slide' make changes to the Preferences before opening a project.
    Lilybiri

  • Connecting to an external display using the setting optimised for built in screen?

    i am having trouble connecting to an external display with the lid closed and the settings is optimised for built in display.
    it was working nicely until yesterday when i changed the resolution.
    and now i cant take it to optimised for built in display, only if the lid is opened and i want it closed.
    can i know how to return it to the setting (optimised for built in display) with the lid closed?

    Hello there, hasan.
    The following Knowledge Base article offers some great information for troubleshooting usig and external display with your Mac:
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/HT1573
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How do i set up a second display for my iMac desktop?  I want to use both displays at the same time.

    how do i set up a second display for my iMac desktop?  I want to use both displays at the same time.  My iMac is the 24" Late 2006 model.  I recall that there is a cord for plugging in a second monitor, but I want to make sure that i can use both monitors side-by-side at the same time.  thank you.

    If the Display supports DVI, then you will need a > Mini-DVI to DVI Adapter and a DVI cable.
    If the Display only supports VGA, then you wiil need a > Mini DVI to VGA Adapter and a VGA cable.
    Noting that the (digital) DVI is far better than the (analog) VGA connection.
    Also see > Using Dual Displays on Mac OS X: The Experience

  • How do I set up an indicator to display for only 1 second?

    How do I set up an indicator to display for only 1 second?
    I am reading keys from a serial device and I turn on an indicator that corresponds to the key pressed
    on the serial device but how do I set this up so that it only stays lit (enabled) for a second or two?
    The indicator is inside of a case statement and turns on OK but I do not want it to stay on for more than
    a second or two. How do I modify this to display for only a second or two?
     (P.S. I am running an old version 8.2 and can only see vis that are 8.2 or older.)
    thanks

    Simplest way to turn the indicator off (false value) after a set time is to use a Sequence structure (flat or stacked).
    Frame 1, set to true,
    Frame 2, Wait ms (wire millisecond value to wait)
    Frame 3, set to false.
    This method, however, prevents the code outside the case structure from running during that wait time.  
    Something more elaborate will allow the external code to run.  What comes to mind is a shift register that holds the indicator name and the time stamp (in milliseconds) when it was turned on, in an array of clusters.  Each iteration of your loop will check this register to see if a certain time has passed (current time stamp minus turn on time).  If so, use a case structure to turn the indicator off and remove the elements from the shift register array (so you don't keep setting the indicator to false).  The array will let you control multiple indicators independently.
    A problem with this option could arise from multiple readings.  Lets say you want to turn it off after 2 seconds, but you read the value again after 1 second (this means the indicator should be on for a total of 3).  The code would still turn it off after the 2 second mark.  Of course this really depends on the time intervals involved with your code.

  • What is the factory set password for the administrator for a macbook pro 13" retina display?

    what is the factory set password for the administrator for a macbook pro 13" retina display?

    Welcome to Apple Support Communities
    Macs don't come with a password. You have to set up the password during the initial setup. If you have forgotten your password, follow these steps to reset your password > http://discussions.apple.com/docs/DOC-4101

  • Set password for code / no display

    hi all
               i have written some report 'z1'. i don't want other to view my code . is there any way to set password for my code ? is there any other solution.
    thanks
    bala

    If you hide the source as described in this posting, the program cannot be regenerated.  If any dictionary object that your program uses gets changed, then the system will mark your program as needing to be regenerated.  The next time it is executed, the system will attempt to regenerate, will fail to find the source code and therefore your program is unusable.
    You may also lose the ability to debug the program.
    You may also lose the ability for the dump manager to point out the line of code where a failure occurred.
    As long as you are okay with these restrictions, then go for it and let us know how it goes.

Maybe you are looking for

  • Created by date is identical on ALL projects!!

    Whyyyyyyyy is the created by date the same on ALL projects??!!!!

  • IMac white screen of death

    When I start up my iMac, I hear the start-up sound and see the white screen, followed by two beeps, then three beeps repeatedly. It will not respond to anything. Any suggestions? Thanks.

  • Embedded font not appearing...

    If you run the following code provided you have a MC on stage with "ball" as instance name, the text appears as intended. However if you uncomment the line that embeds the font, it does not display at all. I have a Font symbol in my library with the

  • Credit note linked to a closed AR invoice

    Hi! I have a problem: I need to create a Credit Note for an invoice with status 'closed' but i noticed that the copy feature is disabled and i wanted to know if there was a SAP note that refers to this problem.

  • Webservices for soap adapter

    Hi, how to Create Webservices for XI message interfaces? Please help me out. Thanks.