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












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 vmware-player






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 17 at 3:27







AnAs51993

















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










1 Answer
1






active

oldest

votes


















1














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











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

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














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
















1














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














1












1








1







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,5471020




1,5471020













  • 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


















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

Plaza Victoria

In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...