Ubuntu Servers :: X Forwarding - Access Via Ssh A Virtualbox Guest Machine?
Mar 29, 2010
host - ubuntu 9.10 desktop
virtualizer - VirtualBox
What will be the easiest way to ssh connect a VM on VirtualBox, exporting its desktop to host, while it is already running ? I found; Howto Access via ssh a Virtualbox Guest machine.
[Code]...
View 4 Replies
ADVERTISEMENT
Feb 12, 2010
I have a Windows XP virtual machine under Virtualbox PUEL 3.1.2. I have always been able to browse the Web or do anything else I wanted over the network.
Suddenly, the guest XP machine can't reach the Internet any more. There is no indication of any problem with the network connection. I checked my router, and the virtual machine is indeed getting assigned an IP address. So why can't it reach the internet?
Yes, the virtual network adapter is in bridged mode. It always worked that way before. I can see local network shares from the virtual XP machine, and even reach the Apache server running on the host OS (Ubuntu 9.10 64-bit).
Also possibly significant: Even though the virtual XP machine is detected by the router & assigned an IP address, the printer attached to the virtual XP machine cannot be seen by another Windows machine (a real one, not virtual) on the network. I never had a problem sharing the printer before. I have to share it from a virtual Windows XP machine when I'm running Ubuntu because there are no Linux drivers available (it's a Winprinter).
View 2 Replies
View Related
Aug 12, 2014
Is it at all possible to disable internet access for the Debian host while providing internet access to the VirtualBox guest(s)?
I plan to only hook up the host to the internet for updates, upgrades and installations, although if I can, then I will make a Debian guest to test everything out and download the files from there and install everything on the host without even a single host connection point.
Is this the indomitable approach to intercommunication security? If not, then what haven't I thought of yet?
View 10 Replies
View Related
Feb 13, 2010
I currently have VirtualBox installed on my Ubuntu 9.10 Desktop. I have windows xp as a guest os and it has network shares on it. My question is, is there a way for another computer to access those network drives on the guest os in virtualbox? I don't want to search for hours on end on google, a simple no would be fine - however if it is possible let me know because when I am in windows on another computer that has windows as a host os it sees it in the windows network folder but it says "....network location not found" or something similar but it still shows a pc picture of the virtual os of the virtual box program running in ubuntu.
View 1 Replies
View Related
Sep 4, 2010
I used to be able to access the web server I had running on my guest OS in Virtual Box from my host OS. I also had it set to the network settings of "Host Only Adapter". Then I needed to access the internet directly on the gues OS, so I changed my settings on the guest OS to "NAT" (in virtual box), and in /etc/network/interfaces, I removed the loopback stuff and the static IP I'd put in. Now no matter what I do, I cannot get it back to being accessible from the host os! I even did a completely NEW install of Ubuntu guest OS in Virtual box Guest OS: Ubuntu 10.04 Desktop Host OS: OpenSUSE 11.3 VirtualBox: 3.2.6
View 5 Replies
View Related
May 20, 2011
I have an USB internet key (multimode GPRS/EDGE/UMTS/HSDPA) that only works on Windows. Though, I mainly use Linux for development activities and I don't want to move them to Windows. For this reason I decided to use a Windows guest on VirtualBox for internet access and the Linux host for the other stuffs, but I'd greatly prefer to use Linux for everything (internet too) and Windows only as internet gateway.
View 1 Replies
View Related
Mar 29, 2011
I'm running the host server on Ubuntu 10.04 LTS (64bit) . I'm using virtual box. I want to automatically for one of the guest vritualboxes to start on reboot. Following is already done without a success. Please help me in solving this.
1. I have created the following shell script
#!/bin/bash
/usr/bin/nohup /usr/bin/VBoxHeadless --startvm "VMNAME" 2> /dev/null &
2.From the current logged on user I did a crontab -e and did the following
crontab -e @reboot /bin/sh /home/myaccount/shellscript.sh note that I do not encrypt the home directory and sufficient permissions are there.
View 9 Replies
View Related
Mar 27, 2010
Can anyone help me with how to create an init.d script that will startup a vm machine in virtualbox at boot? I found this script:[URL]..But it is for ubuntu. I am running fedora 12 x386 and using it as an Amahi server. Very cool, but it would be extra cool if I had a virtual windows machine startup when I booted up this server. Then I could just rdp into it when I needed something in windows.
View 3 Replies
View Related
Dec 2, 2010
I couldn't find a clear answer to this, but is the linux-image-virtual package for host machines that will contain VMs, or a VM-oriented kernel for guest OS (ubuntu)? I have some guest VMs running on Microsoft's Hyper-V, and was looking for some further optimizations.
View 3 Replies
View Related
Mar 4, 2010
OpenSUSE installed in a Virtualbox Virtual Machine and I want to set a shared folder.
1 - Set up a Virtual Machine and install OpenSUSE 11.2
2 - Create a shared folder on host (HostFolder)
3 - Setup the shared folder in Virtualbox Via the Virtual Machine details or via Devices > Shared Folders...
4 - Install dependencies for running the Virtualbox installer You need to install the right development kernelpackage for your machinetype (use 'zypper search -i kernel' to see what's installed) sudo zypper make gcc kernel-source kernel-hosttype/default-devel
5 - Run the Virtual Machine and go to Devices > Guest Additions This mounts an iso image in your OpenSUSE guest.
6 - Open a root terminal and run
cd /usr/src/linux
make oldconfig && make prepare && make scripts && make dep
cp ../linux-obj/$HOSTTYPE/default/Module.symvers .
make prepare
* A commenter on previously mentioned thread says this step is unnecessary but it doesn't work without on my system. I suggest trying step 7 first and returning to step 6 if that fails. *
7 - Run ./VirtualboxLinux yourhosttype .run from the mounted iso image.
8 - Create shared folder in OpenSUSE (GuestFolder)
9 - Test with sudo mount -t vboxsf HostFolder /home/user/GuestFolder It works? Great! Let's set up the system so it automounts for your regular useraccount instead of root-only access.
10 - Add this line to /etc/fstab HostFolder /home/user/GuestFolder vboxsf defaults,uid=1000,gid=1000 0 0
11 - It works for me but if it still doesn't automount after a reboot; sudo mount -a
View 1 Replies
View Related
Apr 3, 2011
I installed a Fedora 14 guest on a Fedora 14 host with Virtualbox, then i run these commands on the guest:yum install kernel-devel kernel-headersbut if i try to install the virtualbox-guest additions on the guest, is still complains about that it's unable to find the kernel source directory?Ha anyone succeded installing the guest additions on a guest Fedora 14?
View 2 Replies
View Related
Jun 11, 2011
I have an OpenVPN(10.04.2 LTS) server running in bridge (TAP) mode. Its sitting behind a router and then a cable modem. The VPN works perfectly but I have a security concern. In order to allow the VPN clients to connect to the internet, I had to enable IPv4 forwarding on the server. Is this is a security hole? Can a hacker access my servers connection from the internet (without authenticating with OpenVPN) and access my network. Can someone use Ipv4 forwarding to access my LAN network from the WAN
I used this command to enable ipv4 forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
Without IPv4 forwarding my VPN clients can only access my LAN and router, but they cannot reach my modem or the internet.
[Code]...
View 1 Replies
View Related
Jun 3, 2010
I had a lot of trouble installing Guest Additions within the Fedora 13 Guest on a Linux host. I had to mount the vboxGuestadditions.iso from the Device --> CD/DVD Devices menu. Then I located the appropriate package for my system. In my case it was the AMD64 Linux version.I ran this as administrator in Terminal. I used the "bash" command followed by the package name. This was after CDing the the appropriate directory. The packaged installed, I then rebooted and it worked fine. (Something that would make this easier is to load a script into nautilus that would allow me to open a locatation as administartor at the open window. I'm sure there is something in Fedora to do this but I couldn't find it in a hurry so I used the command line way).
View 5 Replies
View Related
Jul 3, 2010
I have Virtualbox setup
WinXP Host
Ubuntu 10.04 is the guest
Mysql is installed in ubuntu and it works fine in the guest (ubuntu)
Internet works fine in the host and the guest. Bridged Network.
Now, here is the thing... i want to access mysql from my host to load some data into it.
how do i access mysql from my host Win XP?
View 3 Replies
View Related
May 11, 2010
I'm trying to install the Guest Additions for a VM running a guest Lucid Lynx Server. The problem I'm encountering is this: The vboxadd-install.log for vbox says it "couldn't find the sources of your current Linux kernel" and to "Specify KERN_DIR=<directory> and run Make again."
View 4 Replies
View Related
May 10, 2011
I have Ubuntu server 11.04 (LAMP, SAMBA) installed with the ubuntu-desktop interface (I am not yet experienced enough to run without it).My problem is I am trying to share the www directory through samba so I can edit the site, but no matter what I do I get errors when I try and access the directory form the other machine.I did add it to the smb.conf file, and it does show up fine on teh network, however, when I try and open or change the contents of the directory it says I am unauthorized.I tried:
Code:
sudo chown <sambausername> /var/www
even tried
[code]....
View 6 Replies
View Related
May 11, 2010
I'm using the newest VB 3.18 Lucid AMD64 .deb downloaded from Sun. Previous versions have not had USB support in Lucid. Now, when I start the XP guest, all my USB devices seem to be detected. My USB phone is shown as 'busy' as is my mouse. However, both my printers remain greyed out and are shown as being 'unavailable'. I have tried manually adding the printer filters before starting the guest, but no dice. Is anyone else having this problem? Any ideas as to a possible cause?
View 7 Replies
View Related
Mar 8, 2011
in my opinion, it's wrong to turn off the operating system by pushing the power off button on the hardware directly but is it okay to do that in the Virtual Machine I am running Windows XP on VirtualBox sometimes I feels lazy to wait for windows to shut down so I just close the window that runs the guest OS will that do any harm to the host system? or the guest system itself? If I saved all the files that is important, I couldn't think of any side effect.
View 3 Replies
View Related
May 15, 2011
I have an Ubuntu guest installed on Virtualbox 4.0.4 running on Windows 7 Home Premium. I have two firewall rules for Vbox which allow any, any inbound for both TCP and UDP and those rules have edge traversal enabled. I have host ports 9080 and 9022 forwarded to 80 and 22 on the guest. The Win7 box is on an Ethernet connection
After some testing, I have a netbook with a Wifi connection and Ubuntu netbook remix which cannot make an ssh connection to the Ubuntu guest.
But, the same netbook can telnet to port 9080 on the Win7 machine's address and successfully connect to a web server running on port 80 of the Ubuntu guest.
In order to check this out, I ran initctl stop ssh on the Ubuntu guest, verified thagt port 22 had no listeners, and ran ssh with /usr/sbin/sshd -d -e. This shows various bits of debug info from the console. Then I ran Putty on the win7 machine to connect to port 9022 on it's own IP address (that it got from DHCP) and made a successful connection to the guest Ubuntu.
The variable that I don't know much about is the landlord's cable router setup, but I can't figure out why that would block packets to 9022 but not packets to 9080.
View 1 Replies
View Related
Jul 9, 2010
I'm using Virtualbox to test Meerkat. I have the same problem with Ubuntu & Xubuntu,
Here is the output from VBoxLinuxAdditions-x86.run..
Here's the last few lines from vboxadd-install.log..
View 8 Replies
View Related
Sep 9, 2010
Quote:
I'm working in php / mssql project and I'm working on php side. I try VirtualBox to access to mssql from linux. I'm using VirtualBox 3.2.8(Downloaded from VirtualBox website) Hosted On Ubuntu 10.04, and my Guest OS is Windows 7. I followed some tutorials on how to connect from host to guest, but all failed... how to connect from ubuntu (host) to windows 7 (guest)
View 2 Replies
View Related
Nov 30, 2010
I'm running Ubuntu 10.10 x64 as a guest in VirtualBox on top of Windows 7. I recently bought a second monitor, and I want to set up my Ubuntu guest to use both monitors. I configured VirtualBox to give two displays to the VM, and two windows are displayed when I run the VM, however, the Ubuntu guest only uses the primary screen and does nothing with the second--the second screen is just black.
When I go to the monitor settings, only the one monitor is detected (as an "unknown monitor") I have the latest guest additions installed and the driver under System-Administration->Additional Drivers is shown as installed and working correctly. I don't have any issues with the single display--it shows in the correct resolution, and works fine if I set it to fullscreen or seamless mode. Any thoughts on getting Ubuntu to detect the other screen?
View 1 Replies
View Related
May 15, 2011
Just installed Virtualbox 4.0 on my netbook. Cannot seem to find an option for guest additions though.
How do I install guest additions on Virtualbox? (don't think I have the OSE version)
View 3 Replies
View Related
May 31, 2010
Im having trouble setting my SAMBA server correctly. I have two Win machines, one with WIN7 and one with XP. I have one Ubuntu machine and Ubuntu Server 10.04. My problem is that I can only acess files from the Win 7 Machine. When I try to map out the shared dirs on my serverI get asked for user and password, when I enter my creditensials it dosent help.. What to do? I used the sample smb.conf file and open for no restrictions..
[Code]....
View 9 Replies
View Related
Sep 21, 2010
I have a machine (lets called it machine 1) with two networks card, eth0 and eth1. Both have static IPs. Once in a while the machine refuses to give access to the Internet via Firefox (eth0 is the route to router). Other machines on the network have no problems accessing the Internet. Eventually the machine would just magically start working again, but this time it just seems to have stayed broken. I've done some simple diagnostics and found:
a) I have another machine running Apache with a Wiki on our network - [URL]. Machine 1 is unable to connect to this Wiki. I get 'the connection has timed out'. I can ping 192.168.1.73 and it responds in the usual fashion.
b) If I try to ping www.google.com it times out with: ping: unknown host www.google.com. I can ping google using its IP address.
c) On machine 1 I have tried traceroute on both www.google.com and its IP and I just get:
1 * * *
2 * * *
And so on until hop 30. Doing this on any other machine on the network works. So while it seems I can ping internally in our network and outside, but when it attempts anything traceroute or URL related it does not work.
View 7 Replies
View Related
Oct 6, 2015
im new to virtualbox and i run linux arch as guest os. now my question is how it can be that the vm has the same ip as my host os.
this is suppose to be diffrent machine isnt it? and how to configure my guest vm to be completely unrelated to my host
View 1 Replies
View Related
Jun 3, 2011
I've installed fedora 15 on virtualbox as my guest OS.I've configured bridged networking and I've set my router to assign an IP to it.when it boots up,I have 2 devices shown via "ifconfig" which is "lo" and "p2p1" and none has the ip assigned to it.I'm unable to access the Internet. How can I configure it to do so?I've tried following this tutorial: [URL] but the file "ifcfg-ethX" doesn't exist...it only has ifcfg-lo..... I've installed fedora 15 spin edition which doesn't have a GUI for me to edit network settings...
View 13 Replies
View Related
May 29, 2011
Since my upgrade to 13.37 + VirtualBox 4.0.4 (from SBo) I'm having trouble with one of my VMs containing a PostgreSQL installation (also from SBo) which has been running fine before on 13.1 + VBox 3.2.10.
This is what happens: I'm starting an I/O heavy job on the DB that should take about an hour but never finishes because the virtual disk stops working after 10 to 40 minutes.
Code:
ata1.00: exception Emask 0x0 SAct 0x7fffffff SErr 0x0 action 0x6 frozen
ata1.00: failed command: READ FPDMA QUEUED
ata1.00: cmd 60/00:00:e8:11:44/01:00:02:00:00/40 tag 0 ncq 131072 in
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
lots of these
[Code]...
View 7 Replies
View Related
Feb 12, 2010
I have on my computer 9.1 and I want to try some virtualization. I want to install WinXP or 7 as guest on my U9.1 box. what is your opinion? Which VMware or VirtualBox should I try?
View 1 Replies
View Related
Dec 14, 2010
I'm having trouble with my Ubuntu VM's --I'm running a Win 7 Home Premium Host, (8GB RAM, 1TB HDD, NVidia GeForce Video) Oracle VirtualBox (Current version)
-- When I set up Linux VM's w/ 3D Acceleration, and 128MB Video Ram,
-- I can't enable the 'Extra' Video Effects, to get Compiz working.
-- Even when VBox Guest Additions is installed.
VBox Guest Additions does let me use Full Screen, & Seamless mode, correctly though.
But if I try to set 'Extra' Video Effects, it can't find the correct driver.
Code:
ps -A | grep compiz
Does not show compiz running.
FYI: Nor can I get Unity on 11.04 Alpha 1, under the VM.
View 2 Replies
View Related