Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

141
Vistas
JAX script to start VMware vm from Viscosity that used to work stopped working with latest VMware Fusion

BigSur 11.6.1

After upgrading Fusion to 12.2.0 a vmrun command that used to work when run using an AppleScript (JAX) from a given Viscosity VPN pre-connection event simply stopped working. This script when run directly from AppleScript IDE works fine. Tried adding user, password and admin privileges flag yet it will not start the vm when run as a Viscosity VPN event.

This is the snippet of code that attempt to start the VPN:

var app = Application.currentApplication();
app.includeStandardAdditions = true;
try {
    app.doShellScript("ping 192.168.20.128 -c 1");
} 
catch (err) {
    app.doShellScript("'/Applications/VMware Fusion.app/Contents/Library/vmrun' start '//Users//<username>//Virtual Machines.localized//OpenWRT21-RW.vmwarevm//OpenWRT21-RW.vmx'", {userName:'<username>', password:'<password>', administratorPrivileges:true, alteringLineEndings:false});
}

Any ideas? Something changed with vmrun that suddenly when run from a context different than the interactive user context makes it fail?

( I have a separate post in VMWare communities where I'm sharing all my misadventures with Fusion 12.2: https://communities.vmware.com/t5/VMware-Fusion-Discussions/Fusion-12-2-breaks-otherwise-properly-working-networking-in/m-p/2872773#M175912 )

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda