How exactly use runProgramInGuest in Vmware CLI (Windows host, Ubuntu guest)? -


please me understand how use command in windows

  1. environment:
    1. windows 10 host installed , running (vsxsrv x server)
    2. ubuntu 16.04.3 guest
    3. workstation 12.5

what want: create shortcut on windows desktop 10 can start application in ubuntu, open in window manager of windows

how should build such query through vmrun?

this not work vmrun -t runprograminguest -gu guestuser -gp guestpassword "c:\users\andre\documents\virtual machines\ubuntu 64-bit\ubuntu 64-bit.vmx" /usr/bin/x11/xclock -display 192.168.33.1:0

  1. i can following:
    1. connect guest through putty
    2. make export variable display "export display=192.168.33.1:0"
    3. write in terminal "sudo gedit" result

enter image description here

but how can done through vmrun ? help

i dont think running valid command. see example:

vmrun -t server -h https://xps:8333/sdk -u root -p mypassword -gu administrator -gp guestpaswd    runprograminguest "[vol1] win2008-1/win2008-1.vmx" -activewindow "c:\windows\system32\cmd.exe" 

this example taken this tutorial


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -