OpenSource
Releasing mouse pointer in virt-manager on macOs
If you are using virt-manager on macOs with XQuartz you might know the problem to release the mouse once you have entered a virtual machine. You can solve this issue by creating an additional file in your profile directory ~/.Xmodmap. This file must contain the necessary keyboard mappings to be able to release the mouse pointer.
clear Mod1
keycode 66 = Alt_L
keycode 69 = Alt_R
add Mod1 = Alt_L
add Mod1 = Alt_R
Save the file and execute chmod 700 .Xmodmap . Than restart XQuartz and open virt-manager again. Using your left Control and left Option key will now release the mousepointer.
Have fun!
How to solve several issues in Linux after Cloning a VM in KVM
This will solve the issue that you have no network connection.If you run your virtual environment using KVM you will recognize some issues after cloning a virutal machine (eg Ubuntu 10.04 Server).
- No network connection could be established
- ssh-keys on all clones are identical
- hostnames are identical
- static ip-addresses are identical and lead to trouble in your network
This
To solve most of these issues follow the very nice instructions of
After I recognized that the blog is currently unavailable follow the following instructions to resolve this issue after cloning.
- sudo rm /etc/udev/rules.d/70-persistent-net.rules
- sudo reboot -h now
- sudo nano /etc/hosts
- Change the hostname and ip-address
- sudo nano /etc/hostname
- Change the hostname of the VM
- If you work with static ip-addresses you have to adjust your network configuration
- sudo nano /etc/network/interfaces
- Change ip-addresses and other network settings.
- sudo nano /etc/network/interfaces
- sudo reboot -h now
- check whether your network is running and your machine is available
Have fun!