Bewertung: 5 / 5

Stern aktivStern aktivStern aktivStern aktivStern aktiv

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!

 

Bewertung: 5 / 5

Stern aktivStern aktivStern aktivStern aktivStern aktiv

 

 

PenguinHow 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).

  1. No network connection could be established
  2. ssh-keys on all clones are identical
  3. hostnames are identical
  4. 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

 

mikko's log

 

After I recognized that the blog is currently unavailable follow the following instructions to resolve this issue after cloning.

  1. sudo rm /etc/udev/rules.d/70-persistent-net.rules
  2. sudo reboot -h now
  3. sudo nano /etc/hosts
    1. Change the hostname and ip-address
  4. sudo nano /etc/hostname
    1. Change the hostname of the VM
  5. If you work with static ip-addresses you have to adjust your network configuration
    1. sudo nano /etc/network/interfaces
      1. Change ip-addresses and other network settings.
  6. sudo reboot -h now
  7. check whether your network is running and your machine is available

 

 

Have fun!