I installe VB and now I have 2 guest server. When I log in to the host server via ssh and run VBoxHeadless --startvm "server3" I cant use the shell no more, is there any way to start guest server but then still use host server's shell?
the second question is I have 2 guest server right but I cant run both with port 3389, so I changed server2 port to 3387, but then I cant log in to that server, from host server:
ssh 10.146.26.9
ssh: connect to host 10.146.26.9 port 22: No route to host
ssh and openssh-server are installed on server2
headless Debain lenny
-
marmellata
- Posts: 16
- Joined: 31. May 2009, 14:50
- Primary OS: Debian Lenny
- VBox Version: OSE Debian
- Guest OSses: Debian
-
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
Re: headless Debain lenny
The command to run a VM in headless mode has been given here before, use VBoxManage startvm -type vrdp, or similar. Just browse a few topics down the list, should come up.
As for your access, VRDP is not the same as SSH. So changing the VRDP port is nice and all, but you need an RDP program to be able to connect to the VM that way. If you want to SSH to it, you have to either forward the correct port as described in the Manual when using NAT, or change the network settings of the Guest to use Bridged, which will make the VM act like a normal machine on the network.
As for your access, VRDP is not the same as SSH. So changing the VRDP port is nice and all, but you need an RDP program to be able to connect to the VM that way. If you want to SSH to it, you have to either forward the correct port as described in the Manual when using NAT, or change the network settings of the Guest to use Bridged, which will make the VM act like a normal machine on the network.
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.
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.
-
marmellata
- Posts: 16
- Joined: 31. May 2009, 14:50
- Primary OS: Debian Lenny
- VBox Version: OSE Debian
- Guest OSses: Debian
Re: headless Debain lenny
thanks for thee first answer 
about the second one actually I already have all guest in bridge mode. If I set 3389 port to server2 and stop server3 I can login to server2 via ssh.
about the second one actually I already have all guest in bridge mode. If I set 3389 port to server2 and stop server3 I can login to server2 via ssh.
-
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
Re: headless Debain lenny
That shouldn't be possible. Especially with Bridged, all VMs have their own IP address. The port you set is for VRDP, which you use to connect to using the Host IP.
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.
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.
-
marmellata
- Posts: 16
- Joined: 31. May 2009, 14:50
- Primary OS: Debian Lenny
- VBox Version: OSE Debian
- Guest OSses: Debian
Re: headless Debain lenny
you are right.. now everything works fine
, I didnt know how rdp works.
Thanks
Thanks