Skip to content

Damenly/homebrew-virt-manager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

homebrew-virt-manager

A set of homebrew formulae to install virt-viewer on Mac OSX.

Homebrew-core now has officical support for virt-manager.

The virt-viewer in this repo is copied from jouve's repo.

I personally suggest that you guys use the above tap.

Usage

brew tap Damenly/homebrew-virt-manager
brew install virt-manager
brew install virt-viewer
virt-manager -c test:///default

NOTE:

Do not forget export XDG_DATA_DIRS="/opt/homebrew/share/".

FAQs

Why icons are missing?

Backup your /usr/local/share/icons first. Then rm -rf /usr/local/share/icons.

Finally link your homebrew icons directory to /usr/local/share/icons. For arm64 ln -sf /opt/homebrew/share/icons /usr/local/share/icons then restart virt-manager.

Why can't I connect to a remote URI?

When connecting to remote URIs, you probably need to override the libvirt socket location, see www.jedi.be.

virt-manager -c 'qemu+ssh://user@libvirthost/system?socket=/var/run/libvirt/libvirt-sock'
virt-viewer -c 'qemu+ssh://user@libvirthost/system?socket=/var/run/libvirt/libvirt-sock'

I still can't connect to a remote URI, why?

This formula for virt-manager does not include the openssh-askpass dependency and does not prompt for passwords in a popup window. Here are two workarounds:

  1. Run virt-manager with either the --debug or --no-fork option to get password prompt via the CLI.

  2. Set up SSH keys between your local and remote system to avoid the prompt.

Why can't I connect to a local URI (e.g., qemu:///system)?

I've not yet tested virt-manager against any local URIs/hypervisors. If you get virt-manager working with a local hypervisor and needed to take any special steps, feel free to share the details.

Everything was working yesterday, but it's not working today, can you help?

If virt-manager or its dependencies have been upgraded recently (brew upgrade), it's possible that a reinstall may fix the issue (see #39).

About

A set of homebrew formulae to install virt-viewer on MacOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%