Run VMware Player with no GUI(Headless) by editing .vmx file Announcing the arrival of Valued...

How can I set the aperture on my DSLR when it's attached to a telescope instead of a lens?

How do living politicians protect their readily obtainable signatures from misuse?

Should a wizard buy fine inks every time he want to copy spells into his spellbook?

Why can't I install Tomboy in Ubuntu Mate 19.04?

Why do early math courses focus on the cross sections of a cone and not on other 3D objects?

Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?

How could we fake a moon landing now?

An adverb for when you're not exaggerating

How were pictures turned from film to a big picture in a picture frame before digital scanning?

What is the difference between a "ranged attack" and a "ranged weapon attack"?

Trademark violation for app?

AppleTVs create a chatty alternate WiFi network

Sum letters are not two different

Semigroups with no morphisms between them

Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?

One-one communication

What makes a man succeed?

Dyck paths with extra diagonals from valleys (Laser construction)

How does Belgium enforce obligatory attendance in elections?

1-probability to calculate two events in a row

Do I really need to have a message in a novel to appeal to readers?

Intuitive explanation of the rank-nullity theorem

Drawing spherical mirrors

Can a sorcerer use careful spell on himself?



Run VMware Player with no GUI(Headless) by editing .vmx file



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)VMWare Server vs. VMWare PlayerVMWare server vs. VMWare player Speed Difference VMWare Player Run as ServiceChange MacOS X guest screen resolution for VirtualBoxRun VMware Player image as service Windows 7VMWare Player disable screen timeoutAll VMware (Player) Machines are “corrupt”VMWare Player presses and holds random keysEthernet-Connection ubuntu with VMware Playervmware player host not accessible once vmware player is running





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I used to run VMware Player with no GUI by editing the .vmx file and disabling a preference to confirm before closing a virtual machine. The process was to disable that option in VMware Player preferences by adding two lines to the end of the .vmx file.



This will make closing VMware Player send the VM to background and close the Player GUI.



I searched the Internet to find out what those two lines were but have had no luck; all the posts just talk about using vmrun command or using VMware Server.





Edit 1



Headless is the terminology for the service not without GUI





Does any one know what those two lines are?










share|improve this question

























  • Exactly what do you mean by "no GUI"? How did you close VMware Player without a GUI?

    – jamesdlin
    Jan 16 at 15:46











  • Colse the vmware screen but not shutting down the OS

    – AnAs51993
    Jan 16 at 15:51











  • That doesn't explain exactly what "no GUI" means to you. What do you expect to see (and not see)? Do you still want a window with the guest screen? Do you still want a titlebar with minimize/maximize/close buttons? Are you just looking to hide the VMware Player menubar and toolbar?

    – jamesdlin
    Jan 16 at 15:57











  • No I don't want the guest screen,it sort of un link the process from the player window and close it but the guest remains running

    – AnAs51993
    Jan 16 at 16:06


















0















I used to run VMware Player with no GUI by editing the .vmx file and disabling a preference to confirm before closing a virtual machine. The process was to disable that option in VMware Player preferences by adding two lines to the end of the .vmx file.



This will make closing VMware Player send the VM to background and close the Player GUI.



I searched the Internet to find out what those two lines were but have had no luck; all the posts just talk about using vmrun command or using VMware Server.





Edit 1



Headless is the terminology for the service not without GUI





Does any one know what those two lines are?










share|improve this question

























  • Exactly what do you mean by "no GUI"? How did you close VMware Player without a GUI?

    – jamesdlin
    Jan 16 at 15:46











  • Colse the vmware screen but not shutting down the OS

    – AnAs51993
    Jan 16 at 15:51











  • That doesn't explain exactly what "no GUI" means to you. What do you expect to see (and not see)? Do you still want a window with the guest screen? Do you still want a titlebar with minimize/maximize/close buttons? Are you just looking to hide the VMware Player menubar and toolbar?

    – jamesdlin
    Jan 16 at 15:57











  • No I don't want the guest screen,it sort of un link the process from the player window and close it but the guest remains running

    – AnAs51993
    Jan 16 at 16:06














0












0








0








I used to run VMware Player with no GUI by editing the .vmx file and disabling a preference to confirm before closing a virtual machine. The process was to disable that option in VMware Player preferences by adding two lines to the end of the .vmx file.



This will make closing VMware Player send the VM to background and close the Player GUI.



I searched the Internet to find out what those two lines were but have had no luck; all the posts just talk about using vmrun command or using VMware Server.





Edit 1



Headless is the terminology for the service not without GUI





Does any one know what those two lines are?










share|improve this question
















I used to run VMware Player with no GUI by editing the .vmx file and disabling a preference to confirm before closing a virtual machine. The process was to disable that option in VMware Player preferences by adding two lines to the end of the .vmx file.



This will make closing VMware Player send the VM to background and close the Player GUI.



I searched the Internet to find out what those two lines were but have had no luck; all the posts just talk about using vmrun command or using VMware Server.





Edit 1



Headless is the terminology for the service not without GUI





Does any one know what those two lines are?







virtual-machine vmware-player






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 6 hours ago









Hennes

59.5k793144




59.5k793144










asked Jan 15 at 0:06









AnAs51993AnAs51993

33




33













  • Exactly what do you mean by "no GUI"? How did you close VMware Player without a GUI?

    – jamesdlin
    Jan 16 at 15:46











  • Colse the vmware screen but not shutting down the OS

    – AnAs51993
    Jan 16 at 15:51











  • That doesn't explain exactly what "no GUI" means to you. What do you expect to see (and not see)? Do you still want a window with the guest screen? Do you still want a titlebar with minimize/maximize/close buttons? Are you just looking to hide the VMware Player menubar and toolbar?

    – jamesdlin
    Jan 16 at 15:57











  • No I don't want the guest screen,it sort of un link the process from the player window and close it but the guest remains running

    – AnAs51993
    Jan 16 at 16:06



















  • Exactly what do you mean by "no GUI"? How did you close VMware Player without a GUI?

    – jamesdlin
    Jan 16 at 15:46











  • Colse the vmware screen but not shutting down the OS

    – AnAs51993
    Jan 16 at 15:51











  • That doesn't explain exactly what "no GUI" means to you. What do you expect to see (and not see)? Do you still want a window with the guest screen? Do you still want a titlebar with minimize/maximize/close buttons? Are you just looking to hide the VMware Player menubar and toolbar?

    – jamesdlin
    Jan 16 at 15:57











  • No I don't want the guest screen,it sort of un link the process from the player window and close it but the guest remains running

    – AnAs51993
    Jan 16 at 16:06

















Exactly what do you mean by "no GUI"? How did you close VMware Player without a GUI?

– jamesdlin
Jan 16 at 15:46





Exactly what do you mean by "no GUI"? How did you close VMware Player without a GUI?

– jamesdlin
Jan 16 at 15:46













Colse the vmware screen but not shutting down the OS

– AnAs51993
Jan 16 at 15:51





Colse the vmware screen but not shutting down the OS

– AnAs51993
Jan 16 at 15:51













That doesn't explain exactly what "no GUI" means to you. What do you expect to see (and not see)? Do you still want a window with the guest screen? Do you still want a titlebar with minimize/maximize/close buttons? Are you just looking to hide the VMware Player menubar and toolbar?

– jamesdlin
Jan 16 at 15:57





That doesn't explain exactly what "no GUI" means to you. What do you expect to see (and not see)? Do you still want a window with the guest screen? Do you still want a titlebar with minimize/maximize/close buttons? Are you just looking to hide the VMware Player menubar and toolbar?

– jamesdlin
Jan 16 at 15:57













No I don't want the guest screen,it sort of un link the process from the player window and close it but the guest remains running

– AnAs51993
Jan 16 at 16:06





No I don't want the guest screen,it sort of un link the process from the player window and close it but the guest remains running

– AnAs51993
Jan 16 at 16:06










2 Answers
2






active

oldest

votes


















2














The terminology you're looking for is to run VMs (not VMware Player, which is actually a UI to interact with the VM) headless.



Close all VMware Workstation and Player instances and try editing your preferences file (%USERPROFILE%Application DataVMwarepreferences.ini on Windows, ~/.vmware/preferences on Linux) to add the lines:



pref.vmplayer.exit.vmAction = "disconnect"
pref.vmplayer.confirmOnExit = "FALSE"





share|improve this answer
























  • this will make any instance of VMs headless there is an alternative code to be added to .vmx file to make only one VM headless maybe pref.exit.vmAction = "disconnect" or exit.vmAction = "disconnect" I tried them but did not work any way this is good for now thanks

    – AnAs51993
    Jan 17 at 3:18











  • No, there is no way to do this on a per-VM basis. The preferences file affects the UI behavior; the .vmx files affect VM behaviors.

    – jamesdlin
    Jan 17 at 7:54



















0














Look for the VMware VIX API. You will need to create a login to download it but it is free. It installs a tool called 'vmrun' that you can use to start the VM without needing the GUI at all. It works fine with vmplayer (at least on Linux, I haven't tried Windows)



e.g.:



 vmrun -T player start myvm.vmx nogui





share|improve this answer








New contributor




Nico is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1394312%2frun-vmware-player-with-no-guiheadless-by-editing-vmx-file%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    The terminology you're looking for is to run VMs (not VMware Player, which is actually a UI to interact with the VM) headless.



    Close all VMware Workstation and Player instances and try editing your preferences file (%USERPROFILE%Application DataVMwarepreferences.ini on Windows, ~/.vmware/preferences on Linux) to add the lines:



    pref.vmplayer.exit.vmAction = "disconnect"
    pref.vmplayer.confirmOnExit = "FALSE"





    share|improve this answer
























    • this will make any instance of VMs headless there is an alternative code to be added to .vmx file to make only one VM headless maybe pref.exit.vmAction = "disconnect" or exit.vmAction = "disconnect" I tried them but did not work any way this is good for now thanks

      – AnAs51993
      Jan 17 at 3:18











    • No, there is no way to do this on a per-VM basis. The preferences file affects the UI behavior; the .vmx files affect VM behaviors.

      – jamesdlin
      Jan 17 at 7:54
















    2














    The terminology you're looking for is to run VMs (not VMware Player, which is actually a UI to interact with the VM) headless.



    Close all VMware Workstation and Player instances and try editing your preferences file (%USERPROFILE%Application DataVMwarepreferences.ini on Windows, ~/.vmware/preferences on Linux) to add the lines:



    pref.vmplayer.exit.vmAction = "disconnect"
    pref.vmplayer.confirmOnExit = "FALSE"





    share|improve this answer
























    • this will make any instance of VMs headless there is an alternative code to be added to .vmx file to make only one VM headless maybe pref.exit.vmAction = "disconnect" or exit.vmAction = "disconnect" I tried them but did not work any way this is good for now thanks

      – AnAs51993
      Jan 17 at 3:18











    • No, there is no way to do this on a per-VM basis. The preferences file affects the UI behavior; the .vmx files affect VM behaviors.

      – jamesdlin
      Jan 17 at 7:54














    2












    2








    2







    The terminology you're looking for is to run VMs (not VMware Player, which is actually a UI to interact with the VM) headless.



    Close all VMware Workstation and Player instances and try editing your preferences file (%USERPROFILE%Application DataVMwarepreferences.ini on Windows, ~/.vmware/preferences on Linux) to add the lines:



    pref.vmplayer.exit.vmAction = "disconnect"
    pref.vmplayer.confirmOnExit = "FALSE"





    share|improve this answer













    The terminology you're looking for is to run VMs (not VMware Player, which is actually a UI to interact with the VM) headless.



    Close all VMware Workstation and Player instances and try editing your preferences file (%USERPROFILE%Application DataVMwarepreferences.ini on Windows, ~/.vmware/preferences on Linux) to add the lines:



    pref.vmplayer.exit.vmAction = "disconnect"
    pref.vmplayer.confirmOnExit = "FALSE"






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jan 16 at 16:12









    jamesdlinjamesdlin

    1,7001120




    1,7001120













    • this will make any instance of VMs headless there is an alternative code to be added to .vmx file to make only one VM headless maybe pref.exit.vmAction = "disconnect" or exit.vmAction = "disconnect" I tried them but did not work any way this is good for now thanks

      – AnAs51993
      Jan 17 at 3:18











    • No, there is no way to do this on a per-VM basis. The preferences file affects the UI behavior; the .vmx files affect VM behaviors.

      – jamesdlin
      Jan 17 at 7:54



















    • this will make any instance of VMs headless there is an alternative code to be added to .vmx file to make only one VM headless maybe pref.exit.vmAction = "disconnect" or exit.vmAction = "disconnect" I tried them but did not work any way this is good for now thanks

      – AnAs51993
      Jan 17 at 3:18











    • No, there is no way to do this on a per-VM basis. The preferences file affects the UI behavior; the .vmx files affect VM behaviors.

      – jamesdlin
      Jan 17 at 7:54

















    this will make any instance of VMs headless there is an alternative code to be added to .vmx file to make only one VM headless maybe pref.exit.vmAction = "disconnect" or exit.vmAction = "disconnect" I tried them but did not work any way this is good for now thanks

    – AnAs51993
    Jan 17 at 3:18





    this will make any instance of VMs headless there is an alternative code to be added to .vmx file to make only one VM headless maybe pref.exit.vmAction = "disconnect" or exit.vmAction = "disconnect" I tried them but did not work any way this is good for now thanks

    – AnAs51993
    Jan 17 at 3:18













    No, there is no way to do this on a per-VM basis. The preferences file affects the UI behavior; the .vmx files affect VM behaviors.

    – jamesdlin
    Jan 17 at 7:54





    No, there is no way to do this on a per-VM basis. The preferences file affects the UI behavior; the .vmx files affect VM behaviors.

    – jamesdlin
    Jan 17 at 7:54













    0














    Look for the VMware VIX API. You will need to create a login to download it but it is free. It installs a tool called 'vmrun' that you can use to start the VM without needing the GUI at all. It works fine with vmplayer (at least on Linux, I haven't tried Windows)



    e.g.:



     vmrun -T player start myvm.vmx nogui





    share|improve this answer








    New contributor




    Nico is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

























      0














      Look for the VMware VIX API. You will need to create a login to download it but it is free. It installs a tool called 'vmrun' that you can use to start the VM without needing the GUI at all. It works fine with vmplayer (at least on Linux, I haven't tried Windows)



      e.g.:



       vmrun -T player start myvm.vmx nogui





      share|improve this answer








      New contributor




      Nico is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0












        0








        0







        Look for the VMware VIX API. You will need to create a login to download it but it is free. It installs a tool called 'vmrun' that you can use to start the VM without needing the GUI at all. It works fine with vmplayer (at least on Linux, I haven't tried Windows)



        e.g.:



         vmrun -T player start myvm.vmx nogui





        share|improve this answer








        New contributor




        Nico is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        Look for the VMware VIX API. You will need to create a login to download it but it is free. It installs a tool called 'vmrun' that you can use to start the VM without needing the GUI at all. It works fine with vmplayer (at least on Linux, I haven't tried Windows)



        e.g.:



         vmrun -T player start myvm.vmx nogui






        share|improve this answer








        New contributor




        Nico is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        Nico is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 7 hours ago









        NicoNico

        1




        1




        New contributor




        Nico is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Nico is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Nico is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1394312%2frun-vmware-player-with-no-guiheadless-by-editing-vmx-file%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

            Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

            VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...