Is there a guide to running headless on Linux?

When I run the following build:
<target name="compile.client.test" depends="setup.test">
     <mxmlc file="${client.test.src.file}" output="${client.test.bin.file}"
               fork="true" maxmemory="256m" debug="true" optimize="true"
               incremental="true">
          <default-size width="800" height="600"/>
          <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
          <source-path path-element="${client.main.src.dir}"/>
          <source-path path-element="${client.test.src.dir}"/>
          <library-path dir="${client.main.lib.dir}" append="true" includes="*.swc"/>
          <library-path dir="${client.test.lib.dir}" append="true" includes="*.swc"/>
          <compiler.verbose-stacktraces>true</compiler.verbose-stacktraces>
          <compiler.headless-server>true</compiler.headless-server>
          <static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
     </mxmlc>
</target>
<target name="test.client" depends="compile.client.test">
     <flexunit swf="${client.test.bin.file}"
          haltonfailure="true" verbose="false" localtrusted="true"
          headless="true" todir="${client.flexunit.bin.dir}"/>
</target>
I get the following error:
Buildfile: /home/rfkrocktk/Documents/Helios/activeinterview/build.xml
setup:
setup.main:
setup.test:
compile.client.test:
    [mxmlc] Loading configuration file /opt/adobe/flex/4.1.0.16076/frameworks/flex-config.xml
    [mxmlc] /home/rfkrocktk/Documents/Helios/activeinterview/activeinterview-client/build/test/test.application.swf is up-to-date and does not have to be rebuilt.
test.client:
[flexunit] Starting xvnc
BUILD FAILED
/home/rfkrocktk/Documents/Helios/activeinterview/build.xml:84: java.io.IOException: Cannot run program "vncserver": java.io.IOException: error=2, No such file or directory
Total time: 3 seconds
I assumed that this means that I don't have a VNC server implementation installed, so I installed one:
sudo apt-get install vnc4server
Now the error I'm getting is this:
Buildfile: /home/rfkrocktk/Documents/Helios/activeinterview/build.xml
setup:
setup.main:
setup.test:
compile.client.test:
    [mxmlc] Loading configuration file /opt/adobe/flex/4.1.0.16076/frameworks/flex-config.xml
    [mxmlc] /home/rfkrocktk/Documents/Helios/activeinterview/activeinterview-client/build/test/test.application.swf is up-to-date and does not have to be rebuilt.
test.client:
[flexunit] Starting xvnc
[flexunit] You will require a password to access your desktops.
[flexunit] Password:
[flexunit] getpassword error: Invalid argument
[flexunit] You will require a password to access your desktops.
[flexunit] getpassword error: Invalid argument
[flexunit] Password:
[flexunit] You will require a password to access your desktops.
[flexunit] getpassword error: Invalid argument
[flexunit] Password:
BUILD FAILED
/home/rfkrocktk/Documents/Helios/activeinterview/build.xml:84: java.io.IOException: org.flexunit.ant.launcher.commands.headless.XvncException: Could not start xvnc using displays 99-101; Consider adding to your launch script: killall Xvnc Xrealvnc; rm -fv /tmp/.X*-lock /tmp/.X11-unix/X*
Total time: 3 seconds
What does this mean? Do I need my Linux user password in order to start a vnc screen?
I have checked and the VNC server doesn't seem to be running, and I have run the scripts that it recommends. Any ideas? (I'm running Ubuntu 9.10 64bit if that helps any.)

Thanks so much for your response, it completely solved my problem.
Basically, for the future's sake, here is the whole process I went through on Ubuntu.
First, install a VNC server:
sudo apt-get install vnc4server
Next, start and configure the server:
vncserver
At this point, it should ask you to create a password for VNC. Do so, then continue.
Start a VNC screen on screen 99:
vncserver :99
If that goes through alright, then kill the screens created. (For me, when I ran vncserver for the first time, it created a screen at :1, so we'll kill both of the screens created)
vncserver -kill :99
vncserver -kill :1
Done. Now, it "just works."

Similar Messages

  • Would you consider enabling scripted Photoshop to run headless?

    Is there ANY chance of having Photoshop run headless?
    The Application.visible and Application.displayDialogs properties do not provide airtight control over photoshop's interaction with the desktop.
    Even when they are set to false and No, Ps still shows the splash screen and puts up progress bar pop-ups like Reading Photoshop Format and Rasterizing.
    Any chance the Application constructor could be overloaded as shown below?
         Application(bool runInBackground)
    Eg.
         // Manipulate a file COMPLETELY in the background...
         // ...and it is acceptible if only one thread can be active on Application at once;
         // client application will be responsible for preventing concurrent callers
         Application app = new Application(false);
         app,Open( someDocument );
         app, doSomething;
         app.ActiveDocument.Close(psSaveBehavior.psAlwaysSave);
    [An alternative design would be to have photoshop.exe honor the /Automation switch by going UI-less--setting Application.visible to true would turn on the UI.]
    Regards,
    Pete
    (phone number available upon request)

    I'm very much willing to be corrected by someone with inside knowledge and I may be completely off here, but I think a big part of the cross-platform aspect of Photoshop is to a large extent still handled simply by having duplicate code for interface elements like dialog boxes for each platform and things like that. The newer parts seem to be different, but especially the older portions of the code and many of the filters still seem to contain a lot of that (just look at the Displace effect). Maintainig a codebase that has historically grown and been subjected to tight deadlines countless times is a bigger challenge than most people realize.
    Reading between the lines of what Adobe has communicated over the last years would indicate that they initially set out to really modernize everything during the Cocoa transition (which was planned to span several release cycles), to do a clean separation between the internals and the interface and to create a cross-platform widget toolkit abstraction layer (at some point, I think they considered to transition to the interface toolkit used in the digital video applications like After Effects and Premiere), but basically, halfway into the process, Apple changed course with the discontinuation of 64-Bit Carbon and thus left Adobe in the cold. Lack of a 64-Bit version for OS X had been generating a significant amount of bad press at that point, too (largely based on misinformed assumptions of what magic and amazing things 64-Bit would offer). The Photoshop engineering team then attempted the impossible and initially tried to implement all the modernizations in one cycle, but halfway through they realized there was no way they were going to make it and decided to go with more or less a direct port of the old Carbon code to Cocoa for the time being. If they hadn't done that, there would have been no Photoshop CS5.
    The introduction of the unified panel docking system in CS3 (they are referring to it as "Adobe OWL" I think) and later the application frame was the first step of many towards modernizing the entire interface code and unifying the UI of all the suite applications (before, each application had its own separate implementation of the panel system, and suddenly owning a bunch of former Macromedia products probably didn't improve that situation either). The new dark interface and the new panel-based filters in CS6 seems to be their next logical step. Right now each application appears to still be using its own toolkit for dialog boxes and such, some of them possibly even a lot more than one, and some seem to even use the OS APIs directly (I'm not sure I really want to know all the gory details). Then there is ScriptUI, way too many of those awful Flash/Flex dialog boxes/panels and apparently even the toolbar in the Flash IDE itself, toolkits used by shared libraries that are used in more than one application, the installer and licensing system (I think those are using HTML/WebKit for some reason), then plug-ins and so on. I think someone on the internet once made a list with all the different types of sliders in Photoshop's UI, and there were quite a few of them.
    I'm sure the folks at Adobe are doing their very best to modernize and unify all the applications within the constraints of the resources they can afford to dedicate to that kind of task, but I imagine it is quite hard to sell upgrades and pay the bills by telling users "brand new version: nothing new, but now using much more elegant code to do exactly the same thing as before, and you only had to wait six years, and we only killed five engineers in the process! buy now!".

  • Chipsets & Processors - is there a guide?

    I am planing on having a new system box built for me, but I am getting confused about chipsets and processors and what is about to be released by Intel and will it be afordable or be silly money?  Is there a guide out there that a non geek can get his head round?
    As I understand it, X79 Sandy Bridge E boards will replace X58, but they need the high end i7 processors.   Is it likely that we will be able to get a MB that supports >16Gb and the i7 2700K ?  It's all too confusing.

    Harm,
    I agree. The desirable LGA 2011 CPUs would be a total waste of money if one isn't going to add additional lane-hogging PCI-e cards such as a discrete RAID card and some digital video I/O cards any time soon. This is because more than half of the CPU's 40 PCI-e lanes go unused and wasted in such relatively simple configurations.
    And I discovered more details on the least-expensive LGA 2011 CPU, the i7-3820: The limited unlock is set to a maximum of six clock speed bins above the stock Turbo maximums (which in this case are 39x for one or two cores, or 38x for three or four cores - three and two steps, respectively, above the totally stock 3.6GHz that the CPU in question is rated at). This means that with the overclock set to 45x (the maximum allowed on the i7-3820), the CPU would be running at 4.4GHz with all four cores (on limited unlocked CPUs, the multi-core multiplier cannot be set independently of the single-core multiplier whereas the fully unlocked CPUs allow independent adjustments of multiple-core and single-core multipliers). However, the BCLK on LGA 2011 will have additional multipliers of 1.25x and 1.67x in addition to the default 1.0x (the default BCLK frequency will remain 100MHz, just as in LGA 1155). So, theoretically, with all four cores of the i7-3820 in use, we could have an entry-level SB-E CPU running at a whopping 7.33GHz (however, there is a catch: Very few of the entry-level SB-E CPUs can run stably above the 4.7GHz or so that current LGA 1155 CPUs can easily reach stably).
    As a result, I still stand by my claim that the i7-3820 is worth buying only if one is planning to upgrade to a more desirable hexa-core CPU some time in the near future. At stock (3.8GHz turbo with all four cores in operation), the 3820 does not perform sufficiently better than an i7-2700K to justify spending an extra $150 or so just for an X79 motherboard (relative to the average price of a good LGA 1155 Z68 motherboard).

  • Consequences of running headless=true ?

    Are there any consequences of running in headless state, other than the obvious ?
    /J

    Hi,
    It is unlikely that the use of DECODE or CASE will have any effect. The most likely reason for the change is that the 10g CBO has processed the joins between tables in a different way resulting in a inefficient query plan being used.
    There are lots of differences between 10g CBO and earlier versions. For example, 10g introduced new strategies for processing joins, eg. right anti-joins. Also, in 10g the CBO the checks the predicates more closely, so for example, in 9i a duplicate conditions a.col1= b.col1 and a.col1= b.col1 could give a different plan from a.col1= b.col1, but in 10g it wouldn't.
    Without knowing anything about your query or how the plans have changed it is impossible to say which feature of 10g you have encountered.
    Before you spend time analysing plans, make sure that all the database statistics are accurate. Generate a plan through SQLplus or TOAD and check that the cardinality on the tables is approximately correct.
    Rod West

  • After upgrading to mountain lion i keep getting an error message saying my startup disc is full. it shouldnt be full because there is barely anything on there and i was running windows with bootcamp prior to this with no issues

    after upgrading to mountain lion i keep getting an error message saying my startup disc is full. it shouldnt be full because there is barely anything on there and i was running windows with bootcamp prior to this with no issues. my computer now freezes and programs close randomly. The usual command for opening windows with bootcamp doesnt work. once in restarted my computer after it froze and it rebooted in windows automatically. i really just want to know if there is a way to take the upgrade off my laptop because it is very annoying.

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

  • Is there a way to run a program designed for PC on my Mac?

    I would like to use the Firearms Management System offered by one of my suppliers on my Mac but the only operating system shown to use is with is Windows. Is there a way to run it on my iMac?

    Sure, many:
    (Borrowed from Kappy)
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    Install the Apple Boot Camp software.  Purchase Windows XP w/Service Pak2, Vista, or Windows 7.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    VM Fusionand Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. Boot Camp is only available with Leopard or Snow Leopard. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • Is There a Way to Run a Redo log for a Single Tablespace?

    I'm still fairly new to Oracle. I've been reading up on the architecture and I am getting the hang of it. Actually, I have 2 questions.
    1) My first question is..."Is there a way to run the redo log file...but to specify something so that it only applies to a single tablespace and it's related files?"
    So, in a situation where, for some reason, only a single dbf file has become corrupted, I only have to worry about replaying the log for those transactions that affect the tablespace associated with that file.
    2) Also, I would like to know if there is a query I can run from iSQLPlus that would allow me to view the datafiles that are associated with a tablespace.
    Thanks

    1) My first question is..."Is there a way to run the
    redo log file...but to specify something so that it
    only applies to a single tablespace and it's related
    files?"
    No You can't specify a redolog file to record the transaction entries for a particular tablespace.
    In cas if a file gets corrupted.you need to apply all the archivelogs since the last backup plus the redologs to bring back the DB to consistent state.
    >
    2) Also, I would like to know if there is a query I
    can run from iSQLPlus that would allow me to view the
    datafiles that are associated with a tablespace.Select file_name,tablespace_name from dba_data_files will give you the
    The above will give you the number of datafiles that a tablespace is made of.
    In your case you have created the tablespace iwth one datafile.
    Message was edited by:
    Maran.E

  • Is there a way to run Motion and Final Cut Pro on Separate Machines?

    Is there a way to run Motion and Final Cut Pro from the same Final Cut Studio license on separate machines? We hadn't realised when we bought Final Cut Studio that it wouldn't allow this. Our editor doesn't use motion, and while I mainly use After Effects on our motion graphics machine, I was wanting to try using motion for some particle effects. Unfortunately, it won't let me open it while Final Cut is running on our editor's machine. I can understand not letting two copies of same application run under the same serial number at the same time, but it would be nice to be able to use both programs that we own concurrently. At very least it would be good to warn you that this isn't possible in the product description, not in some fine print license agreement once you have already bought the software.
    -Matt

    I do not know of any software, in any platform that can operate from the same license over a network simultaneously.This is the exact reason for the existence of Volume Licensing. If for example a project ran in each one of the included applications from different sources that were not an active network, I doubt you would have a problem.Like, doing a project at work and geting the outcome with the Powerbook at home...Sorta!

  • Is there a way to run Internet Explorer on a Mac mini with mountain lion?

    I need to access a professional website that only works with IE (don't get me started on THAT) I need to do billing using this site so need to have full functionality.  Is there a way to run IE on my mac mini with mountain lion?

    The key takeaway here is that yes, you can access Windows 7 (and IE 9) from OS X Mountain Lion.
    The crucial question is about your workflow. If you need concurrent access to both Windows 7 and Mountain Lion, then the Bootcamp solution included with Mountain Lion would not be the right choice. You would need one of the virtualization solutions.
    If you need helpdesk support from a paid product, rather than entirely from a community forum, then the latest Parallel's Desktop or VMware would be a matter of choice, with Parallel's the better decision at this point. Either of these products are under $100, in addition to the cost of a Windows 7 license. You may need the Windows 7 installation media as an .ISO file, rather than on DVD. Check requirements.
    By example, I use Oracle's VirtualBox (free) on Mountain Lion, with a Windows 7 Home Premium 64-bit guest. The interactive and network performance of this Windows guest are more than adequate on my 2011 mini. I assigned 3 GB memory and 2 of 4 processor threads to the Windows 7 guest. I also restricted guest CPU use to 80%. VirtualBox is installed on my SSD, but the Windows guest is on an external HDD. That is not a default configuration. There are multiple choices for display; from full-screen 1920x1200 (mine) to an isolated resizeable window, to seamless integration with OS X. The Apple keyboard, bluetooth devices (trackpad/mouse), and printer all are recognized. I also have a shared OS X folder with VirtualBox, and copy/paste integration.
    I use VirtualBox as it meets my support (forum) and functional requirements.
    Best wishes,

  • Is there a way to run a 2005 PreSonus Firebox(with the firewire) to a mid-2011 iMac 0SX 10.7.2? It says its no longer supporting Power PC? Anything I can do without spending more money on new equipment or a new computer? Please help me.

    Is there a way to run a 2005 PreSonus Firebox(with the firewire) to a mid-2011 iMac 0SX 10.7.2? It says its no longer supporting Power PC? Anything I can do without spending more money on new equipment or a new computer? Please help me.

    Nevermind, I got it working.
    I ended up extracting the new vob within MPEG Streamclip, which gave me an m2v and an aiff audio. I multiplexed those two back together in FFMpegX which gave me a complete VIDEO_TS folder with BUP and IFO files I needed.

  • Is there a way to run a external ssd with my mid 2011 iMac hdd in a raid configuration and basically have a fusion drive

    is there a way to run a external ssd with my mid 2011 iMac hdd in a raid configuration and basically have a fusion drive

    A Fusion Drive is not a RAID; it's a CoreStorage logical volume group. While it's technically possible to do as you suggest, there would be little or no benefit from it.

  • I have a canon mf5940dn, it is connected via USB to my macbook air, and yet, when i want to print smith, it says the printer is not connected. does anyone has any idea why? is there a guide to do it properly?

    I have a canon printer mf5940dn, it is connected via USB to my macbook air, and yet, when I want to print smth, it says the printer is not connected. does anyone has any idea why? is there a guide to do it properly?

    Hi,
    I am currently replying to this as it shows in the iChat Community.
    I have asked the Hosts to move it to Snow Leopard  (you should not lose contact with it through any email links you get)
    I also don't do Wirelss printing so I can't actaully help either.
    10:01 PM      Friday; July 29, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Is there a guide for iCloud?

    iCloud is very confusing on how it has been implemented.  We have 4 devices in our household.  My wife has an ipad and an iphone and I have teh same.
    Up to this point, we have always used my apple ID to buy music, apps, music, etc.  I upgraded everything to new IOS and on 3 of the 4 we used my apple ID.  On the 4th my wife put in her gamecenter id. 
    So, my question is, should she be using her own apple id for icloud?  If we do that, the find my iphone feature in icloud is worthless because then I cannot use it to see her devices (I know where mine are).  Also, how can we then share calendars (that was one of the features touted in the keynote).  How do we then share the music, apps and movies?
    I also have a @me email address and cannto figure out how to port that over to iCloud.  I was forced to create a new ID.
    Is there a guide to iCloud anywhere?

    iCloud Help is the best place to learn about how to use all the features of iCloud.
    It is available by going to http://www.icloud.com/ and clicking Help.
    But, iCloud isn't really designed as a business-level service. It's more for keeping personal data in sync between personal computers and iOS-based mobile devices.
    Have a read through the Help, and also the iCloud web-pages below and see if you think it will do what you're hoping it will.
    http://www.apple.com/icloud/
    Also, the iCloud specific forums start here: https://discussions.apple.com/community/icloud?view=overview
    You might find this link useful too: http://www.apple.com/ipad/business/

  • SQL Azure Reporting - There was an exception running the extensions specified in the config file. --- Maximum request length exceeded.

    I am trying to deploy an RDL file (5MB) to SQL Azure Reporting server in South Central US using the deploy function in SQL Server Data Tools but facing the following error during deployment to Azure Reporting server.
    "There was an exception running the extensions specified in the config file. ---> Maximum request length exceeded."
    Is there any limit on the size of RDL files which can be deployed to Azure Reporting server? I have seen some online posts which talk about increasing the maxRequestLength in httpruntime of web.config in Reporting server. But in case of Azure Reporting server
    how can be make modification to this configuration?
    I have tried to upload it directly to SQL Azure Reporting server from the Management Portal --> Upload Report function which still resulted in error.
    Thanks & Regards, Deep

    Thanks for your question. Unfortunately we are in the process of deprecating SQL Reporting services.  Full details are available at http://msdn.microsoft.com/en-us/library/gg430130.aspx
    Thanks Guy

  • Trouble printing something out. Getting error message: There is a problem running Adobe Acrobat Reader. If it's running please exit and try again. 6:6

    Getting message: There is a problem running adobe Acrobat Reader. If it's running, please exit and try again. 6:6

    Hi garryw,
    What version of Reader are you using, and are you on Mac OS or Windows? Do you get the same error when you try to print other PDF files, or is the problem specific to one PDF?
    For starters, please try the solutions listed in this thread: Re: There is a problem with Adobe Acrobat /Reader. If it is running ,please exit and try again.(0:104)
    Let us know how it goes.
    Best,
    Sara

Maybe you are looking for

  • File Security and Encryption - any information?

    I'm impressed with the file sharing (free version) but if its used for business information and documents how secure are they from prying eyes / unauthorised download / hacking etc. ?

  • ExtendScript and Socket Servers

    Question 1) I'm trying to run a stable socket server within After Effects. Could someone tell me if running the SocketServer in ExtendScript Toolkit and sending messages via BridgeTalk is the best way to do this? I was looking into the InDesign Serve

  • Captivate 7 multi-slide video not working on Android

    Hello Adobe staff, still needing help with this one from my previous question "Captivate 7 event video playback controls not working." The question has now narrowed down to: How can I make a multi-slide mp4 video in HTML5 format work on Androids? It

  • Beginner question's!!!

    Hi there, Im new to this, so excuse my naivity. All my code is pretty much 'out of the box' care of Adobe CS3 templates. I am in the middle of setting up a master page for my clients site. It is a three column fixed width layout created using DIV's.

  • X11 : How to enable Xinerama?

    Hi, I have an iMac 20" with a second monitor attached, and I make heavy use of X11. The Tiger version of XQuartz has Xinerama enabled by default, meaning that X sees my 1680x1050 and my 1600x1200 external monitor as a single 3280x1200 monitor. Leopar