Why does virtualbox interface need admin permission so many times? [closed] - virtual-machine

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 1 year ago.
Improve this question
I have been using VirtualBox for 4 years now. I run it as a non-admin user and it worked fine. No admin permissions were required to run or boot up any VM.
Recently I installed the GenyMotion Android emulator on my host machine. It uses Virtualbox to create and run VMs. This genymotion needs admin permissions when I run the genymotion device manager. They say it is because it needs to create and/or access the VirtualBox interfaces (network interfaces). So every time I have to start genymotion, the admin permission (on Windows) pops up, and I have to enter the admin password. This keeps happening like 10-15 times (sometimes even more). What it does is that it creates multiple VirtualBox host-only ethernet adapters with these permissions (one for each adapter). It is really annoying to enter the password so many times. So instead, what I do is that I run Genymotion as administrator. So the admin permissions that were required for VirtualBox Interface are automatically granted.
The problem is that, now whenever I want to run a VM from VirtualBox manager, the same permissions pop up asking for admin privileges for the VirtualBox interface.
How can I get rid of these multiple admin permission pop-ups? I don't run VirtualBox as an admin and I don't want to.

This should not happen: permissions should only be asked the first time Genymotion is run, not always. And yes, it is required, mostly beacause MS have reinforced security with Win10. Basically, all that Genymotion does is calling vboxmanage command line tool from VirtualBox to perform several tasks at startup:
ask the list of installed devices
verify that there is at least one existing host-only interface and it is available (and create one if necessary)
Unfortunately, each time vboxmanage is called, it requires admin rights from Windows and you get an UAC. If this happens all the time, it probably means that your Windows security settings are too tight: with default settings, the UAC only pops-up the first time you run Genymotion.
One final word: VirtualBox + Win10 = real pain in the a**. I use Ubuntu whenever I want to use VirtualBox or Genymotion and it works "out of the box"; no hassle, no annoying UACs nor mysterious VirtualBox errors :-)

Related

What password should I enter for SSH? [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 am trying to learn how to use SSH and it's kinda hard for me. I installed PuTTY (windows 7 32-bit). It asked for my IP so I searched 'What is my ip' and pasted it in. Then in the 'command prompt style box' I entered my username 'dell'. Now it's asking for password. I'm really confused because my laptop has no password and there's no password I know of. Can you guys help?
Entering nothing doesn't work:
Putty is just a command line interface, that will allow you to run commands like ssh.
However, if you want to SSH into your machine you have to install an SSH server on your machine.
There are multiple solution on the web:
https://www.howtogeek.com/howto/41560/how-to-get-ssh-command-line-access-to-windows-7-using-cygwin/
122.162.179.255 is likely the IP address of your network router / ADSL modem / etc and not your Windows PC (which won't have an SSH server installed by default).
There really is very little to learn about SSH itself, at least for basic day to day use.
If you want to learn how to use a UNIX-style command prompt then consider installing WSL or setting up a Linux installation on a separate computer (maybe a Raspberry Pi).

Can machines be "shutdown guest OS" without having VMware Tools installed using Powershell? [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 8 months ago.
Improve this question
I need to shut down "Guest OS" of machines in powershell.
I dont have VMware Tools installed on the guest to use Shutdown-VMGuest.
My question is can this be done without installing VMWare tools on the guest. Is this even a possible ?
If NOT: Are there any other commands (like soft power operation, but i dont really understand this) OR any other ways to do this ?
If NOT: Is there any equivalent of "Shutdown guest OS" that can be done in powershell ?
It does look like i am posting 3 questions, but i want to just be able to shutdown guest os of vms bypassing installing VMWare tools using powershell.
PS: I am new to this, please be kind if this seems like a stupid question :)
The shutdown guest OS is a vmware tools option, and the benefit is that it is OS independent, as long as the vmware tools are installed it works.
PowerShell has the stop-computer command: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/stop-computer?view=powershell-7
You could use the -computername option for a remote machine.
-ComputerName
Specifies the computers to stop. The default is the local computer.
Type the NETBIOS name, IP address, or fully qualified domain name of one or more computers in a comma-separated list. To specify the local computer, type the computer name or localhost.
This parameter doesn't rely on PowerShell remoting. You can use the ComputerName parameter even if your computer isn't configured to run remote commands.
PS. I'm assuming a WIndows Based OS here, correct?
VMware player may have the option for shutdown/restart guest OS even no VMTools is installed in the guest? (to be confirmed though)

How to enable copy paste from between host machine and virtual machine in vmware, virtual machine is ubuntu [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 5 years ago.
Improve this question
I am trying to copy and paste from my pc to the vm but i cant.
I also enable copy and paste but i still can't copy and paste from my pc to the vm. My pc runs windows 8.1 my vm has fedora.
You need to install VMware Tools on your vm:
To install VMware Tools in most VMware products:
Power on the virtual machine.
Log in to the virtual machine using an account with Administrator or root privileges.
Wait for the desktop to load and be ready.
Click Install/Upgrade VMware Tools. There are two places to find this option:
Right-click on the running virtual machine object and choose
Install/Upgrade VMware Tools.
Right-click on the running virtual
machine object and click Open Console. In the Console menu click VM
and click Install/Upgrade VMware Tools.
Note: In ESX/ESXi 4.x, navigate to VM > Guest > Install/Upgrade
VMware Tools. In Workstation, navigate to VM > Install/Upgrade VMware
Tools.
[...]
Source: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1014294
This worked for me. Might want to try editing virtual machine settings:
Here is a small hint that I hope might be useful to other poor saps that experienced the same issue as I did.
My Setup:
Host: Windows 7 Enterprise - build 7601 SP 1
VM: VMware® Workstation 12 Player 12.1.1 build-3770994 (free)
Guest: Fedora release 23
I naively failed to install open-vm-tools-desktop. I say naively because I had no idea such a thing existed, nor do I understand why instructions to install open-vm-tools do not (or at least where I read them, do not) include mentions of this package.
Installing open-vm-tools on its own appears to be nearly useless - the desktop package makes the copy and paste function - probably the single most important function of VMTools - work.
So, there you go. Install open-vm-tools-desktop, and copy-paste should work
If your VM already came with VMware Tools pre-installed, but this still isn't working for you--or if you install and still no luck--make sure you run Workstation or Player as Administrator. That fixed the issue for me.
here is another solution I started using after being fed up with the copy and paste issue:
Download MRemote (for pc). this is an alternative to remote desktop manager. You can use remote desktop manager if you like.
Change the VMNet settings to NAT or add another VMNet and set it to NAT.
Configure the vm ip address with an ip in the same network as you host machine. if you want to keep networks separated use a second vmnet and set it's ip address in the same network as the host. that's what I use.
Enable RDP connections on the guest (I only use windows guests)
Create a batch file with this command. add your guest machines:
vmrun start D:\VM\MySuperVM1\vm1.vmx nogui
vmrun start D:\VM\MySuperVM2\vm2.vmx nogui
save the file to startmyvms.cmd
create another batch file and add your vms
vmrun stop D:\VM\MySuperVM1\vm1.vmx nogui
vmrun stop D:\VM\MySuperVM2\vm2.vmx nogui
save the file to stopmyvms.cmd
Open Mremote go to tools => External tools
Add external tool => filename will be the startmyvms.cmd file
Add external tool => filename will be the stopmyvms.cmd file
So to start working with your vms:
Create you connections to your VMs in mremote
Now to work with your vm
1. You open mremote
2. You go to tools => external tools
3. You click the startmyvms tool
when you're done
1. You go to tools => external tools
2. You click the stopmyvms external tool
you could add the vmrun start on the connection setting => external tool before connection
and add the vmrun stop in the connection settings => external tool after
Voilà !
Are you talking about drag and drop, when you say copy and paste?
If yes, you can also use Rightclick on object on your main computer and click copy. And then you go into the Virtual Machine and Rightclick the position where you want the file to get copied to.
If this doesn't work use the method KaiserM11 explained and get yourselfe VMware Tools like in this Video: https://www.youtube.com/watch?v=McjwI_6BKZY
Hope my answer was helpfull to you and happy coding :D
the mremote option offers more automation and almost replicates the vmware workstation graphical experience plus major benefits:
NO DPI (guest resolution) hassle
no copy pose hassle
Automation = starting vms and suspending them automatically
plus more if you look deeper
You need to install some packages such as Unlocker, GuestOSx, etc.

Time Machine over Samba [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 3 years ago.
Improve this question
Currently running osx 10.8.2
Have an external network drive attached to my rt-n66u router running tomato
I'm trying to use tmutil to connect my external network drive, and am having a lot of trouble.
I mount the drives in Finder
Run sudo tmutil setdestination /Volumes/external, and get Incompatible file system type: smbfs (error 45)
Any ideas? :(
I can't answer your question specifically aside from telling you that timemachine backups on samba shares are not supported officially. As a consequence, even if you will be able to backup your data on a samba share (as far as I know lots of people have issues to do so), you will run into trouble during a restore procedure. If you would try to restore your data by booting an OS X livecd you couldn't because it doesn't have a samba client installed in order to connect to a samba share. The next step would be to try to connect the backup drive directly to your Mac to access your data. Chances are this would also fail because the harddrive was formatted with a linux filesystem which is not supported by OS X.
So the best thing you could do is to install netatalk (afpd) on that router box if it is possible at all.

How Much RAM Should I Put On My Virtual Machine? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am installing virtual box on my window
I will use it for anonymous web browsing and nothing else.
I will also install ccleaner on the VM.
The total Amount is 2GB.
How much ram should I put on my Virtual Machine?
Which version of window is the best for Anonymous Web Browsing?
Is linux a better option for anonymity web browsing?
Though i agree with above comments, it doesn't hurt to add some info. I take that you mean you have 2GB Ram in total.
First, the amount of ram required is proportional to how much you actually use it(VM) for and whether will you be using your primary machine in parallel or not.
For e.g. i have a 64 bit system windows 7 with 8 GB ram. I frequently use 1 linux VM in parallel with my host machine. So i have dedicated 2GB per VM. Though i have multiple VM's, it is almost guaranteed that i don't use two VM's simultaneously. However, i am extensively using VM + host together.
Now if you are going to do a lot of browsing, that probably means a lot of tabs, perhaps including you tube videos and stuff. Since your total is 2GB, i won't recommended allocating more than 512MB to your VM, unless you are willing to sacrifice your host performance for the time you are running VM.
Anonymous browsing has little to do with OS rather more important is browser or intermediate application. The only possible difference is for e.g. if you are using Linux and use an open source application such as
tor
which may or may not be available on windows. [Edit: just verified that tor does exist on windows too]
CCleaner is of no use if you are already using a common feature of FF/Ch/IE "Start private browsing". However, this does not leave any thing in your history and cache.
I also believe you are some what confusing anonymous browsing. Use of VM or CCcleaner refers to anonymity which is local to your machine i.e. if some one else uses your pc, he/she would not be able to track what you have been doing by ordinary means.
However, your real ip and request info is not hidden from your network in general. Using of Tor or some proxies etc. results in network anonymity where you leave no trace on a site which you have visited or perhaps that is blocked in your region.
Another thing is, if you have a 32bit machine / OS which is windows, it doesn't utilize more than 3GB ram in practice.
regarding ram: 0.5 gb should be enough but in any case virtual box recomends those values when you telling it what you about to install on the vm.
Windows 7 is best os I seen comming out from MS house till today especially in security.
IE9 private browsing can do what you ask for without a vm at all.