Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there a way to sort of "share" processing power between two machines? I already use x2x and ssh to communicate between the two, but the two but that works with two moniters aswell. Is there a way I could have them both connected, but if I click an app on one machine (lets say cpu1) it would open on the machine with the most available RAM, and if it opens on cpu2 the window itself would still be on cpu1?

Big ask, I know. If I haven't been clear enough then just ask.

More importantly, will anyone help me code this?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

It's possible to run a X11 aplication on a remote machine and display the result on the local one. This is as simple as

ssh -Y user@remote gedit
share|improve this answer
    
Really that simple? wow! Is it quite fast? –  drnessie Apr 4 '11 at 16:35
1  
It's that simple thanks to the client-server architecture of X11. When it comes to performance, it works great on a local network. –  Adam Byrtek Apr 4 '11 at 20:33
    
Just tried it. Ran Spotify from my desktop, displayed it on my laptop, and controlled the sound that came through my big speakers remotely! All that comes next is the final bit of what I said - to make the computer automatically start a program on a second machine if the resources are running low. –  drnessie Apr 5 '11 at 4:24

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.