Finder to remote linux machine communication

Amongst other things, I'm using my mac as a display for jobs being run on a remote linux workstation via X11. That all works great. I have the linux machine mounted on my mac and can navigate it via the Finder. What I'd like to be able to do in the Finder is navigate to a specific kind of file (whose extension is 'use') on the linux box and double click on it and have the linux machine start a job on that file and display it back to the mac. If I double click on such a file, can I invoke a shell script (or whatever) on the mac which takes the full path name of the double clicked file as an argument. That shell script would basically contain something like:
xhost + linux_machine
rsh linux_machine -l myuserid linux_script fullfilename
where linux_script is a script that would run on the linux box which would start the desired job and xdisplay it back to the mac.
Ideally the script that runs on the mac would not bring up any transient terminal windows etc.
Any ideas on the best way to accomplish this?
Many thanks,
Mick.

Hi Michael,
I'm (mostly) all up and running now. I wrote an AppleScript based application that does all the shell script commands (ssh etc) based on the file and path name passed into it from the Finder when I double-click on my *.use files. I have tried to set up all *.use files to be operated on by my AppleScript application via the GetInfo window but, infuriatingly, the GetInfo window refuses to accept the application when I click on Change All. When I do that the Open With application just changes to <None>. I tried removing my ~/Library/Preferences/com.apple.LaunchServices.plist file and letting it regenerate itself, but the system stubbornly refuses to accept the application binding. I can do the bindings individually, but not globally. I have hundreds of these files...
If anybody know their way around this Finder bug (I think it's a bug) then I'm all ears.
Thanks.

Similar Messages

  • Applet unable to connect to a remote linux machine

    I have an applet running on my system. There is a server running on the linux machine. while trying to connect to this server from my applet the following exception is obtained.
    java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.20.244:5222 connect,resolve)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkConnect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at org.jabber.applet.connection.ContinuousConnection.connect(ContinuousConnection.java:148)
         at org.jabber.applet.communication.JabberComm.connect(JabberComm.java:129)
         at org.jabber.applet.JabberApplet.logonUser(JabberApplet.java:1016)
         at org.jabber.applet.JabberApplet.logonDialog(JabberApplet.java:645)
         at org.jabber.applet.JabberApplet.logonDialog(JabberApplet.java:633)
         at org.jabber.applet.JabberApplet.init(JabberApplet.java:407)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    from the applet can i connect to the remote server?
    how could the connection be obtained
    thanks in advance
    zeta

    There could be compatibility issues. Refer to "WebLogic Server Compatibility".
    Link: [http://download.oracle.com/docs/cd/E12839_01/web.1111/e14529/compatibility.htm#INRMP118]
    Are you using a JMS bridge between the two domains?
    Edited by: Manish Chellappan on Sep 3, 2009 3:35 PM

  • Invoke OATS script from a remote Linux machine

    We have the entire Oracle Application Testing Suite installed on a Windows machine. The test scripts (Open Scripts) are on the same machine. Is there a way to invoke the test scripts on this machine from a different Linux machine? These are not load testing scripts. These are functional testing scripts.
    Will the Linux version of remote agent help here?

    Hi,
    Functional tesing is only available on Windows (for the moment). It is to do with the browser .dlll.
    (unlesss someone can prove me wrong :) )
    Wayne.
    Edited by: byrne_wayne on Jun 2, 2012 12:35 AM
    Edited by: byrne_wayne on Jun 2, 2012 12:35 AM

  • Starting JWS on a remote linux Machine

    how can i start an application through JWS, running as a daemon in the background, without using X11 as my application doesnt need one

    You can't.
    Java Web Start turns any application into a swing application, and so, requires X11 initialization on unix.
    /Dietz

  • Cannot find an Oracle Linux installation for 32 bit machines

    Can anyone show me where to find a linux oracle 11g or 10g installation for a 32 bit machine.
    The ones I downloaded from oracle are all for x86 64bit machines.
    Thanks

    On following page
    http://www.oracle.com/technology/software/products/dat
    abase/index.html
    this is the link
    http://download.oracle.com/otn/linux/oracle11g/linux_x
    86_11gR1_database.zipWhat I actually said is that the link provided is for 64bits linux machines.
    When I try running uname -r on my linux bash prompt, I get the i3686 tellin g me that I am running a 32bit machine.
    On the other hand, installation guide specifies that we should check the kernel version and system architecture.
    I don't think I should continue installation on seeing that I am trying to install a 64bit product on a 32bit system.
    Regards,
    Michael
    Message was edited by:
    okmich

  • Accessing remote sybase database on unix/linux machine thru telnet

    How can i access a sybase database server thru telnet....using java code. i am writing a client for windows...Also the Sybase server is on a unix or linux machine.............please elp me out ...its urgent..

    Why do you want to access it through telenet.
    If you want to access/manipulate data in the database use JDBC with a driver for Sybase (Which you will be able to find if you do some googling)

  • Simple network: Windows 7 file server & several Macs and Linux machines- SAMBA bombing out?

    Hi guys, i know this is really more of a windows support question, but here goes:
    Windows 7 Ultimate 64bit acting as a file server, turned off all the usual MS authentication stuff so Macs and Linux systems connect with password without issues..
    except when i start copying certain files/file types/names to the system, it will break the network connection, then refuse any more connections, all macs and linux machines on the network are booted, from the PC however i can still access the Macs shares volumes.. (the macs still see the windows machine & pinging is still there, but if i try to connect i get 'check the name/ip address' error
    im no expert, but its as if the Samba service on the windows machine gets killed and im not sure what to do to get it to re-connect other then restarting the system, but as the system is also a terminal server users always have apps/documents open and its 'never a good time' to do it..
    if there was an alternate Samba to install, or a buffer patch, or even a 'goto this service, stop and restart' etc.
    Trying to get help from the 'windows' community comes down to 'well your on a mac what do expect etc etc' *sigh*
    any help is appreciated
    Richard

    Hi, just thought id update my finding regarding this, and it maybe directly affected by my only system, but in case anyone else has this issue?
    I thought it may be due to the file name thats causing the lockups, but I found while trying to backup my collection of install images and updates that sure enough a simple named file 'osx10.6.3.DMG' going to the server, 850MB in it stalls and fails, now im not able to connect.
    but form the PC, without changing the name or location etc, i copied the SAME from the Macs hard drive through to the windows system, all 5.7GB.
    so it is something to do with my windows 7 system, but maybe more related to the size of the file then the name or non-standard characters as first thought.
    as suggested by Grant above i will check on the server boards as well.
    thanks

  • How to bind an IIS to the enterprise portal installed on a linux machine

    Dear all,
    I am very new to the topic of Enterprise Portal.
    Our intention is, to develop .NET IViews and deploy them in the Enterprise Portal.
    The Enterprise Portal Server is set up on a linux machine.
    The Guy who did install the Portal Server, has no idea how to "integrate" the Microsoft IIS to the Portal.
    After deploying my .net Component, i tried to view this component in the portal (by right clicking the mouse on the Component in in the .NET Solutions Explorer).
    This gives me the following error:
    Portal Runtime Error
    An exception occured while processing a request for:
    iView:N/A
    Component Name: N/A
    Could not find portal application com.sap.portal.dotnet.framework.
    Exception id: 02:06.......
    See the details for the exception ID in the log file
    I think that this has something in common with integrating the IIS on the Linux Machine, and maybe additionaly installing the pdk.net on the IIS webserver machine which should be used.
    Thank you for your help.
    Regards

    Hi,
    Welcome to the world of Enterprise portal
    Seems to me like you are trying to use the PDK for .NET. If so - Please read the overview section in the documentation to get a general idea of how it works (for example - IIS is not used at all!).
    See the Visual Studio integrated help or click this https://media.sdn.sap.com/html/submitted_docs/dotnet/index.htm
    there go to "Getting Started" and mostly "Overview".
    Anyway, It seems like the problem is that you didn't deploy the 2 required SDA's to the portal. You should also take a look at the "installation and configuration" guide. Download it here: https://www.sdn.sap.com/sdn/developerareas/dotnet.sdn?contenttype=url&content=/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/pdk for .net administrator guides.zip
    Good luck,
    Ofer

  • Problem with setTraficClass()  in Linux machine

    Hi
    We are facing some problem with setTraficClass() method in java.net.Socket . When we try to set a value 34 using this method in windows it is not setting. when try to see the Ip header in the packet using wireshark it is showing 00.
    After lot of googling we found in sun forum that in Windows os there is no support for TOS/DSCP. if we want to set a value we need to add a registry parameter. Now it is setting in Windows XP [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4696356]
    But our problem is we are trying to run the same thing on linux machine RedHat 2.6.18.92.e15-pae-1686 it is setting 00 . Please find the code bellow
    Is there any setting we need to do in linux machine to call the setTraficClass() method. I am new to linux and not able to fix this issue.
    Please help me
    Thanks in advance.
    Sethu
    Server code
    import java.net.*;
    import java.io.*;
    class server
    public static void main(String args[]) throws Exception
    byte[] receive_data = new byte[1024];
    byte[] send_data = new byte[1024];
    int recv_port;
    DatagramSocket server_socket = new DatagramSocket(5000);
    System.out.println ("UDPServer Waiting for client on port 5000");
    while(true)
    DatagramPacket receive_packet = new DatagramPacket(receive_data,
    receive_data.length);
    server_socket.receive(receive_packet);
    server_socket.getTraficClass()
    String data = new String(receive_packet.getData(),0 ,0
    ,receive_packet.getLength());
    System.out.println("socketIP"+server_socket.getTrafficClass());
    server_socket.setTrafficClass(0x18);
    InetAddress IPAddress = receive_packet.getAddress();
    recv_port = receive_packet.getPort();
    if (data.equals("q") || data.equals("Q"))
    break;
    else
    System.out.println("( " + IPAddress + " , " + recv_port
    + " ) said :" + data );
    Client code
    import java.net.*;
    import java.io.*;
    class Client
    public static void main(String args[]) throws Exception
    byte[] send_data = new byte[1024];
    BufferedReader infromuser =
    new BufferedReader(new InputStreamReader(System.in));
    DatagramSocket client_socket = new DatagramSocket();
    InetAddress IPAddress = InetAddress.getByName("127.0.0.1");
    while (true)
    System.out.println("Type Something (q or Q to quit): ");
    String data = infromuser.readLine();
    if (data.equals("q") || data.equals("Q"))
    break;
    else
    send_data = data.getBytes();
    DatagramPacket send_packet = new DatagramPacket(send_data,
    send_data.length,
    IPAddress, 5000);
    client_socket.setTraficClass(34)
    client_socket.send(send_packet);
    client_socket.close();

    Hi,
    when I use setsockopt() API on linux machine. I am able to set the DSCP value in the UDP socket.
    I can see the visibility of DSCP marking on the wireShark.
    when I use the setTraficClass(34) API on linux machine. I am not able to set the DSCP value in the UDP socket. It
    always takes the default value as 0. I cant see the visibility of DSCP marking on the wireShark.
    setSockopt() API supported in Linux machine. Why not SetTrafficClass() API?.
    Is there any changes required to make the SetTrafficClass() API to work on Linux platform?.

  • Install JSC on a remote linux

    Hi.
    Did anybody install JSC on a remote linux exporting the X?
    I want to install it on our department server (my machine has not memory enough) but, although the X windows are correctly exported (xclock works fine) when i try to execute the installer i get:
    El instalador no se ha podido ejecutar en modo gr�fico. Intente ejecutar el instalador con el distintivo -console o -silent.
    Then i try with "-console" but i get:
    The wizard cannot continue because of the following error: Invalid command line option: console is not supported (1001) (403)
    WARNING: could not delete temporary file /root/ismp001/4095551
    Thanks

    I've tried to install it on the server itself, starting the X on it. The errors are the same, so it is not an error about exporting the X...
    OK, the problem was solved with the instructions from
    http://blogs.sun.com/marcoscorner/entry/creator_2_0_ea_on

  • Printing from linux machine to Mac shared printer?

    I have a brand new Brother MFC 6800 that is connected to my Mac (10.4.4) via USB. I have a Linux box at home (Mandriva 2006), and I'd like to be able to print through the network to this printer.
    I've been searching the web for instructions for how to set up CUPS and/or SMB to allow me to print this way, but have only come up with a few tangential references. Almost everything I've found is how to print from a Mac to a Linux print server. I want to do the opposite.
    I'm handy enough with Un*x to edit config files, but not handy enough to know what to put in there. I'd appreciate anyone who can point me to a site that might show me how to do it.
    Quicksilver   Mac OS X (10.4.4)  

    Hi Chris,
       I've not done this with a Mac but CUPS is CUPS. Open the /etc/cups/client.conf file on your Linux machine and change the ServerName line to point to your Mac. That may be all you have to do because the Mac's CUPS automatically adds the local printer for you. You may have to define a queue for it; I'm not sure but I don't think so. Also, you will probably have to authorize it on the Mac. The /etc/cups/cupsd.conf file on the Mac should have a line in it that look like:
    Listen <Mac_IP>:631
    where <Mac_IP> should be replaced by the IP address of your Mac, (not 127.0.0.1) and similarly for <Linux_IP> below. Such a line should already exist for 127.0.0.1. Just copy-and-paste in a new copy of this line and change the IP address. Inside the definition of root directory you similarly may need to add an "Allow From" statement:
    <Location />
       Allow From <Linux_IP>
    </Location>
    The directory definitions are modeled on similar definitions in Apache's httpd.conf file. There may be more that is necessary; I'll see if I can find more specific information that I've saved. If you have to do more, please post it to this thread so that there is complete documentation for others. Of course a consistent configuration depends on having static IP addresses on your local network.
       I'm not really surprised that you didn't find much if you searched for strings including Mac or Apple; this is a purely UNIX question. The CUPS administration documentation can be found online at cups.org or even on your own machine at http://localhost:631/ or on your drive in the /usr/share/doc/cups directory.
    Gary
    ~~~~
       It's no surprise that things are so screwed up: everyone
       that knows how to run a government is either driving
       taxicabs or cutting hair.
             -- George Burns

  • Upgrade from 10.2.0.3. to 10.2.0.4 for a databse in Linux Machine

    Hi all,
    I would like to updgrade a database existing in a Linux machine from 10.2.0.3 to 10.2.04 .
    I could not find the files for the same in OTN.
    Could some one point me a location for getting the files.
    Also Im not familiar with the Linux commands.Could someone let me know how it can be done.
    This is of high priority and any help would be highly appritiated.
    Thanks,
    Smrithy

    You must connect to Metalink/My Oracle Support using a valid login linked to your Customer Support Identifier (CSI) contract , identify the patch set number and download it from Metalink/My Oracle Support site. The patch set is delivered with some documentation describing how to apply the patch set.
    Edited by: P. Forstmann on Jul 20, 2009 9:17 AM

  • How can i see the waht softwares installed on linux machine

    hi
    is there any command to find the installed softwares in linux machine

    As mentioned, the "rpm -qa" will show you all the package names on the system. Unless you know what each package is for, you can use this variation to get a one-line description along with the package name:
    $ rpm -qa --qf="%{NAME}-%{VERSION}.%{RELEASE}.%{ARCH}\t%{SUMMARY}\n"
    It is a lot to type, but put it in a shell script ;-)

  • Trying to deploy .sh or .csh file on linux machine

    Hi All,
    I am trying to manage Linux devices (Centos 6.3) using SCCM 2012 R2. I have installed the SCCM client on the Linux machine, i can get the H/w & S/w inventory from resource explorer on SCCM but i am not able to deploy scripts(.sh & .csh files) to
    the Linux machine, no matter i do what it just don't get it deployed. i have created 3 separate Centos 6.3 machine for testing this but after deployment when i check the deployment status in monitoring it always shows "Waiting for content". The Linux
    machines are not joined to domain.
    Please Help.
    Thanks,
    Pranay.

    Hi,
    Make sure the package has reached the DP.
    Please check Linux client logs to see whether there are any helpful information.
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Auto discovered Linux machines platform value is showing as Windows. Need help

    Hi All,
    In my infra, we have set the discovery policy as AD & IP range. All the machines are getting discovered, however in platform tab of Unix/Linux machines shows as 'Windows', and due to this we are unable to license the machines.
    Please help.
    Regards
    MPS

    Post on this forum instead, bigger chanche that you'll find a PRO*C expert there.
    C++ Call Interface (OCCI)
    -Andy

Maybe you are looking for