EzDevInfo.com

vmware-workstation interview questions

Top vmware-workstation frequently asked interview questions

How to set maximum fullscreen in vmware? [closed]

Im using vmware workstation 8 on windows 7 and having some linux hosts such as Centos, Backtrack and ... on it. The problem is the screen of the virtual machines is not fixed with my screen. here is the picture from my screen : http://uploadkon.ir/private/1267558f78ddd996c9e0d713aad554af.jpg


Source: (StackOverflow)

developing iOS apps for appstore in Mac on Vmware workstations

If I install Mac OS in a virtual environment (VMware) on my Windows computer, will I be able to install Xcode in the virtual environment and use it to develop iOS applications ?

More specifically, will it be possible to run the simulator in VMware? Will it behave as good as on a normal MAC computer?


Source: (StackOverflow)

Advertisements

Every time i run Vmware i get this error; Error While powering on: The VMware Authorization Service is not running [closed]

Error While powering on: The VMware Authorization Service is not running.

To fix this error i go to:

"Start / Control Panel / Administrative Tools / Services, clicked on VMware Authorization Service in the list & click the Start link on the left."

but i have to do this every time i want to use the Vitual Machine .

Does anyone know a permanent solution?


Source: (StackOverflow)

Copy and paste in VMWare doesn't work

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.


Source: (StackOverflow)

"Cannot find a valid peer process to connect to" VMware Workstation 10.0.1 while booting a VM

I've just installed the VMware Workstation 10.0.1, but when I try to boot a virtual machine (I've created a new guest and I also have a virtual disk image of another VM), it doesn't start to run and I get this error: "Cannot find a valid peer process to connect to". I've googled around but didn't find a solution to the problem. I am using Windows 7 64 bit. I also have VirtualBox installed (maybe VMware goes in conflict with VirtualBox?).

What should I do? I need those virtual machines to run.


Source: (StackOverflow)

How to control removable usb devices with VMware vmrun

I have VMware workstation 9 and 10, and I am wanting to use that to run some integration tests.

Using the vmrun utility, I can copy scripts to and run them on the virtual machine guests. However, some of the integration tests will require interfacing with USB devices.

Is there any way using vmrun, or any of the vmware API's to programmatically control the "Removable Devices" to connect and disconnect USB devices to virtual machines?

I have tried looking at the readVariable and writeVariable commands, however I cannot find any useful information on that subject.


Source: (StackOverflow)

Cannot Connect CentOS VM to Internet (NAT Connection)

So after fighting the VMWare network giant for the past day, I decided to give in and ask for help. I have a CentOS 6 image running on Windows 7 using a NAT on VMWare Workstation 8.0.2 build-591240, and for some reason, I can no longer connect to the internet with a static IP address. This seems to only to apply to static, and not DHCP, which tells me it's either: some program on my Windows 7 OS that's blocking the connection for that IP address, or there's something weird that happened to my configuration on the CentOS image.

I didn't know if this was due to a yum update, so I tried reinstalling VMWare tools. This didn't seem to fix the issue. I've also tried the following:

  1. Made sure the VMnet connection was connected (stupid, but had to check... also I can connect to the internet with DHCP)
  2. Made sure my firewall on Windows allowed for VMware to connect to the internet
  3. I've seen/read that Windows sometimes blocks ping requests, so I tried going to www.google.com in Firefox, this got a "Server not found response"... so do I have to do something different for DNS??
  4. I checked the registry of my Windows machine, I only have 1 entry for a default gateway

Like I said, this seemed to happen out of the blue. The image could connect to the internet before with no issue. Is anyone aware of a CentOS update that might cause this? I've added my configuration below to save some debugging cycles:

[root@MyCentOS ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:29:A0:51:BD
          inet addr:192.168.88.128  Bcast:192.168.88.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:683 errors:0 dropped:0 overruns:0 frame:0
          TX packets:67 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:64242 (62.7 KiB)  TX bytes:8055 (7.8 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1049 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1049 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:68417 (66.8 KiB)  TX bytes:68417 (66.8 KiB)


[root@MyCentOS ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="static"
IPV6INIT="no"
NM_CONTROLLED="no"
ONBOOT="yes"
IPADDR=192.168.88.128
NETMASK=255.255.255.0
GATEWAY=192.168.88.2
TYPE="Ethernet"

[root@MyCentOS ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=MyCentOS
GATEWAY=192.168.88.2

[root@MyCentOS ~]# service iptables status
iptables: Firewall is not running.
[root@MyCentOS ~]# service ip6tables status
ip6tables: Firewall is not running.
[root@MyCentOS ~]# cat /etc/selinux/config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

[root@MyCentOS ~]# ping 192.168.88.2
PING 192.168.88.2 (192.168.88.2) 56(84) bytes of data.
64 bytes from 192.168.88.2: icmp_seq=1 ttl=128 time=0.391 ms
64 bytes from 192.168.88.2: icmp_seq=2 ttl=128 time=0.271 ms
^C
--- 192.168.88.2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1349ms
rtt min/avg/max/mdev = 0.271/0.331/0.391/0.060 ms

[root@MyCentOS ~]# ping www.google.com
ping: unknown host www.google.com

[root@MyCentOS ~]# uname -a
Linux MyCentOS 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@MyCentOS ~]# vmware-toolbox-cmd -v
8.8.2.10499 (build-590212)

Source: (StackOverflow)

How do i fix internet connection to vmware i am running on windows 8rt [closed]

Few days ago it was working fine but I don't know what happened yesterday it stopped working.The internet connection is fine in windows os but when I open vmware workstation then it won't work.In my network sharing I have vmware network adapter VMNET8 which I have configured for internet connection in vmware workstation as i said it was working fine but now it is not working when i start diagnose it says that the VMNET8 does not have a valid ip configuration and its on DHCP.I am totally confused what to do.


Source: (StackOverflow)

Vagrant VMWare Plugin - Show VM in VMWare Workstation

I'm using Vagrant with the VMWare plugin. I've noticed that VMs upped using Vagrant are not displayed automatically in the VMWare Workstation GUI.

I can (manually) open them using File->Open... and selecting the .vagrant\machines\puppet\vmware_workstation\some-unique-id...vmx file. But that's a bit annoying. Using VirtualBox, vagrant VMs are automatically added and removed from the Virtualbox GUI.

Am I missing something or is that just not supported for VMWare boxes?

Reaons why I'm not just sticking with vagrant commands:

  1. To quickly see which machines are running (I have multiple machine setups and yes, I know vagrant status does the same...)
  2. To create and restore snapshots (I have a time consuming provisioning and sometimes it's nice to just restore to a snapshot while testing)

Source: (StackOverflow)

vmware - revert to snapshot from within the GUEST?

i have virtual machines running on vmware ESXi and vmware workstation.
i need to execute "revert to snapshot" from inside the guest.

i have done so much searching, but all solutions proposed so far suggest doing it from "outside" - either some external machine or the host itself.
other workarounds suggest to enable automatic reverting to snapshot on power off event.

please do not suggest anything in that direction. i really need to execute it from within the guest. for example:

  • as scheduled task
  • as batch script (at the end of completing some other tasks)

edit:
this is the reason why i think there must be some way to achieve this: inside the guest there are "vmare tools" running as system service. so i would expect this component to also expose a functionality to trigger the host / hypervisor reverting the current VM to snapshot.
if this is not possible currently it should be implemented as new feature :)

in case it's currently not possible to execute it "from inside": that would also be an "answer" ...


Source: (StackOverflow)

Accessing Host SQL Server From VMWare Machines

I have Windows 7 with SQL Server 2008 and SQL Express 2012 on it. I have also installed win xp on two vmware machines. I am trying my best to connect to sql server on host machine from the vm machines using management studio, but no luck. I had problem even pinging the host machine and visa versa. When I turned off the firewall, I was able to ping the host machine. I tried to add the vm machine's IP to allow access to host machine, but even that didnt work.

I have added a custom rule from here http://www.rackspace.com/knowledge_center/article/creating-an-inbound-custom-allow-rule-for-windows-firewall-windows-2008

I was running hotspot shield which i turned off, but still no luck. I have allowed remote connection on my sql server. but still not working. Can someone help here.

This is the error I get.

enter image description here

Here is the setting for vm machine. enter image description here

When the firewall is on, cant ping, but can ping when its off.

Regards

Parminder


Source: (StackOverflow)

Start a Shared VM with vmrun on VMWare Workstation

Im trying to create a script that will start a Shared Virtual Machine from a different computer. The script is completing however in the VMWare Workstation GUI the virtual machine is being put into the My Computer section and then started up and not started up in the Shared VMs section (where the VM is actually meant to be). The command is written below where the top line is the command and bottom is syntax - just for clarification.

vmrun -T ws 192.168.137.2:443/sdk start \\192.168.137.2\VMs\SKYNET\SKYNET.vmx gui
vmrun -T ws   HOST IP AND PORT     CMD       PATH TO VMX FILE ON NETWORK

EDIT: Just as clarification, i need to try and find a command that will start a vmware virtual machine as a shared machine, not one on "my computer". Any help would be great!


Source: (StackOverflow)

VMWare how to prevent a virtual machine from updating its date and time

I want to know how virtual machines (VMWare) updates their date and time and how to disable this; because i noticed that even if i suspend/shutdown a virtual machine for a year when i'll turn it on again, it will have the right time and date.

For physical machines i know there is a little battery inside the Central Unit fixed on the Motherboard that helps to keep date when the computer is turned off and disconnected from powersupply. But what about virtual machines how do they keep their time ? and how can I forbid that ?


Source: (StackOverflow)

kernel panic - not syncing: attempted to kill the idle task on Vmware. [closed]

I am trying to install ubuntu through vmware Work Station.The process is halting after throwing the error "kernel panic - not syncing: attempted to kill the idle task", I searched for the solution in forums, but they are of little help. Here is the enviroment that I am using.

My current OS: Windows 7 (64bit)

Ubuntu ISO: 12.04.3 desktop(64 bit)

VMWare Workstation: version 7.

And here is the stack trace. Thanks in Advance!! Error Trace


Source: (StackOverflow)

Access localhost on the main machine from VMware Workstation 8 for ASP.NET development test

I run an ASP.NET Development Server (that came with MS Visual Studio 2010) on my Windows 7 machine. I'm currently developing an ASP.NET C# web application and to test it on Windows 7 machine I need to navigate my web browser to an address like this:

http://localhost:59215/Default.aspx

I also have the VMware Workstation 8 installed on that Windows 7 with other OS as virtual machines. I need to try to load my web app from those virtual machines, but when I type the above address there I get "Cannot display page" error in a browser. Note that I can access internet from a virtual machine itself, but for some reason localhost on the main machine is not accessible.

Any ideas how to set this up?


Source: (StackOverflow)