How to set a custom resolution on Android-x86 VM running in VMware Fusion - android-x86

I created an Android-x86 8.1-r1 VM using Vmware Fusion 11.0.3 for Mac, and I need to change its screen resolution to 1080x1920.
I tried to change the resolution following the instructions contained here.
I edited the /mnt/grub/menu.lst accordingly, but I don't know if there is in VMWare a command equivalent to this Virtual Box command:
VBoxManage setextradata "VM_NAME_HERE" "CustomVideoMode1" "1080x1920x32"
So, without telling VMware about that custom resolution like it's done in Virtual Box (I don't know if it's really needed), whenever I turn the VM on, I can see the initial terminal messages, but then the screen goes black and nothing happens.

Related

My Fundamental Misunderstanding of Google Compute Engine Instance

So my goal is to be able to run some programs/applications on remote computer (windows), all day long. So I created a Google Compute Engine VM Instance, win server 2008 R2 (desktop), with 1 CPU and no GPU.
But these programs need a windows os with 32-bit color depth (the current setting on the VM is 16-bit) and windows 2008 does not allow me to change graphics settings via remote desktop connection. So I tried teamviewer to get around this, but the VM instance doesn't seem to even be graphically active unless RDP is used (the screen appears black in teamviewer)? Teamviewer says the vm is a 'probably minimized remote desktop session'. This is worrying as I need the graphics of the vm-instance to be always up and running like a normal computer, not just activated when RDP is used. So it seems like I'm misunderstanding something here. Basically, teamviewer needs to work at least. Is there a way to do this?

awesome-wm external monitor and laptop

I use awesome wm with an external monitor on my laptop but sometimes I move and take the laptop only.
My question is: what happens with the clients opened in the external monitor when I disconnect it to move the laptop?
Is there a way to make awesome remember the layout of the screens? currently I'm using arandr every time I plug the screen but it is very annoying to do that every time I move the laptop.
In general any tips about how to handle a setup with an external display and a laptop is what I'm looking for.
Thanks!
Check out autorandr
It's been working perfectly for me when plugging/unplugging monitors.
EDIT:
Here's an example of how I used autorandr (on Ubuntu)
git clone https://github.com/wertarbyte/autorandr.git
cd autorandr
make deb
dpkg -i autorandr*.deb
Save my current config (no monitors)
autorandr --save mobile
Plug in additional monitor (and configure your settings)
autorandr --save multi
It should now automatically detect and apply the correct configurations when devices are plugged/unplugged. This works via a udev rule:
cat /lib/udev/rules.d/40-monitor-hotplug.rules
ACTION=="change", SUBSYSTEM=="drm", RUN+="/bin/systemctl start --no-block autorandr.service"
Nothing happens! All your applications stay open as they were when you had your monitor connected. When you reconnect the monitor everythingi will still be the same.
Take note that this means that you can still go with your mous on the disconnected screen. Your mouse will simply disappear ath the edge of your monitor because awesome still thinks that there are two screens.
If you want awesome to realize that there is only one screen remaining you have to reload the awesome-config. Once you do that, all open clients will be distributed according to your client rules on the available tags.

Openstack, a small image for a tiny flavor

Recently I installed openstack using devstack on my laptop. The problem I'm facing is to launch an instance, since my pc have poor ressources (32 bits, 4 Go Ram, 20Go free space), I need to deploy a very small image.
I tried an iso image for an ubuntu, I downloaded also a image from Ubuntu Cloud images but both of them can't be started. All I want to do is to launch an instance, install java, Tomcat server.
Any advice about an image that I can use?
Try Ubuntu Server Cloud Image
It will run perfectly with 512 MB of RAM.
Also stop unwanted services to save memory. Like stop ssh, sendmail, crond If you are not using them.
Use ubuntu cloud images. Make sure your cloud image is also 32bit.
While spawning instance, see that you look into Nova Security groups to allow ports which you might use.
devstack has cirros built-in. It is probably as small as you can get. It is a limited distro, but you should be able to download the jdk installer and run it.
You may need to download a 32 bit cirros image. The cirros distro downloads are available here:
https://launchpad.net/cirros/+milestone/0.3.0
This image should work for you:
https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-i386-disk.img
You can try any image which are at **https://docs.openstack.org/image-guide/obtain-images.html.
In these Ubuntu image is one which you can use and install applications on it.
It comes with default username ubuntu and you can set new password using cloud-init of heat template or manually while launching the instance.

Booting up Teradata express VM using VirtualBox

I downloaded the Teradata express VM today. But I don't use vmware... i use virtual box instead. I created a new VM and added all the vmdk disk files to virtual box.
but it is throwing error could not find /dev/disk/by-label/ROOT-BE1. Want me to fall back to /dev/disk/by-path/pci-0000:00
does anyone know how to boot the vm image with virtual box?
I have the same problem, with the same message. The same mistake.
The solution is simple. Just change the Storage Controler to SCSI. After this, restart the VM and it will start normally, but in command line.
I try, but i can't run the startx command...
Try adding IDE controller and then add the disk as existing hard disk device. This should let you boot into the OS.
I saw this exact error when trying to load the VM in KVM. What seemed to fix it was selecting 'single user mode' in the grub menu. After booting like this once, selecting the default grub option subsequently allowed the VM to boot further than this error.
Note that I haven't been able to successfully bring up the actual database yet - the service doesn't start automatically, and when I start it manually, it reboots the VM, bringing me back to the same state as before. Maybe you'll have more luck with VirtualBox?

unable to launch WindowsXp image on openstack

I tried openstack on my laptop, my setup is like this
Host Machine: Windows 7
Virtualisation: VirtualBox
Ubuntu12 is running on this VirtualBox, On this Ubuntu12, I installed OpenStack Essex packages with qemu as hypervisor, and added few uec linux images on to glance, I was able to access linux images using ssh and vnc, it was great success.
Now, It has become very challenging to upload Windows image , it was really a night mare I tried all possible ways, searched in google found lot of solutions, but nothing worked, at last I converted WindowsXp.vdi file to WindowsXp.img using VBoxManage and added to glance, once I launch it I am getting blue screen error and windowsxp is horribly
restarting......................... So please help to resolve this issue
Your windows images (server or desktop) will BSOD without the correct drivers for the virtualization that you have chosen. Try installing the windows image with one of the drivers at http://www.claunia.com/qemu/drivers/index.html (QEMU drivers) and see how it goes.
Please note: Windows is notoriously difficult to run on any cloud not just OpenStack. In addition to the drivers, you will wrestle with image format (like you have) and initialization problems (otherwise all the images come up with that same GUIDs).

Resources