Installing Application through terminal session on xserv

Hey-
I've got a xserv Tiger server, rack-mountable, which just came in. I was hopint there was some way to install software on this machine (i.e. bring up a remote desktop) using an xserver terminal.
I should admit that I am a unix person who has very little experience with MAC, but on similiar Solaris environments, using an xserver (xterm) usually does the trick.
Any help would be appreciated, i.e. setting up VNC, etc...
Thanks.

If the software is in a package format, .pkg or .mpkg, then you can use the installer command:
installer -pkg DeveloperTools.mpkg -target /
installer has a pretty good man page.
Roger

Similar Messages

  • Netra t1 105 install solaris9 from terminal session

    I have quite a problem, I am using a windows box hyper terminal into a netra t1 105 box and am able to boot up and log into the system, however as i am on a windows box i dont have the stop-a button to press when i power it down so as to boot from cdrom, I am trying to do a clean install of solaris 9 onto this box. It seems the more searching I do on this topic the more I hit my head against a brick wall....any help would be appreciated

    I believe you're looking for the STOP+A equivalent on a serial line: send a BREAK signal on the serial line.
    On some (but definitely not on all) windows versions, the bundled hyperterm can send a BREAK signal by
    pressing "control + break". Last I've looked into this I tried Win95 and Win NT 4.0 (?), one hyperterm could
    send a BREAK the other doesn't. But I don't remeber the details any more.
    I just googled a bit, and this page suggest to upgrade hyperterm to some 5.0 revision, to enable the BREAK
    signal:
    http://accuratedatasystems.com/configure-9180-HyperTerm.htm

  • MT doesn't recognize my AppleID for installed applications through AppStore (i own just one AppleID)

    Dear Apple, i own just one AppleID!
    And it sounds like i'm not the only one who is facing this issue.

    Sorry for that.
    I've been using my MacBookPro since 2010 with no problems at all so far. Just yesterday i figured out that all the apps purchased through the AppStore cannot be updated. I've heard other collegues facing in front of this problem.
    At first I with to confirm you that i own just an Apple ID. If i uninstall any of these applications listed in my AppStore then next i'm able to reinstall them downloading the app again from the store (and that would prove that i'm the designated owner for Apple). By the way after the new installation a button, asking to perform an app update, comes up. And again i fall into the issue previoulsy explained. Weird isn't it?
    I remember for sure that i have already updated some apps through the AppStore with Lion in the past.
    Thank you in advance for any kind help i can get from this discussion.
    Michele

  • SCCM 2012: install applications to terminal server (2012)?

    Hi,
    I'm trying to deploy a hotfix for App-v to a terminal server (Windows 2012). The install of the App-v 5.0 SP2 client worked fine but the install of the hotfix doesn't install silently to RDS-servers (the same install parameter works on a Windows 7 client
    = setup.exe /accepteula /qn).
    Problem: installation starts but then the installation screen pops up.
    Probably related to RDS (I should give some extra installation parameters? But why the App-v 5.0 SP2 client then installated without any issues)?
    Pls advise.
    J.
    Jan Hoedt

    How many servers? In cases like this it can be quicker to install it manually. After all, this is a one-time scenario.
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Error kAMDIncorrectArchitectureError prompt when try to install application through Iphone Configuration Utility

    When i move the ipad and the application to others computer able to install

    You need to specify architecturs that are compatible with the device you are targeting:

  • HT1338 i reinstall my macbook pro after i try to install application software but i am getting error during installation.

    i reinstall mac os through mac dvd after completing installation  i try to install application through application dvd but its showing error during installation. IPhoto,IDVD ,etc all these software i need to install but getting problem.Please resolve my problem.I checked my hardware test i passed .

    Hi,
    Try cleaning the DVD and try again. It could be that you have a bad disc.
    Open the "Console" application. "Applications -> Utilities" are there any diagnostic messages or error logs, crash reports in the Console window? If a program crashes during the installation, post the error message. The first fifty lines of the crash log should suffice.
    I'm guessing that it could be that certificate expired so the installer package is no longer trusted. You can try setting the date on your Mac back to around the date you bought it and try the installation again. I hope this helps. If not and you may need to request a new DVD.
    Let me know how it goes.

  • Hi, i have tryed to install os x leopard, (its a old imac) , disk utility is greyed out , my install dvd cant find any hdd to install on , my only way to format and configure is through terminal but dont know what commands to execute

    hi, i have tryed to install os x leopard, (its a old imac) , disk utility is greyed out , my install dvd cant find any hdd to install on , my only way to format and configure is through terminal but dont know what commands to execute...
    i tryed diffrent commands such as diskutil eraseDisk JHFS+ Disk1
    diskutil list , wont show up my harddrive , i now its functionally cause it shows up in disk utility with name and i can get info about it , but everything is greyed out can only switch between "erase , partition , recover , Raid ,....
    when i click the apple in the top left corner the whole menu is greyed out... what to do ?  help me please
    Sincerly AppleNoob92
    p.s i have no experience in apple imac's at all never used before, but im kinda windows nerd so computers i understand but this imac make my insane, cant seem to find any solutions anywhere on the WWW....

    Your HD may be crashed, so you probably should use the oringinal install discs to run Apple Hardware Test in extended mode. If error codes appear this confirms a hardware failure. In addition you cannnot repair the HD using Disk Utility from the startup disk, you have to use the origninal Install discs that shipped with the computer or the most up-to-date version of OS X on a disc that you have.

  • Deploy applications to terminal server: /install?

    Hi,
    2 practical questions:
    -how do you integrate the "change user /install" when deploying applications to terminal servers
    -do you need to use the change user /install when deploying the app-v client (guess not)?
    Please advise.
    J.
    Jan Hoedt

    #1: you can use a script that changes the install mode, installs the application and changes to install mode again
    #2: not needed
    Torsten Meringer | http://www.mssccmfaq.de

  • Installing Client Combo 10.7.4 through Terminal?

    This is totally unacceptable!! I've had this Thunderbolt Update problem since Tuesday morning and still pulling my hair out from it. I have run out of options in fixing this. Ive been using SL for over a year and only upgraded to Lion last week before this update screwed up my Mac. I can't reinstall Lion from disc recovery because some else installed it and I don't have the apple id to re download it. My other problem is I don't have another mac to do the target disk mode. I have 700gb of unbacked up data and I can't lose everything. I have the client combo update 10.7.4 on disk and I downloaded it and have it in my downloads folder. My trouble is I've tried mounting it from the disk and updating but it's not working. I've also tried from the downloads section but im having a lot of trouble with terminal. Can someone kindly help me mount and update it through terminal in startup because the directions I've followed hasn't helped me. Shame on you apple for infecting us with such a small screw up but causing massive problems. Release a fix to go back to previous settings!!

    Have you got issues? I've clearly said it's not and it was installed just to check out Lion and see how it was. Your making speculations about something that's not so if your not going to help don't say anything. I own a $3000 Mac as if a $29 operating system is going to be much and if they do things right maybe they will deserve it then. If Apple had released a working update with no bugs everyone else having the same problem would be stress free. 

  • HT4651 Mac OSX 10.8.4: I found Java visualvm on my applications through utilities. When I try to open, it says I need to install a runtime.  should I dump this? Is it safe?

    I'm a Mac OSX 10.8.4 (i-mMac): I found Java visualvm on my applications through utilities. When I try to open, it says I need to install a Java 6 SE runtime.  Should I dump this java even if I don't use the runtime? I've heard all Java is unsafe. What do you think?

    Java has had extremely serious issues with security on Macs for more than a year at least. It has been responsible for most of the malware that has infected Macs since early spring of 2012. Patches have been issued now and then, but Java is so full of holes that this hasn't really helped. (Often, new vulnerabilities have been found and exploited the next day.)
    It is true that there haven't been any KNOWN Java exploits on the Mac in a few months. (I stress the word "known," because a lot of the malware over the last 6 months has been targeted very tightly on specific individuals or small groups, making it harder to discover.)
    Bottom line, you should not trust Java in a web browser at this point. If you must use it, you should take great care.
    That said, Java is fine to use for running apps on your computer. (Just as fine as running any app.) It is only really dangerous when enabled in the web browser. You can install Java if you need to, as long as you disable it in your web browser.
    For more info, see:
    http://www.thesafemac.com/java-is-vulnerable-again/

  • Install and uninstall of .EXE application through application catalog in SCCM2012

    Hi,
    We are able to install the application through catalog for both 32bit and 64bit windows7 operating systems.
    Where as we are unable to uninstall the application for both 32 and 64bit at the same time. Either we need to give command line
    %programfiles%\Mozilla firefox\uninstall\helper.exe to uninstall in 32bit or we need to give
    %programfiles(x86)%\Mozilla firefox\uninstall\helper.exe to uninstall in 64bit separately.
    Even if i select the option run installation and uninstall program as 32-bit process on 64bit clients and give command line as
    %programfiles%\Mozilla firefox\uninstall\helper.exe it only works for 32bit systems and not for 64 bit.
    Please help me to resolve this....
    Thanks
    sunny

    Check out an older blog post I did that covers this:
    http://blog.configmgrftw.com/configmgr-2012-and-32-bit-application-installers/
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Prerequisiteinstaller.exe error - unable to install Application Server Role, Web Server (IIS) Role

    Windows Server 2012 R2 running on Hyper-V VM.  File services, App server & IIS roles installed
    SQL Server 2012 installed
    Tried:
    kb 2765260 method 1 which is kb 2771431 which ends with "not applicable to computer"
    kb 2765260 method 2 with no effect (this was power shell commands for PC's connected to the internet)
    One post suggested "aspnet_regii - enable -i" but my OS doesn't have aspnet_regii on it (not sure what that implies)
    One post suggested ServerManagerCmd.exe needed to be installed which sounds true as shown below (but where do I find this exe?)
    There are some errors in the log file,  I only included the portions where the errors are listed.  The initial lines are at the top of the log file, then I skipped to the section where the other errors were.  I can include the whole log if
    it becomes necessary.
    9:47:11 Processor architecture is (9)
    9:47:11 Reading the following string value/name...
    9:47:11 Common Startup
    9:47:11 from the following registry location...
    9:47:11 SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
    9:47:11 The value is...
    9:47:11 C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
    9:47:11 Trying to remove the startup task if there is any.
    9:47:11 C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SharePointServerPreparationToolStartup_0FF1CE14-0000-0000-0000-000000000000.cmd
    9:47:11 Error: Startup task doesn't exist. This is not a continuation after a restart.
    9:47:11 Locating the following command line arguments file:
    9:47:11 E:\PrerequisiteInstaller.Arguments.txt
    9:47:11 Error: This file does not exist
    9:47:11 Details of the current operating system:
    9:47:11 Check whether the following prerequisite is installed:
    9:47:11 Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
    9:47:11 Reading the following DWORD value/name...
    9:47:11 IsInstalled
    9:47:11 from the following registry location...
    9:47:11 SOFTWARE\Wow6432Node\Microsoft\Updates\AppFabric 1.1 for Windows Server\KB2671763
    9:47:17 Beginning download/installation
    9:47:17 Created thread for installer
    9:47:17 "C:\Windows\system32\ServerManagerCmd.exe" -inputpath "C:\Users\ADMINI~1\AppData\Local\Temp\1\PreE0DB.tmp.XML"
    9:47:17 Error: Unable to install (2)
    9:47:17 Error: [In HRESULT format] (-2147024894)
    9:47:17 Last return code (2)
    9:47:17 Reading the following DWORD value/name...
    9:47:17 Flags
    9:47:17 from the following registry location...
    9:47:17 SOFTWARE\Microsoft\Updates\UpdateExeVolatile
    9:47:17 Reading the following string value/name...
    9:47:17 PendingFileRenameOperations
    9:47:17 from the following registry location...
    9:47:17 SYSTEM\CurrentControlSet\Control\Session Manager
    9:47:17 Reading the following registry location...
    9:47:17 SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
    9:47:17 Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.
    9:47:17 Last return code (2)
    9:47:17 Options for further diagnostics: 1. Look up the return code value 2. Download the prerequisite manually and verify size downloaded by the prerequisite installer. 3. Install the prerequisite manually from the given location without any command line options.
    9:47:17 Cannot retry
    I'm presuming the first 2 errors are OK and just indicate optional startup modes for prerequisiteinstaller.exe
    The 2nd set of errors seems more serious.  I don't see ServerManagerCmd.exe on my PC that's listed in the error
    I don't understand the last error which I'm supposing triggered the listed error even though there are other errors in the log.
    Many of the existing posts don't match the configuration I'm using, and the ones that do match didn't seem to provide a usable answer.  Any help is appreciated.  Do these problems exist using Sever 2012 Standard?  I will try that, but would
    like to resolve the issue here with R2.
    Thanks.
    Best Regards,
    Alan

    ServerManagerCMD.exe is a deprecated utility and (as far as I know) is only found on Server 2008 versions, so I'm surprised it's needed for the preinstaller.  Are you trying to install SharePoint 2010?
    Running this page through Google Translate should give you an clearer idea on getting this installed.
    http://blog.hand-net.com/sharepoint/2010-06-10-error-lors-de-linstallation-des-office-web-apps-2010-sur-windows-7.htm
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Install Application - TextArea inside JScrollPane

    I've been working on an install application to install another one of my programs (next/accept/next/ finish type of thing) and had a couple questions and would appreciate any help anyone can give.
    Some Background info:
    I made images and have them display as image icons through jlabels for the buttons and background. The labels have classes applying various mouselisteners (Mousepressed, MouseEntered, MouseExited, etc) changing the images and moving from screen to screen. I have my layout set to null, not for any particular reason, but because I have no formal education in layout managers.
    1) Is there a conical solution to moving through various windows? That is, right now I move through the various 'screens' with a check on an int called state, that gets incremented and decremented through forward and back buttons. I looked at some code given to us on a test by our teacher (we had to find bugs) and saw that he had implemented a fake "state" interface, with constants like "Account_State" to control where you were in the program. This seems a bit easier to read than ints, but is there a correct built in version of his states?
    2) On the second screen I have a license agreement (actually required for the application that gets installed), and a checkbox. The license is held inside of a JTextArea(scroll) inside a JScrollPane(textscroll). The JScrollPane is extending in weird ways. The following is a stripped down version of my code (it runs and demonstrates the problem):
    InstalleApp
    import javax.swing.*;
    import java.awt.*;
    public class InstalleApp {
        public static void main(String args[]) {
            InstalleFrame m = new InstalleFrame();
               Container content = m.getContentPane();
            m.setDefaultCloseOperation(3);
            m.setSize(550, 400);
            m.setUndecorated(true);
            m.setVisible(true);
            m.setTitle("Install");
    }InstalleFrame
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.JFrame;
    import java.awt.event.*;
    import java.awt.Rectangle;
    import java.awt.Font;
    import java.awt.BorderLayout;
    import java.util.*;
    import javax.swing.event.DocumentEvent;
    import javax.swing.event.DocumentListener;
    import java.awt.event.ActionEvent;
    import javax.swing.text.BadLocationException;
    import javax.swing.JSlider;
    import java.awt.Dimension;
    public class InstalleFrame
        extends JFrame implements ActionListener {
      public InstalleFrame() {
        try {
          jbInit();
        catch (Exception ex) {
          ex.printStackTrace();
      public void actionPerformed(ActionEvent e) {
      JScrollPane textscroll;
      private void jbInit() throws Exception {
        this.getContentPane().setLayout(null);
        this.getContentPane().setBackground(UIManager.getColor("window"));
        background.setBounds(new Rectangle(0, 0, 550, 400));
        readcheck.setOpaque(false);
        readcheck.setText("I have read and accept the license agreement");
        readcheck.setBounds(new Rectangle(31, 357, 319, 32));
        scroll.setWrapStyleWord(true);
        scroll.setLineWrap(true);
        scroll.setText(
            "Copyright ? 2006-2007 GonZor228.com \n\nBy using or distributing this " +
            "software (or any work based on the software) you shall be deemed " +
            "to have accepted the terms and conditions set out below.\n\nGonZor228.com " +
            "(\"GonZor\") is making this software freely available on the basis " +
            "that it is accepted as found and that the user checks its fitness " +
            "for purpose prior to use.\n\nThis software is provided \'as-is\', without " +
            "any express or implied warranties whatsoever. In no event will the " +
            "authors, partners or contributors be held liable for any damages, " +
            "claims or other liabilities direct or indirect, arising from the " +
            "use of this software.\n\nGonZor will from time to time make software " +
            "updates available.  However, GonZor accepts no obligation to provide " +
            "any support to free license holders.\n\nGonZor grants you a limited " +
            "non-exclusive license to use this software for any purpose that does " +
            "not violate any laws that apply to your person in your current jurisdiction, " +
            "subject to the following restrictions: \n\n1. The origin of this software " +
            "must not be misrepresented; you must not claim that you wrote the " +
            "original software.\n2. You must not alter the software, user license " +
            "or installer in any way unless given permission to do so.\n3. This " +
            "notice may not be removed or altered from any distribution.\n4. You " +
            "may not resell or charge for the software.\n5. You may not reverse " +
            "engineer, decompile, disassemble, derive the source code of or modify " +
            "[or create derivative work from] the program without the express " +
            "permission of GonZor.\n6. You must not use this software to engage " +
            "in or allow others to engage in any illegal activity.\n7. You may " +
            "not claim any sponsorship by, endorsement by, or affiliation with " +
            "GonZor228.com\n8. You acknowledge that GonZor owns the copyright and " +
            "all associated intellectual property rights relating to the software.\n\n" +
            " This software license is governed by and construed in accordance " +
            "with the laws of Australia and you agree to submit to the exclusive " +
            "jurisdiction of the Australian courts.\n\nBy clicking the \"I agree\" " +
            "button below, you agree to these software license terms. If you disagree " +
            "with any of the terms below, GonZor does not grant you a license " +
            "to use the software ? exit the window.\n\nYou agree that by your installation " +
            "of the GonZor?s software, you acknowledge that you are at least 18 " +
            "years old, have read this software license, understand it, and agree " +
            "to be bound by its terms.\n\nGonZor reserves the right to update and " +
            "change, from time to time, this software license and all documents " +
            "incorporated by reference. You can always find the most recent version " +
            "of this software license at GonZor228.com.  GonZor may change this " +
            "software license by posting a new version without notice to you. " +
            "Use of the GonZor?s software after such change constitutes acceptance " +
            "of such changes.\n\n1.\tOwnership and Relationship of Parties.\n\nThe " +
            "software is protected by copyrights, trademarks, service marks, international " +
            "treaties, and/or other proprietary rights and laws of the U.S. and " +
            "other countries. You agree to abide by all applicable proprietary " +
            "rights laws and other laws, as well as any additional copyright notices " +
            "or restrictions contained in this software license. GonZor owns all " +
            "rights, titles, and interests in and to the applicable contributions " +
            "to the software. This software license grants you no right, title, " +
            "or interest in any intellectual property owned or licensed by GonZor, " +
            "including (but not limited to) the software, and creates no relationship " +
            "between yourself and GonZor other than that of GonZor to licensee.\n\n" +
            "The software and its components contain software licensed from " +
            "GonZor. The licensor software enables the software to perform certain " +
            "functions including, without limitation, access proprietary data " +
            "on third-party data servers as well as GonZor?s own server. You agree " +
            "that you will use the software, and any data accessed through the " +
            "software, for your own personal non-commercial use only. You agree " +
            "not to assign, copy, transfer, or transmit the software, or any data " +
            "obtained through the software, to any third party. Your license to " +
            "use the software, its components, and any third-party data, will " +
            "terminate if you violate these restrictions. If your license terminates, " +
            "you agree to cease any and all use of the software, its components, " +
            "and any third-party data. All rights in any third-party data, any " +
            "third-party software, and any third-party data servers, including " +
            "all ownership rights are reserved and remain with the respective " +
            "third parties. You agree that these third parties may enforce their " +
            "rights under this Agreement against you directly in their own name.\n\n" +
            "2.\tSupport and Software Updates.\n\nGonZor may elect to provide " +
            "you with customer support and/or software upgrades, enhancements, " +
            "or modifications for the software (collectively, \"Support\"), in its " +
            "sole discretion, and may terminate such Support at any time without " +
            "notice to you. GonZor may change, suspend, or discontinue any aspect " +
            "of the software at any time, including the availability of any software " +
            "feature, database, or content. GonZor may also impose limits on certain " +
            "features and services or restrict your access to parts or all of " +
            "the software or the GonZor228.com web site without notice or liability.\n\n" +
            "3.  \tFees and Payments.\n\nGonZor reserves the right to charge fees " +
            "for future use of or access to the software in GonZor?s sole discretion. " +
            "If GonZor decides to charge for the software, such charges will be " +
            "disclosed to you 28 days before they are applied if such fees will " +
            "affect your use of the product.\n\n4.\tDisclaimer of Warranties by " +
            "GonZor.\n\nUse of the software and any data accessed through the software " +
            "is at your sole risk. They are provided \"as is.\"  Any material or " +
            "service downloaded or otherwise obtained through the use of the software " +
            "(such as the \"plug-in\" feature) is done at your own discretion and " +
            "risk, and you will be solely responsible for any damage to your computer " +
            "system or loss of data that results from the download and/or use " +
            "of any such material or service.  GonZor, its officers, directors, " +
            "employees, contractors, agents, affiliates, assigns, and GonZor?s " +
            "licensors (collectively ?Associates?) do not represent that the software " +
            "or any data accessed there from is appropriate or available for use " +
            "outside the Australia.\n\nThe Associates expressly disclaim all warranties " +
            "of any kind, whether express or implied, relating to the software " +
            "and any data accessed there from, or the accuracy, timeliness, completeness, " +
            "or adequacy of the software and any data accessed there from, including " +
            "the implied warranties of title, merchantability, satisfactory quality, " +
            "fitness for a particular purpose, and non-infringement.\n\nIf the " +
            "software or any data accessed there from proves defective, you (and " +
            "not the Associates) assume the entire cost of all repairs or injury " +
            "of any kind, even if the Associates have been advised of the possibility " +
            "of such a defect or damages. Some jurisdictions do not allow restrictions " +
            "on implied warranties so some of these limitations may not apply " +
            "to you.\n\n5. \tLimitation of liability.\n\nThe Associates will not " +
            "be liable to you for claims and liabilities of any kind arising out " +
            "of or in any way related to the use of the software by yourself or " +
            "by third parties, to the use or non-use of any brokerage firm or " +
            "dealer, or to the sale or purchase of any security, whether such " +
            "claims and liabilities are based on any legal or equitable theory." +
            "\n\nThe Associates are not liable to you for any and all direct, incidental, " +
            "special, indirect, or consequential damages arising out of or related " +
            "to any third-party software, any data accessed through the software, " +
            "your use or inability to use or access the software, or any data " +
            "provided through the software, whether such damage claims are brought " +
            "under any theory of law or equity. Damages excluded by this clause " +
            "include, without limitation, those for loss of business profits, " +
            "injury to person or property, business interruption, loss of business " +
            "or personal information. Some jurisdictions do not allow limitation " +
            "of incidental or consequential damages so this restriction may not " +
            "apply to you.\n\nInformation provided through the software may be " +
            "delayed, inaccurate, or contain errors or omissions, and the Associates " +
            "will have no liability with respect thereto. GonZor may change or " +
            "discontinue any aspect or feature of the software or the use of all " +
            "or any features or technology in the software at any time without " +
            "prior notice to you, including, but not limited to, content, hours " +
            "of availability.\n\n6.  \tControlling Law.\n\nThis software license " +
            "and the relationship between you and GonZor is governed by the laws " +
            "of Australia without regard to its conflict of law provisions. You " +
            "and GonZor agree to submit to the personal and exclusive jurisdiction " +
            "of the courts located within Australia. The United Nations Convention " +
            "on the International Sale of Goods does not apply to this software " +
            "license.\n\n7.\tPrecedence.\n\nThis software license constitutes the " +
            "entire understanding between the parties respecting use of the software, " +
            "superseding all prior agreements between you and GonZor.\n\n8.\tSurviving " +
            "Provisions.\n\nSections 1, and 3 through 5, will survive any termination " +
            "of this Agreement.\n\n---------------------------------------------------------------------------------" +
            "---\nIf you accept the terms of the agreements, click I Agree to continue. " +
            " You must accept the agreement to download and use the software. ");
        scroll.setBounds(new Rectangle(36, 36, 478, 305));
        this.getContentPane().add(readcheck);
        readcheck.setVisible(false);
       this.getContentPane().add(scroll);
       textscroll = new JScrollPane (scroll, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
                                                JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
        textscroll.setBounds(36,36,400,400);
          getContentPane().add( textscroll );
        this.getContentPane().add(background);
      JLabel background = new JLabel();
      JCheckBox readcheck = new JCheckBox();
      JTextArea scroll = new JTextArea();
    }Sorry about all the text for the agreement. I've tried a number of different things I got from searching the forums at different points in the code (setting the number of rows/columns, setting max and min sizes, etc etc) The code above that wraps the text I could have sworn I tried 3 times before it magically worked... I also tried using the awt component for textareas that had the scrollbars built in, but scrapped it after having even more difficulties with that one. I'm trying to get the textbox to only go down about 300 px and 300 px to the right. Using the graphical editor to change it produces a null pointer error at compile time(?!?). Can anyone help me to get the textbox to render as I want it to?
    Edited by: rpk5000 on Jan 27, 2008 9:43 AM

    for instance, boxlayout would work nicely with the installer frame (or dialog)
    import java.awt.Dimension;
    import java.awt.EventQueue;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.BorderFactory;
    import javax.swing.BoxLayout;
    import javax.swing.JButton;
    import javax.swing.JCheckBox;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    import javax.swing.SwingUtilities;
    import javax.swing.UIManager;
    public class InstalleFrame
        public InstalleFrame()
            try
                jbInit();
            catch (Exception ex)
                ex.printStackTrace();
        private JScrollPane textscroll;
        private JPanel contentPane = new JPanel();
        private JLabel background = new JLabel();
        private JCheckBox readcheck = new JCheckBox();
        private JTextArea scroll = new JTextArea();
        private void jbInit() throws Exception
            contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.PAGE_AXIS));
            contentPane.setBackground(UIManager.getColor("window"));
            contentPane.setBorder(BorderFactory.createEmptyBorder(15, 15, 15, 15));
            scroll.setWrapStyleWord(true);
            scroll.setLineWrap(true);
            String text = "Copyright ? 2006-2007 GonZor228.com \n\nBy using or distributing this "
                            + "software (or any work based on the software) you shall be deemed "
                            + "to have accepted the terms and conditions set out below.\n\nGonZor228.com "
                            + "(\"GonZor\") is making this software freely available on the basis "
                            + "that it is accepted as found and that the user checks its fitness "
                            + "for purpose prior to use.\n\nThis software is provided \'as-is\', without "
                            + "any express or implied warranties whatsoever. In no event will the "
                            + "authors, partners or contributors be held liable for any damages, "
                            + "claims or other liabilities direct or indirect, arising from the "
                            + "use of this software.\n\nGonZor will from time to time make software "
                            + "updates available.  However, GonZor accepts no obligation to provide "
                            + "any support to free license holders.\n\nGonZor grants you a limited "
                            + "non-exclusive license to use this software for any purpose that does "
                            + "not violate any laws that apply to your person in your current jurisdiction, "
                            + "subject to the following restrictions: \n\n\nblah, blah, blah,..."
                            + "\n\n";
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 5; i++)
                sb.append(text);
            scroll.setText(sb.toString());
            contentPane.add(readcheck);
            contentPane.add(scroll);
            textscroll = new JScrollPane(scroll,
                    JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
                    JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
            textscroll.setPreferredSize(new Dimension(400, 400));
            contentPane.add(textscroll);
            JPanel bottomPane = new JPanel();
            bottomPane.setOpaque(false);
            final JButton okButton = new JButton("OK");
            final JButton cancelButton = new JButton("Cancel");
            okButton.setEnabled(false);
            readcheck.setOpaque(false);
            readcheck.setText("I have read and accept the license agreement");
            readcheck.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    JCheckBox radioBtn = (JCheckBox)e.getSource();
                    if (radioBtn.isSelected())
                        okButton.setEnabled(true);                   
                    else
                        okButton.setEnabled(false);
            okButton.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    // TODO: whatever needs to be done here
            cancelButton.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    SwingUtilities.getWindowAncestor(contentPane).dispose();
            bottomPane.add(readcheck);
            bottomPane.add(okButton);
            bottomPane.add(cancelButton);
            contentPane.add(bottomPane);
            //readcheck.setVisible(false);
            contentPane.add(background);
        public JPanel getContentPane()
            return contentPane;
        public static void main(String[] args)
            EventQueue.invokeLater(new Runnable()
                public void run()
                    InstalleFrame install = new InstalleFrame();
                    JFrame frame = new JFrame("Install");
                    frame.getContentPane().add(install.getContentPane());
                    frame.setDefaultCloseOperation(3);
                    frame.setSize(550, 400);
                    frame.setUndecorated(false);  //**
                    frame.pack();  //**
                    frame.setLocationRelativeTo(null); //**
                    frame.setVisible(true);
    }

  • Windows terminal sessions not logging off

    Hi All,
    I am new to SDG and hoping someone could shed some light on a issue i'm having with applications running on a windows terminal server.
    When i launch a windows application through SGD, it opens and works fine. When I close this application and session, it seems that the terminal session is still being held. Why does it not log off? Is there a SDG setting?
    Any help would be appreciated.
    Jason

    It looks like a process/application running in the background is keeping the session open.
    Please take a look at the following section from the administration guide:
    http://docs.sun.com/source/820-4907/chapter4.html#Z40000061308259
    Greetz,
    Remold

  • Can't format disk in a terminal session

    Hi,
    I'm trying to reinstall my mac os x server software on my headless xserve. It has a PCI raid card in and I have created a 500gb logical raid 5 volume (megaraid -create auto). However when I boot the xserve from the setup disk and then use server assist on another mac on the network to install the system it does not see any volumes available to intall the software. I know I need to format the drive but every diskutil command I try just seems to hang the terminal session and nothing happens. Please could someone give me an idea as to the terminal commands I need to use to make the volume visable to server assist.
    Thanks in advance for your help

    Hi CKlitho,
       The UNIX command, diskutil, will do anything that the GUI app, Disk Utility, will so it doesn't matter whether you use the command line or not. If there is a device file for the drive, then it is attached, can be mounted and you can do anything you want with it. Otherwise, it might as well not even be connected to the computer. You may be able to tell if there's a device file with the "df" command. (no parentheses or arguments required)
       I'm guessing that there is no device file, since otherwise the disk would probably be visible to Disk Utility. If that's the case then the problem is probably that there's no driver for the PCI card on the setup disk. If that's so you will have to arrange to boot from something that contains the driver in order to do what you want.
    Gary
    ~~~~
       The world is coming to an end. Please log off.

Maybe you are looking for

  • Mobile Broadband does not work on HP mini 110

    This is the my device: $ lsusb | grep Gobi Bus 001 Device 077: ID 03f0:1f1d Hewlett-Packard un2400 Gobi Wireless Modem sometimes another result: $ lsusb | grep Gobi Bus 001 Device 020: ID 03f0:201d Hewlett-Packard un2400 Gobi Wireless Modem (QDL mode

  • Grand total in OBIEE Answers

    I have say three columns in a report, Col A that aggregates by SUM, Col B that also aggregates by SUM and Col 3 that aggregates by Avg Col A Col B Col C Amount Qty Avg price 10 3 3.33 20 4 5 30 7 ? Grand Total (use of report total) I want to see Sum

  • Can't save edited photos in Elements 5

    I keep having an intermittent problem in saving edited photos in elements 5 - I get the same error message telling me 'the catalogue is in use elsewhere or there is a disk error'.  I shut all my apps, restart and try again, sometimes a few times and

  • User exit s implemented

    Hi , Can anyone tell me how to find all the user exits implemented in the system , If there is need to write a program can you please give me tips . Thanks in Advance Vinay Kolla

  • Using Nokia Downloader - Help please!!!

    I have recently purchased the Nokia 6500 Slide mobile phone. Have discovered that it does not have the latest software - currently has Version 08.30 (3rd July 2008). I have been advised to have it updated to the latest version. I understand it should