Sie zeigen eine alte Version dieser Seite an. Zeigen Sie die aktuelle Version an.

Unterschiede anzeigen Seitenhistorie anzeigen

Version 1 Nächste Version anzeigen »

Um die Netzwerke (VLANs) der virtuellen Gluons komfortabel 

Installation / Konfiguration

Quelle: https://www.freesoftwareservers.com/display/FREES/Running+Virt-Manager+inside+Windows+10+using+CygWin+with+Shortcut+on+Desktop

Install CygWin w/ virt-manager, xinit and openssh

Configure PWDless SSH via RSA Key to KVM Host

  • Den private SSH-Key in der CygWin-Umgebung bereitstellen

Note: If you place your private key inside ~/.ssh/id_rsa and make sure permissions are the following SSH will automatically try using the Private Key. To create the directory .ssh with proper permissions and create the "known_hosts" file, I ususally SSH into KVM Host and accept the host-key fingerprint manually. Then move over the Private Key and test ssh'ing into KVM Host. It shouldn't ask you for your password and just auto-login.

chmod 400 ~/.ssh/id_rsa

Default Username is "YouLoginName" and in windows, you can copy the file manually to the default location via 

C:\cygwin64\home\YouLoginName\.ssh\id_rsa

Configure XWin to autostart Virt-Manager

cat << 'EOF' > ~/.startxwinrc
export DISPLAY=:0.0
virt-manager
sleep inf
EOF
chmod +x ~/.startxwinrc

Create Shortcut on Desktop: (This is the contents of my .cmd) 

tskill.exe xwin


C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin

Defekte Verknüpfung zu ssh-askpass reparieren

Next create a system link to fix the broken link for askpass in virt-manager, virt-manager points to /usr/sbin/ssh-askpass, cygwin installs it to /bin/lxqt-openssh-askpass.

Quelle: https://nonasuomy.github.io/virt-manager-windows/

ln -s /bin/lxqt-openssh-askpass /usr/sbin/ssh-askpass
  • Keine Stichwörter