I cannot click capture button to capture virtual machine image - image

I cannot click Capture (2nd last button "캡처" in Korean) button in Azure portal.
All other virtual machines are same to this situation.
Yesterday, I captured image by clicking that button, but today I cannot click it.
Could you let me know why this happens and how I can solve this problem???
One more question!
this is error log
Provisioning failed. OS Provisioning for VM 'master0' did not finish in the allotted time. However, the VM guest agent was detected running. This suggests the guest OS has not been properly prepared to be used as a VM image (with CreateOption=FromImage). To resolve this issue, either use the VHD as is with CreateOption=Attach or prepare it properly for use as an image:
* Instructions for Windows: https://azure.microsoft.com/documentation/articles/virtual-machines-windows-upload-image/
* Instructions for Linux: https://azure.microsoft.com/documentation/articles/virtual-machines-linux-capture-image/. OSProvisioningTimedOut
I use a Linux machine

1.You need stop your VM firstly. Stop the VM by usgin Azure Portal.
2.Create your VM image on Azure Portal.
3.Create new VMs by using the image.
Also, you could use PowerShell to capture image, more information please refer to this link.

Related

raspberry pi3 can not launch application on primary HDMI Display, can launch on remote using ssh -x

I had built console core image for raspberry Pi3, and I am able to boot the Rpi3 successfully using SD card.
I have created an electron app which is able to launch on remote display over ssh.
However when I launch the application on Monitor connected through HDMI Cable, It gives following error
Can not open Display :0.0
I have seen many people asking this question for not able to launch on remote display, which works fine in my case.
Can anyone help in this?
With console core, you don't have an X server running to display on.
You can upgrade your system to include the X installation -- search for 'install pixel desktop' -- or you could just refresh the card with the lite or full image.
If you set the Pi to auto login to the pi account, you can start your application on login by adding it to the bottom of .xinitrc. You could also start it from a remote ssh, displaying on the local display, by setting DISPLAY=:0 in the environment before you start. You'll need to explore the world of X Windows authentication to make this work. See the man page for the xhost command, for instance.
(This is an expansion of LetoThe2nd's comment, which probably should have been an answer instead.)
Console core image means that there is no xserver running, and hence no display :0. Try getting started with core-image-x11 maybe, or whatever suits the RasPi.

setting azure windows vm default resolution for selenium scripts to run

When I connect to my Windows Server 2012R2 Azure VM via RDP, I have resolution 1600x900, which corresponds to my client PC resolution. However, when I run selenium UI tests on this machine with VSO agent, they are failing because screen resolution for agent session is 1024x768. In Device manager I can see that display adapter is Microsoft Hyper-V Video. When I access Screen Resolution section when connected via RDP, I can see only my resolution selected and grayed out and also message "The display settings can't be changed from a remote session".
Is it possible to change default screen resolution for Windows Server 2012R2 running on Azure VM?
I tried adding DefaultSettings.XResolution and DefaultSettings.YResolution values to registry but it didn't help.
Try loading the site in an iFrame and declaring the width/height attributes in the iFrame tag. The resulting window opens outside the boundary of the viewable desktop resolution and allows testing more screen resolutions than the desktop resolution would otherwise support.
Calling the iFrame:
driver.Navigate().GoToUrl("file:///E:/iframe.html");
Example iFrame content:
<iframe id="theiframe" src="https://www.SomeSiteToTest.com" width=1800 height=750 align="center" frameBorder="0" ></iframe>
Switch the Selenium driver focus over to the iFrame:
driver.SwitchTo().Frame(driver.FindElement(By.Id("theiframe")));
From here you can now use FindElement or whatever you need using the content inside the iFrame.
I ran into the same issue and could not manually setup a RDP connection prior to starting the tests. Also the website we test is looking at machine resolution rather than browser size. What I did was make sure the RDP session was setup automatically in the build process to each machine I need to test on.
See this answer

Unable to Launch Xamarin Android Player

I am getting the following error when I try to launch Xamarin Android Player.
I have tried reducing the allocated memory in Virtual Box, as suggested in some other forums but no results.
I am using Virtual Box V5.0.4.
Kindly guide on resolving the issue.
The Android is working in Virtual Box when I change
Settings>Network>Adapter1>Attached to
to NAT by going into the in virtual box but as I launch the Xamarin Android Player or GenyMotion. it resets it to Host-Only Adapter and the emulator stops working.
Check if you have Virtualization Enabled in your BIOS settings.
Another workaround:
Uninstall previous versions of XAP.
Open up VirtualBox and remove all of the XAP devices, choose to delete files.
Open the VirtualBox Virtual Media Manager and ensure there are no data.vdi, system.vdi or sdcard.vdi files remaining. If there are,
release and remove them.
Delete C:\ProgramData\AndroidPlayer
Source: https://bugzilla.xamarin.com/show_bug.cgi?id=24817
I would update virtual box to 5.0.20 from here try it again.
If that doesn't work then try reinstalling Xamarin Android Player.
If that doesn't work then I would recommend trying GenyMotion
Check this forum post too
They say this:
I solved this issue by reducing the RAM Value in Virtual Box.
Go to Virtual Box
Select Your Device
Go to settings -> System -> Motherboard.
Reduce Base Memory.
Or this might help:
Try starting the emulator in VirtualBox. It will give you a specific error, which you can then google for more info.
In my case, the issue was VERR_INTNET_FLT_IF_NOT_FOUND, and the solution was here
solution https://www.virtualbox.org/ticket/14604#comment:1

Virtual Machine display in Mac

I'm using ORACLE Virtualbox in my Mac, I get two problems when running a VM
The Display is shrunk, it doesn't occupy the complete screen even at Full Screen Mode.
When mouse is captured in the VM I'm unable to move it out of VM, when I'm not in Full Screen Mode.
I'm not sure why this happens

Cloudera VM Windows mouse only partially works

I am getting started with Cloudera Hadoop and downloaded the VMWare image from here. While the image itself works fine, my mouse does not.
I am running on a new MacBookAir, using VMWare for the Mac. I created the image using the uncompressed image file, but was unsure which OS to select in VMWare. I tried both Mac OS (which didn't even boot in the VM) and then Windows OS (which did boot).
The mouse behaves as follows in the VM. Right click works fine, i.e. context-menu appears. Left click does nothing. I have tried to use the 'mouse' system setting to fix this, but that doesn't change anything.
Suggestions?
I got it working - a couple of things. First I needed to re-create the VM using the correct OS (it is Linux - CentOS 5.8, and in my case 64-bit).
Next I needed to mount a CD drive (had to force shutdown and then re-start) via the Settings. After that I had to install the VMWare Tools via the newly mounted CD (from the original source media).
After that I had to do a cold restart one more time, then voila - mouse is working ok.

Resources