Access Windows VM command prompt from Mac OSX Terminal [closed] - macos

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have VMware Fusion 5 installed on my Mac, and have software installed on the Windows partition, that for various reasons, I would like to use via the Mac OSX Terminal rather than going through the VMware Fusion GUI of logging into my Windows VM and running command prompt and then running the software. I would prefer it if Terminal could access the windows command prompt of the vm machine, so that I can run the software from my Mac directly. I am happy to have them/would expect the Mac and Windows machines to be running side by side simultaneously.
Is this possible? I.e. can the Mac OSX Terminal access the VM Windows partition command prompt directly? And if so, how would one do this?
I had considered ssh but that seemed long-winded sending data backwards and forwards via the internet given that it is on a local machine and considered that there must be another/smarter alternative...also wasn't really sure it would work ssh'ing into from a Mac to Windows machine...
p.s. Sorry if SO isn't quite the right forum, and that there isn't quite a reproducible example, but have tried to explain the situation carefully to allow the community to help if possible. But if there is a better way to get a solution to my problem by either migrating or suggesting edits to the question that will make it a better question I would be more than happy to do so.

vmrun is the function that needs to be use used. I found it after a bit more searching...so the following will pretty much do the job...
/Applications/VMware\ Fusion.app/Contents/Library/vmrun -T fusion -gu <user\ name> -gp <password> runProgramInGuest /Users/<hostUserName>/Library/Application\ Support/VMware\ Fusion/Virtual\ Machines/Boot\ Camp/Boot\ Camp.vmwarevm/Boot\ Camp.vmx -interactive -noWait -activeWindow C:\\Windows\\Notepad.exe C:\\testing.txt
This link is quite useful http://www.vmware.com/pdf/vix162_vmrun_command.pdf

Related

Ssh from Ubuntu to Windows 7 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I was just about to try sshing for the first time and before I get into it, I want to know what's the best way to go about it. In particular, I'm currently running Linux through crouton on an HP chromebook and I want to ssh into and old windows 7 pc. Ideally I would love to have some sort of bash shell inside the windows ssh as I'm not so confident with cmd but I can make do. Are there any packages/apps that I should install on my old pc before I start trying. Preferably if there was something like WSL but for windows 7 that'd be great but I can't seem to find anything like it.
there is no ssh daemon (service) for windows from Microsoft.
So installing shell on windows, it is only about run it locally.
To connect with ssh on remote windows, you should install 3rd party ssh server on windows.

Dual boot Vista/Win7. Can I install VMware and run the Vista OS already installed from the physical HDD? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
This is part of a migration from Vista to Windows7. I now have a dual boot computer, with Win7 the preferred OS. From time to time I might need to go back to Vista to see how the things were configured there and then I will need to go back to Win7 to configure/install the same app there.
This is a computer that had very complex settings and it was difficult and risky to upgrade in place, to install Win7 over Vista.
In order to avoid countless reboots I would like to be able to always run Win7 and when I need I would like to be able to fire up VMWare Workstation and to start a Vista Machine that would have as HDD the physical HDD where currently Vista resides. I would expect the VMWare machine to run the OS installed on that HDD and I would expect Vista no to see that the hardware changed. My apps are not hardware dependent.
Is this possible?
Its possible and there are a few ways you could go about doing this.
The Easy Way
VMware Desktop allows you to use your existing partition/Disk to boot from only if its an IDE Disk.
https://www.vmware.com/support/ws5/doc/ws_disk_dualboot.html
The hard way
You can capture the Windows Vista OS as an .wim image with Windows Deployment Tool ImageX.exe. Then use other tools to create a bootable ISO. You would have to update the image though every time you feel there are a lot of changes made in Vista you want to see in VMware.

Using Linux terminal on Mac OS X [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I'm watching a course InfiniteSkills-Learning TCP/IP by Ric Messier and he is using Mac OS X terminal and in the lesson he connect to a Linux terminal to show netstat utility in more detail and I see some differences between both netstat utilities.
How can connect from Mac OS X Mountain Lion to a Linux terminal like this course? Need to install Linux on Parallels Desktop and then connect to Linux terminal in someway?
Thanks.
You may open OSX terminal by navigating to Application > utilities > Terminal.App.
Once there, you may have different ways to connect to a Linux server which are dependant on where is located and which communication protocol you want to use.
If your Linux server is enabled to be controlled by SSH, you can just type SSH address and log in remotely.
Please note that netstat is available also in the Max OSX terminal.

Run Mac OS applications on Windows? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I love some Mac OSX developer applications such as Coda. But I run Windows on my desktop, and Mac OS X on my laptop. My question is simple, can I run Mac OS X applications individually on the Windows platform - without having to run a whole virtual Mac OS X machine?
It is more than possible. OSx86 documents it pretty well, but then you need to dual boot to get into OSX and that is lees than ideal. I don't know what Goz means by flakey, OSX on a PC is identical to Mac, better sometimes (you have proper control of the underlying hardware, and are able to use BIOS to tailor it to your needs)
Natively? Like Wine? Unfortunately no, mainly because 99% of Mac apps aren't built againsy Mach-O only, they are built against Cocoa and all the other higher level code that Apple works very hard to protect. There are even device drivers built into every install of OSX that decrypt encrypted parts of Finder, iWork and various other 1st party Apps incase anyone was ever successful in natively emulating OSX and its frame works (see DontStealMacOSX.kext)
No you can't. Even a whole virtual MacOSX machine will be flakey as hell ...
If they are both in a network you could access your mac laptop using VNC, you need to enable sharing in your mac preferences and then use a VNC client on your windows machine.
But this seems like non-ideal solution.
It would be much easier to do the opposite and run windows as a virtual machine under OSX. You could even import your current windows desktop into a virtual machine with Parallels.

Is there a virt-manager alternative for Mac OS X? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 6 years ago.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This post was edited and submitted for review 1 year ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
It is common that programmers will need to interface with virtual-machines in their day-to-day workflows, and one popular way of doing so on Linux and Windows systems is with virt-manager.
Is their a way to get virt-manager or a similar alternative running on a MacOS machine?
There's now a brew formula homebrew-virt-manager which I've used to successfully connect to a CentOS 5 box running qemu+kvm.
brew tap jeffreywildman/homebrew-virt-manager
brew install virt-manager virt-viewer
sudo ln -s /usr/bin/python /usr/bin/python2
virt-manager -c qemu+ssh://user#libvirthost/system?socket=/var/run/libvirt/libvirt-sock
sadly no, you can however install virt-manager on a linux box and run it on your mac desktop through vnc and X11.
what you need to do is start X11, open xterm (command + N), type ssh -X user#linux-box, then type virt-manager once logged on.
Same problem here, tried several solutions and workarounds, and found that for managing virtual machines on a remote Qemu/KVM server nothing is as reliable and comfortable than a GNU/Linux system running virt-manager.
Our best solution so far is to install Virtualbox in MacOS to run a Lubuntu LTS system with virt-manager.
We found Lubuntu excellent for this purpose: it just works, it's easy to use and requires few resources to run (it can use less than 300 MB of RAM to run virt-manager and 3-4 SPICE clients). You can save this Virtualbox machine state when you don't need it, and restore it in a few seconds when needed.
Moreover, there's irony in running a virtual machine locally to manage remote virtual machines! :-)
Update
Someone prepared a vagrantfile to quickly setup an Ubuntu virtual machine and run virt-manager via ssh. See:
https://st-g.de/2016/08/virt-manager-in-vagrant
AFAIK no, but you can use it alright if you do this:
install (in the host) the NoMachine NX server
install the NX client on your mac
login from the mac
fix the keyboard issues following these instructions
open virt-manager in the gnome session in your server/host (that you are using via the NX client)
have fun

Resources