Starting guests on Windows with NO windows at all...

Discussions related to using VirtualBox on Windows hosts.
Post Reply
mr-rick
Posts: 2
Joined: 3. Dec 2008, 20:30

Starting guests on Windows with NO windows at all...

Post by mr-rick »

Hi...

I've been trying create virtual guests with absolutely NO windows. I can use the -vrdp but that still pops up a silly window with:

Code: Select all

VirtualBox Headless Interface 2.0.6
(C) 2008 Sun Microsystems, Inc.
All rights reserved

Listening on port 3389
I don't even want this window. I've tried:
  • cygwin - can't start Vbox from cygwin bash shell. In fact, the bash shell doesn't even know about Vbox and cannot list configured VMs.

    Code: Select all

    $ VBoxManage.exe list vms
    VirtualBox Command Line Management Interface Version 2.0.6
    (C) 2005-2008 Sun Microsystems, Inc.
    All rights reserved.
  • converting a perl script to start it into a service
  • using AT command under windows
The only thing that even works a little bit are some shareware/freeware window hiding programs.

I suspect the problem has more to do with Windows than with Vbox, but is there any way to achieve this?

Rick
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

You might want to check the service topic that's a sticky in this forum.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
mr-rick
Posts: 2
Joined: 3. Dec 2008, 20:30

Post by mr-rick »

Doh! Thanks.
dolzenko
Posts: 2
Joined: 27. Dec 2008, 20:42

Post by dolzenko »

why not just?

Code: Select all

start "" /b VBoxHeadless -startvm "VM_Name" -vrdp=off
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

dolzenko wrote:why not just?

Code: Select all

start "" /b VBoxHeadless -startvm "VM_Name" -vrdp=off
Because that will leave a command prompt running. Closing that prompt will close the VM.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

Yup, a -systray option would be great for windows systems, but so far this hasn't been seen as a priority by the Dev team.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Post by baf »

Take a look at http://www.turtle.dds.nl/run/ its a program to start something without a dos box
or this one looks easier to use http://www.commandline.co.uk/chp/
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
dolzenko
Posts: 2
Joined: 27. Dec 2008, 20:42

Post by dolzenko »

Sasquatch wrote:
dolzenko wrote:why not just?

Code: Select all

start "" /b VBoxHeadless -startvm "VM_Name" -vrdp=off
Because that will leave a command prompt running. Closing that prompt will close the VM.
In short - no, it wont, you can safely close the prompt from which the command was issued
Starts a separate window to run a specified program or command.

START ["title"] [/Dpath] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
[/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
[/WAIT] [/B] [command/program]
[parameters]
...
B Start application without creating a new window. The
application has ^C handling ignored. Unless the application
enables ^C processing, ^Break is the only way to interrupt
the application
Post Reply