How to set for auto Show VM window after login

Discussions about using Linux guests in VirtualBox.
Post Reply
Arius
Posts: 4
Joined: 15. Dec 2013, 21:30

How to set for auto Show VM window after login

Post by Arius »

Every time after I login I have to bring up the Oracle VM Virtualbox Manager then click its Show button to get the VM window then login to it, etc.

Is there a way to set up for auto Show for a VM after logging in to Linux?

Version 6.1.32 r149290 (Qt5.9.5)
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: How to set for auto Show VM window after login

Post by scottgus1 »

Arius wrote: click its Show button
A VM that is not yet started will not say "Show", it will say "Start". Is this VM already running before you log in? Or does the button really say "Start"?

A shortcut to start the VM can be made by right-clicking the VM in the list and choose Create Shortcut. The command line of this shortcut can then be used in Linux's user login script. Or if Linux has a "Startup" folder or Task Scheduler, like Windows does, the command line could be used there.

Or the VM can be started from the shortcut without opening the main Virtualbox window.
Arius
Posts: 4
Joined: 15. Dec 2013, 21:30

Re: How to set for auto Show VM window after login

Post by Arius »

I forgot to mention that the VM auto starts during system boot.

I am interested in getting the Show window for the VM automatically while logging in.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: How to set for auto Show VM window after login

Post by scottgus1 »

If I recall correctly, the standard vboxmanage startvm "vm name" to start a VM should also show a running but headless (or 'detached') VM. This command line can be put in the Linux login script.
Post Reply