Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Install CygWin w/ virt-manager, xinit and openssh
  • Configure PWDless SSH via RSA Key to KVM Host
    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.

    No Format
    chmod 400 ~/.ssh/id_rsa

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

    No Format
    C:\cygwin64\home\AdminYouLoginName\.ssh\id_rsa
  • Configure XWin to autostart Virt-Manager

    No Format
    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) 

    No Format
    tskill.exe xwin
    
    C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin