How to run apps from a network

Assuming I have a rootfs of another system mounted on /mnt, what would I need to do to be able to run apps on /mnt/usr/local/bin?

Obviously, the PATH needs to be amended, as well as the library path.

Should I expect to be able to run apps from the network with these changes?
 
You could try ssh X-forwarding ssh -X user@<ip> /path/to/application to ran a GUI app. If you want to mount the remote fs to local, you may try
chroot /mnt /bin/bash .
 
Sure, as above, set your PATH and LD_LIBRARY_PATH. You can apps run in the /mnt chroot or a /mnt jail.

What we did $((JOB-1)) ago was for diskless workstations root was an unique NFS share on an NFS server while /usr was shared.

Also as suggested above you can run an X app on another machine with the DISPLAY variable set.

Then, there are client/server apps, like web browsers and web servers, or tailored client/server apps.

Scott McNealy, former CEO of Sun, once said, the network is is the computer. So, to answer your question you need to be much more specific than, "how do I run apps on the network?" Running apps on the network can take many forms. What specifically are you trying to accomplish? What do you mean by running apps on the network?
 
Back
Top