[SOLVED] Is there a way to run the same program (not a copy of it) in both Ubuntu and Win XP?
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is there a way to run the same program (not a copy of it) in both Ubuntu and Win XP?
I need to use the same program in both Ubuntu (host) and Win XP (guest). I am using Oracle VirtualBox for the virtual machine. I can run each program independently in bot OSs. However, changes made in them when using them is not seen in the other one. I need a single data file common to both of them. The program is Mozilla's SeaMonkey. The program shouldn't matter though. If there is a solution, it should work for most any program I choose.
Is there a way to run the same program (not a copy of it) in both Ubuntu and Win XP?
you could manage this with the shared folders feature, however, some applications may cause corruption in such shared files if not programmed to treat them properly ( or the files aren't meant to be accessed by more than one instance at a time). I would recommend backups prior to testing it out.
There is a mechanism in Virtualbox that allows you to share a folder on the host with the guest. I see it documented in section 4.3 of my VirtualBox help file.
Or do it manually - use Samba to create a shared drive on your Linux host, and within your Windows XP, attach that shared drive.
Put your program into the shared folder and run it from either the host or the guest.
Most windows programs need to be installed in terminal server mode. You generally need a windows server OS for that and legal copies for it. That doesn't seem to be what you are saying but if it is then you might use 2X.com server for linux.
What you seem to say is that you want to open a file in two programs. Generally you can't easily do that and save correctly. It may work however. Try sharing the folder where this data is to the VM and try to access it. Be sure to backup before you attempt.
I need a single data file common to both of them. The program is Mozilla's SeaMonkey.
As others have said, VBox has a "shared folders" feature that lets you access a folder (and any subfolders it may contain) from both the host and the guest. I use this feature daily, to pass information between the host and the guest, but there are a few things to watch out for. First, remember that Linux and Windows use different "end of line" conventions. Linux uses a linefeed character only, while Windows uses a CR/LF pair. Thus data written by one system MAY require conversion to be used in the other. Also, both systems cache data in buffers before writing it to disk, and if both systems are using a shared file at the same time, corruption is quite likely to happen. The only safe way to deal with this is to make sure that the file is closed in one system before writing to it from the other. That's no problem in many situations, but something to watch out for.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.