Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I am looking for a way to launch an individual application (e.g. Firefox) on my Ubuntu installation which is running under Parallels. I am open to any method of launching such as a shortcut (like how Windows applications can be launched under Parallels), shell script, AppleScript, etc.

At this point in time I am just not sure this is even an option.

share|improve this question
1  
You could do this via SSH. –  Josh Mar 5 '13 at 17:06
    
Since nobody else has answered, I will try and write a full answer today. –  Josh Mar 7 '13 at 15:19
    
I won't grab for answer points as I've not tested this: –  Sherwood Botsford May 10 '13 at 16:04
add comment

1 Answer

Here are some conceptual answers that would work, and potentially can be expanded to launching any app in any virtual machine space, although insecurely.

Method 1. Drop boxes. Each VM has a shared directory from the host machine. This directory must be publically writeable.

A script on any machine can write a file to any of these directories.
Each VM monitors its directory, and when the file has been closed, it immediately executes it, and deletes the file.

This is incredibly insecure. At minimum the execution program should be limited in what programs it can run.

Method 2. Ssh.

In general the command is

ssh user@hostname -c "Command line and parameters in quotes"

This can be implemented MUCH more securely

Method 3. Netcat. Might be more valuable if you had a semi-continuous stream of commands from machine A to VM machine B. The output of netcat on the client machine could be fed to bash. This gets trick for getting the results back, as backgrounded shell commands will have overlapping results. However if you were happy with command line results, then a simple ssh to the VM would be sufficient.

I expect other people to improve this answer, but it may give you things to start to tinker with.

I would have entered this as a comment and not an answer, but comments are too small.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.