Is it possible to run a remote app via ssh?

If I ssh from my Macbook Pro to my iMac, I can run the xclock command like this:
ssh -X imac
/usr/X11/bin/xclock
Is it possible to do something similar with a .app application?  If I ssh in and use the "open" command to open the calculator, it opens on the Mac, but I can't see it from my Macbook:
open -a Calculator.app

The closest thing to that is Screen Sharing.

Similar Messages

  • Problems running a particular app via ssh and remote X

    Got a few apps (including things like Matlab etc.) running off one of our Linux application servers.
    Am now trying to run Stata (using xstata-se) via SGD and it will simply not work.
    It works perfectly if you manually log in to the application server from a terminal with ssh -X and run the executable, but when using SGD, it connects, finds the application, says it's starting it, but then the connection to the Linux server is simply closed. The application session (with pause/play/X buttons etc.) remains even though an X window never appears.
    I've duplicated the Matlab application that works perfectly and simply changed the executable name, so nothing is configured differently but it still refuses to work, instead simply closing the connection.
    The /opt/tarantella/var/log/webtop.log on the specific SGD server shows that the app starts correctly, yet no X window ever appears - all other X apps work fine...
    I've found that there are errors logged in /opt/tarantella/var/log/wm_error.log with:
    X connection to unix:11.0 broken (explicit kill or server shutdown).
    Any ideas?
    Edited by: Hutch on 23-Feb-2011 07:28

    I was having the same issue with Eclipse. If I launched an xterm and then ran eclipse it worked fine but as a published application, it would die after showing the Eclipse splash screen for a second. Adding the ampersand to the end of the launch command fixed it. Strange.
    Thanks for following up your post with the fix. I don't think backgrounding the process from the SGD launcher would have ever occurred to me.

  • It´s possible to use the "Remote" app with Itunes and a Nokia E72 with Joikuspot installed only? Or I´ll need to buy a modem Wifi?

    It´s possible to use the "Remote" app with Itunes and a Nokia E72 with Joikuspot installed only? Or I´ll need to buy a modem Wifi?
    I was using "remote" with a D-link modem, that works fine at my iPad. But now I´m using only the cell phone as modem 3G, and don´t want to intall a router to put new cables at my notebook.

    What?
    You want to control iTunes on your computer using the Remote app on your iPad?
    And you want to connect the iPad and computer through your Nokia?
    No, this will not work.
    Just create a network with your notebook.

  • Possible to run web dynpro apps without a portal??

    Hi
    Is it possible to run Web dynpro apps on a WAS without a portal?
    Thx

    Ah,
    Absolutely possible.
    Use url like
    http://host:port/webdynpro/dispatcher/com.your-company/yourappdc/AppName
    in your browser address bar
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Update-Help error when console application is run in remote machine via PS remoting

    Hello,
    When I execute a particular console application in a remote machine via PS remoting, I get an error related to update-help. When I execute it directly on the remote machine, it works...
    My code:
    $credential = Get-Credential -Credential "DomainName\AccountName"
    $session = New-PSSession -ComputerName "MachineName" -Authentication Credssp -Credential $credential;
    Invoke-Command -session $session -ScriptBlock {
    try{
    cd <network share location>
    .\theConsoleApp.exe | Out-File C:\console-output.txt
    $error | Out-File C:\console-error-output.txt
    $exitCode
    } catch {
    throw $error
    Error seen in the console:
    NetNat, PcsvDevice, PSDesiredStateConfiguration, SoftwareInventoryLogging, StartScreen, TLS, WindowsSearch' with UI culture(s) {en-US} : Unable to retrieve the HelpInfo XML file for
    UI culture en-US. Make sure the HelpInfoUri property in the module manifest is valid or check your network connection and then try the command again.
    $error variable from above:
    Errored out (exit code 1603) with error message: ErrorId 10010: Xpatch threw an unexpected exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    I’ve tried
    two different user accounts
    multiple file share locations
    different OSs
    different target servers
    but have not determined the cause of the error.
    I would appreciate any help on this.
    -Rohan.

    Clearly the remote EXE cannot run in that context.  YOU should not run that program remotely.
    I suspect there is also information you are not giving to us.
    ¯\_(ツ)_/¯

  • Needs a hard reset(battey pull) to run 3rd party apps via gprs

    Hi,
    My BB9300 curve runs with OS5, and I'm using airtel India carrier. I don't have BIS plan, I'm using normal gprs plan to run third party apps like opera and whatsapp.
    These apps works well with gprs, but the problem is, it suddenly stops working saying that no internet connection is available. Then to fix this I've 2 do a battery pull(hard reset) every time.
    Kindly provide any fixes available for this.
    Thanks,
    Bhavan

    Hi Bhavanscg,
    Thanks for your Post...!!
    Now OS6 is available for BB9300, so i would suggest you to upgrade OS and then observe..
    Procedure can be found at 
    http://btsc.webapps.blackberry.com/btsc/viewdocument.do?externalId=KB11320&sliceId=2&cmd=displayKC&d...

  • How to logout remote server via SSH

    I have a server running flux, I just want to log it out (it auto-logs back in, no GDM screen). How do I do this if I'm connected to it via SSH? Again, I want to log out the server as though I would do ctrl+alt+backspace locally, but through SSH.
    TIA

    I just realised how you start your session by auto login, so my above answer was pretty useless. The way I manage my server with an occasional gui session is to just use gdm and start/stop the daemon as needed via ssh then switch to a vnc  or xdmcp session.

  • Remote login via ssh and public keys

    I'm not exactly a UNIX expert, but I need to be able to remote login to my PowerBook. The problem with enabling ssh is that as soon as I'm on campus, all kinds of nefarious hosts try brute force attempts to crack my password. I've heard that public/private key logins are the answer, and I've managed to get the public key in the right place on my PowerBook (the private key resides on my iPhone, from which I'll be logging in). But I have two questions:
    1) How do I disable logins via user/password?
    2) When I use my private key, I'm asked to enter the password for the key -- ssh isn't properly storing that password. I've checked permissions, but how can I get ssh to store that password, as it should?

    1) In Sharing > Remote Login, do I still need an account listed to be able to use ssh logins with a public key? I ask because currently (i.e. password authentication enabled), when no accounts are listed, login via public key doesn't work. In other words, an account has to be listed for public key logins to work.
    Yes you still need an account name to login to that computer. However you don't need to specify an account in the sharing preferences. You can lock down the security further by limiting which user accounts can login via ssh.
    by default if you don't specify a username when you login it will use the username of the device your logging in from. So to use an alternative login name you would use
    ssh [email protected]
    whereas john can be anyname or your choosing.
    Put another way: if turn off password authentication for ssh in sshd_config, how should Sharing > Remote Login be configured?
    If you turn off password authentication you still need to allow your user account to login via ssh in the sharing preferences or you can allow all.
    2) According to that MacOS X Hints article:
    "Leopard has now a built-in support for SSH authentication with public keys.
    OSX has been able to use ssh public key authentication since day 1 of the beta release of osx. It is not new to leopared it has been around for years.
    Just open Terminal and ssh to your public-key-enabled server. A Keychain window appears, proposing you to enter the pass phrase, and then remembering it in your keychain. "
    I have not used this functionality as I don't use any passwords for ssh logins.
    They're talking about the password associated with the key. But on second thought, that password is being saved on the client, not the server, right?
    I am sure this is the case.

  • Office 2013 windows 'pop-under' when run as remote apps on Server 2008R2 from Windows 7 clients

    We have an environment with Windows 7 clients running Office 2013 via RDS on Windows Server 2008R2.
    When users double click emails from Outlook, they 'pop-under', forcing the user to relocate the window which has fallen behind the application's primary window, leaving behind a slight redraw of what is supposed to be the pop-up window. Users also experience
    difficulty opening application menu/help items and any other dialogue boxes in any/all of the other Office 2013 apps we've deployed via RDS.
    This issue persists only on Win7 PCs (WinXP does not exhibit this behaviour). The RDP clients range from 6.2.92 to 6.1.7601
    We have applied the hot-fixes applicable to all of the following KB articles:
    - KB983533 (failed / update not applicable)
    - KB2384602 (failed / update not applicable)
    - KB2614136 (failed / update not applicable)
    - KB2580346 (Installed successfully, but issue unresolved)
    - KB2522762 (Installed successfully, but issue unresolved)
    - KB2538047 (Installed successfully, but issue unresolved)
    - KB2604066 (Installed successfully, but issue unresolved)
    - KB2705427 (Installed successfully, but issue unresolved)
    - KB2682814 (Installed successfully, but issue unresolved)

    Hi,
    Please give the new Remote Desktop Client 8.1 for Windows 7 a try when it is re-released (it was removed temporarily due to an issue with smart cards).  It has fixes related to z-order issues, which
    may correct the problem you are seeing.
    Update for RemoteApp and Desktop Connections features is available for Windows
    http://support.microsoft.com/KB/2830477
    Thanks.
    -TP

  • Is it possible to run my swing app in another jre

    Hi All,
    I have a swing app jar deployed in the server having jre. It may be possible that the client may have a lower version of jre. In that case would it be possible to download the jre itself from the server (local server not Sun server) and then the run the application in the downloaded jre. The client may be in windows or linux. Please give me steps to go about it. Am new to web start. Please help ASAP.
    Thanks to all the folks out there keeping the java community alive and kicking

    Hi Andy,
    I wanted to bring the jre on the client machine on par with the one in my server which hosts the application to be launched by web start. I had posted a query on how to install a newer version of jre other than using the sun's auto installer site. I had to search high and low for such a solution. Finally got a set of servlets called web start services from the following site :
    http://lopica.sourceforge.net/.
    It helped me to host the jre installer on my server itself which woulc be used by the client to install a higher version of jre if required. I was trying to install a runtime installer of jre as per their instructions. I created a jar file called jre_1.5.05.jar created by doing a jar -cvf on the jar directory. And gave the j2se version required as <j2se version="1.5.05"> and then my helloapp.jar. Everything goes fine during the installation. It also asks me for the reboot and I did the same. However when I try to run the application, it says
    "Bad Installation. Error involving Java VM (SysExec) and then points to the directtory inm the cache as .ext/E11332440658/bin/javaw.exe.
    So I went to the directory .ext/E11332440658 in the cache. and I see that the jar has been in jarred as jre_1.5.0_05/bin/javaws.exe which should have been the actual path where web start should have looked.
    Do you have any idea why it happened? Is it possible to correct it without doing anything manually at the client side? Please reply ASAP.
    Zeus.

  • Is it possible to run Adobe CC apps from a portable hard drive on multiple computers?

    I work at a  university that is not purchasing the Adobe CC license for it's labs. As far as  I know Adobe will not create a deal that structures the fees in a way that makes it possible the University to buy into the CC platform.
    This puts me a a tough spot as a person who teaches digital media in a University setting.  Teaching legacy software (Adobe CS 5) puts our students at an immediate disadvantage.
    To get around this issue, I have come up with the idea of having students purchase Adobe CC license short term (or longer if they like) as a textbook. However my lab administrators don't think there is a reasonable way to do this.  Right now students would have to log into their User space on the University system, download software each time they came to class.  This would not work for many reasons.
    Is there a way to make  Adobe CC portable, so students can download their own CC software and carry it around with them on a portable hard drive?
    Would a system have to be installed on the portable drive or is there a way to run the software from a hard drive using the system on the computer it is attached to?
    FYI the students and instructors have have no access to the computer systems, ex administrator or / root, level of the computers.  Adding software and/or drivers can take months.  Given time , I can get our IT folks to add a limited amount of structure to the system to make it possible for students to use Adobe CC from a portable hard drive if such a solution exists.
    Thanks for your thoughts on this .
    FYI the labs I need to MAC labs running OS 10.7.X (2.7 GHz Intel Core i5 - 4 GB RAM - 1 TB HDD) -

    THe long answer is no.
    Mylenium

  • Is it possible to run presenter on Mac via Parallels?

    And, record events and activitiy on Mac software screens ( I have all of my Adobe and office software on the Mac and wonder if I want to show something on the Office for Mac could I capture it using presenter on that Mac under Parallels (or boot camp)?
    cheers,
    Fred

    Hi Fred,
    Presenter will work fine in Mac Bootcamp(Windows in Mac), but if your goal is screen/webcam capture, you can try Presenter Video Express which is video capture tool for Mac -> http://blogs.adobe.com/presenter/2013/05/adobe-presenter-video-express-for-mac-now-availab le-on-the-apple-mac-app-store.html
    Thanks,
    Vikram
    Adobe Presenter Engg. Team

  • Can the Apple TV support more multiple remote apps?

    We just got a new Apple TV and would like to use two different iPhones using different ITunes accounts to control the device through the remote app.  Is is possible?

    The multiple account is only for iTunes store not for Home Sharing :-(
    You still have to use the same ID for all phones that runs the remote app. So my kids have to pair their phone via my account as well. We can't add multiple Home Sharings either, both my kids and my fiance uses iTunes as well and have their own content but they can't access it via the ATV without going in to settings and remove me and login as them self.
    We will try with a common user id to see if that can solve our problem but I guess the new id will not get access to our content in iTunes or we have to share it some how.
    (I have ATV Software 5.1.1 on my ATV)

  • The iTune Remote App has stopped finding my iTunes library when connected to wifi from my main router, but works fine when connected via second wifi router on the same network (different SSID)

    I'm running iTunes Remote App from a couple of iPhone 5's and a first generation iPod Touch. iTunes is running on a PC - Windows 7. My home network runs two Wifi Routers, each with a different SSID. I've had no problems with the Remote app running this set up for the last 8 months but recently the App can only find my iTunes library when the iPhone/iPod is connected via one specific router, when connected to the network via the other router, no iTunes library is found. I'm also running an Apple TV and it's the same as the iTunes Library, only visible via the one SSID.
    Everything else seems to work fine when connected via either router, eg Internet on the iPhones (definitely via wifi)
    I've tried renewing the lease on the iPhone wifi connection, restarting everything.....several times.....
    It used to work fine, this only seems to have been a problem in recent weeks
    Any help or advice would be much appreciated
    Thanks
    Ian

    It turned out to be the firewall settings on our router. Her machine was sending traffic that our router interpreted as a DoS attack and blacklisted her Airport's MAC address. That's why it would work fine if she switched to Ethernet.

  • IOS Remote App and ATV2

    I cannot get the iOS remote app to connect to my Apple TV2. It connects just fine to the iTunes libraries on my network, but from three different iOS devices I get the same error. The app sees the ATV2 and tries to connect, but fails. The odd thing is, it used to work flawlessly. I hadn't used the app for a month or so and now its not working. I've tried resetting the apple TV (both power cycle and full settings reset) as well as rebooting the router and the iOS devices. I reinstalled the remote app as well. The weird thing is, I can airplay mirror to the ATV2 fine, just the remote app fails. The error message I receive after sitting at the "Connecting to Apple TV" screen is as follows:
    "Remote can't connect to your iTunes library. Check your network settings and try again.
    I have no idea what changed in my set up, perhaps a software upgrade screwed something up but I'm at a loss I've tried everything. The ATV2 is running 4.4.4, the iOS devices are all up to date running latest remote app.
    I Apple TV can access my iTunes libraries fine as well.

    Mar 30, 2013 11:31 AM Recently purchased new AirPort Extreme.  The wifi network works fine and all is well.  The issue is I can not connect my Remote app with iTunes or my Apple TV. - I have rebooted my AP Extreme as well as my AP TV and my PC. - I have logged out of Home Sharing and logged back in. - On my iPad or iPhone I add Library and receive a Passcode, I enter in the PC into iTunes and I receive an error message "The passcode you entered was incorrect. Please try again"  I receive this error when entering all my idivices. - I have deleted the Remote App and reinstalled it, but continue to receive the same error message. - All soft ware on all divices are current. - I have diabled my firewall. Who has any ideas?  Thanks MacBook Air, iOS 5.1.1

Maybe you are looking for

  • Ipad 2 crashes frequently after upgrade to iOS 8.02

    safari and and mail are the worst offenders to ios 8 it seems, although I haven't tried all my apps, can't really!  I have to restart so frequently that i can't use the iPad for too long. I stopped using Safari and mail and force-quit those apps comp

  • Do you boot from an external startup disk?  Which one?

    My IOmega USb 80gb will not be recognized as a volume that can accept the OS X install from the disk (10.4.3). I need the room for the jampacks and Reason 3.0 apps and I only have 10gb left on the internal harddrive. Does it need to a fire wire port

  • Urgent : CO product costing into the SD pricing

    client requiremnet is that product costing of material should be reflected in pricing procedure. Thanks in advance.

  • Air Port Extreme & Windows OS

    Can Air Port Extreme deliver the Internet (wirelessly) to both a MAC laptop and a Windows PC at the sametime?

  • Blackberry appworld Error

    Hi, I purchased Camcard application on blackberry AW. At the first time, it shown that ( error 10.000) and I tried to purchased one more times. It shown that ( error 14.000) . After that I realised that that my card was charged. Could you please let