VNC acces to guest OS from Network via Brige

Discussions related to using the OSE version of VirtualBox.
Post Reply
Karmashkin
Posts: 3
Joined: 25. May 2012, 09:27

VNC acces to guest OS from Network via Brige

Post by Karmashkin »

Hi all, if you will, stupid question, i have this:

Host:

Code: Select all

[root@TESTBSD /etc]# uname -m -r -s
FreeBSD 8.2-RELEASE-p6 i386

rc.conf
ifconfig_rl0="inet 10.0.0.182  netmask 255.255.255.0" 
ifconfig_rl1="inet 91.196.98.251 netmask 255.255.255.248"

/etc/rc.firewall
${f} add 100 allow ip from any to any
with installed:
libvncserver 0.9.9
virtualbox-ose-kmod 4.1.16
virtualbox-ose 4.1.16 (with "VNC option" in # make config)

Code: Select all

cd /usr/ports/net/libvncserver && make install clean
cd /usr/ports/emulators/virtualbox-ose-kmod && make install clean
cd /usr/ports/emulators/virtualbox-ose  && make install clean

Code: Select all

# kldload vboxdrv
# /usr/local/etc/rc.d/vboxnet start
i start VM:

Code: Select all

# VBoxHeadless -s "CentOS old" -n -m 5900 -o password

Oracle VM VirtualBox Headless Interface 4.1.16_OSE
(C) 2008-2012 Oracle Corporation
All rights reserved.

25/05/2012 11:11:30 Listening for VNC connections on TCP port 5900
Set framebuffer: buffer=29400000 w=800 h=600 bpp=32
Set framebuffer: buffer=2c100000 w=640 h=480 bpp=32
Set framebuffer: buffer=29600000 w=720 h=400 bpp=32
Set framebuffer: buffer=29400000 w=640 h=480 bpp=32
Set framebuffer: buffer=29400000 w=720 h=400 bpp=32
my VM boot & DHCP gives ip 10.0.0.183 all's OK(ping,SSH, etc)

but when I try to connect to HOST VNC (10.0.0.182:5900) i see this in host console:
(even just telnet 10.0.0.182 5900)

Code: Select all

25/05/2012 11:11:30 Listening for VNC connections on TCP port 5900
Set framebuffer: buffer=29400000 w=800 h=600 bpp=32
Set framebuffer: buffer=2c100000 w=640 h=480 bpp=32
Set framebuffer: buffer=29600000 w=720 h=400 bpp=32
Set framebuffer: buffer=29400000 w=640 h=480 bpp=32
Set framebuffer: buffer=29400000 w=720 h=400 bpp=32
Segmentation fault: 11 (core dumped)
and VM is stop
Can you see where my mistake? thank you.






VM info below:
# VBoxManage showvminfo "CentOS old"
Name: CentOS old
Guest OS: Red Hat
UUID: 2a989dc6-32ce-4050-acfa-0b52d3039467
Config file: /var/VMs/mashines/CentOS old/CentOS old.vbox
Snapshot folder: /var/VMs/mashines/CentOS old/Snapshots
Log folder: /var/VMs/mashines/CentOS old/Logs
Hardware UUID: 2a989dc6-32ce-4050-acfa-0b52d3039467
Memory size: 512MB
Page Fusion: off
VRAM size: 4MB
CPU exec cap: 100%
HPET: off
Chipset: piix3
Firmware: BIOS
Number of CPUs: 1
Synthetic Cpu: off
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): HardDisk
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: off
PAE: on
Time offset: 0 ms
RTC: UTC
Hardw. virt.ext: on
Hardw. virt.ext exclusive: off
Nested Paging: on
Large Pages: off
VT-x VPID: on
State: aborted (since 2012-05-25T08:21:14.000000000)
Monitor count: 1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Storage Controller Name (0
Storage Controller Type (0): PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 2
Storage Controller Port Count (0): 2
Storage Controller Bootable (0): on
Storage Controller Name (
Storage Controller Type (1): IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1): 30
Storage Controller Port Count (1): 1
Storage Controller Bootable (1): on
(0, 0): /var/VMs/mashines/CentOS old/vm-disk1.vmdk (UUID: 3973214d-ed07-4910-9617-31e3f1c471ae)
NIC 1: MAC: 080027AC0A4A, Attachment: Bridged Interface 'rl0', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1: disabled
UART 2: disabled
Audio: disabled
Clipboard Mode: Bidirectional
VRDE: enabled (Address 0.0.0.0, Ports 3390, MultiConn: off, ReuseSingleConn: off, Authentication type: null)
Video redirection: disabled
USB: disabled

USB Device Filters:

<none>

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Shared folders: <none>

VRDE Connection: not active
Clients so far: 0

Guest:

Configured memory balloon size: 0 MB
OS type: RedHat
Additions run level: 0

Guest Facilities:

No active facilities.
Attachments
VBox.log
(36.18 KiB) Downloaded 26 times
Karmashkin
Posts: 3
Joined: 25. May 2012, 09:27

Re: VNC acces to guest OS from Network via Brige

Post by Karmashkin »

Code: Select all

[root@testbsd /usr/home/userssh]# uname -m -r -s
FreeBSD 9.0-RELEASE-p1 i386
the same garbage
up
Karmashkin
Posts: 3
Joined: 25. May 2012, 09:27

Re: VNC acces to guest OS from Network via Brige

Post by Karmashkin »

well, I think I found a rake, all because of disabling ipv6 option in the kernel
Post Reply