Sasquatch wrote:Before creating the log, recheck the defined shared folders. If you don't have a GUI to work with, use the following command:
Remove those that are invalid or no longer needed. I think that you defined a couple of invalid shared folders when looking for the proper command to add a shared folder. If it still doesn't work, create the log asked by Frank.
ps. Sorry Frank, I hope we can do without the log.
I just remove the sharedfolder and do it again. After removing sharedfolder:
Code: Select all
[username@host ~]$ VBoxManage showvminfo ubuntu_vpn
Sun VirtualBox Command Line Management Interface Version 3.0.14
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.
Name: ubuntu_vpn
Guest OS: Other/Unknown
UUID: f88aadaa-e92e-43f8-9843-0bfce6939b36
Config file: /home/username/.VirtualBox/Machines/ubuntu_vpn/ubuntu_vpn.xml
Memory size: 256MB
VRAM size: 8MB
Number of CPUs: 1
Boot menu mode: message and menu
Boot Device (1): DVD
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: off
PAE: off
Time offset: 0 ms
Hardw. virt.ext: on
Nested Paging: off
VT-x VPID: off
State: aborted (since 2010-06-18T08:14:19.000000000)
Monitor count: 1
3D Acceleration: off
Floppy: empty
SATA: disabled
IDE Controller: PIIX4
Primary master: /home/username/.VirtualBox/HardDisks/ubuntu_vpn.vdi (UUID: e2140201-8915-4599-8a9a-2a23dde45233)
DVD: empty
NIC 1: MAC: 08002702FBE3, Attachment: Bridged Interface 'eth0', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
UART 1: disabled
UART 2: disabled
Audio: disabled
Clipboard Mode: Bidirectional
VRDP: disabled
USB: disabled
USB Device Filters:
<none>
Shared folders: <none>
Guest:
Statistics update: disabled
After adding sharedfolder name: vpn_shared
Code: Select all
[username@host ~]$ VBoxManage showvminfo ubuntu_vpn
Sun VirtualBox Command Line Management Interface Version 3.0.14
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.
Name: ubuntu_vpn
Guest OS: Other/Unknown
UUID: f88aadaa-e92e-43f8-9843-0bfce6939b36
Config file: /home/username/.VirtualBox/Machines/ubuntu_vpn/ubuntu_vpn.xml
Memory size: 256MB
VRAM size: 8MB
Number of CPUs: 1
Boot menu mode: message and menu
Boot Device (1): DVD
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: off
PAE: off
Time offset: 0 ms
Hardw. virt.ext: on
Nested Paging: off
VT-x VPID: off
State: aborted (since 2010-06-30T23:36:58.000000000)
Monitor count: 1
3D Acceleration: off
Floppy: empty
SATA: disabled
IDE Controller: PIIX4
Primary master: /home/username/.VirtualBox/HardDisks/ubuntu_vpn.vdi (UUID: e2140201-8915-4599-8a9a-2a23dde45233)
DVD: empty
NIC 1: MAC: 08002702FBE3, Attachment: Bridged Interface 'eth0', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
UART 1: disabled
UART 2: disabled
Audio: disabled
Clipboard Mode: Bidirectional
VRDP: disabled
USB: disabled
USB Device Filters:
<none>
Shared folders:
Name: 'vpn_shared', Host path: '/home/username/public_html/shared' (machine mapping), writable
Guest:
Statistics update: disabled
Now in Ubuntu Guest OS:
Code: Select all
username@vpn:~$ sudo mount.vboxsf vpn_shared /home/username/host_shared
(error: mount.vboxsf: mounting failed with the error: Protocol error)
@Frank:
Code: Select all
strace -s128 -o ~/log -f /usr/lib/virtualbox/VirtualBox --startvm ubuntu_vpn
Failed to open the X11 display!
Could I use VBHeadless?
At this point I am wondering about one thing. I run the Guest OS by using
/usr/bin/VBoxHeadless -startvm VM_NAME. Could it be the cause?