Date: Wed, 21 Nov 2018 18:22:40 +0100 From: Ole <ole@free.de> To: freebsd-emulation@freebsd.org Subject: Virtualbox headless, X11=off, VNC not working Message-ID: <20181121182240.09102969.ole@free.de>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi,
I'm trying to run a VM in Headless mode with VNC-Server activated. The
VM runns, the VNC Server is up and I can connect but the screen stays
black. Mouse and Keyboard is transmitted (I can see the cursor moving
on phphvirtualbox VM-preview)
My Setup:
* FreeBSD 11.2 (fresh installed)
* phpvirtualbox + php-fpm + nginx
* virtualbox-ose-5.2.22 compiled with:
ALSA=off: ALSA audio architecture support
DBUS=on: D-Bus IPC system support
DEBUG=off: Debug symbols, additional logs and assertions
GUESTADDITIONS=off: Build with Guest Additions
MANUAL=off: Build with user manual
NLS=off: Native Language Support
PULSEAUDIO=off: PulseAudio sound server support
PYTHON=off: Python bindings or support
QT5=off: Build with QT5 Frontend
R0LOGGING=off: Enable R0 logging
UDPTUNNEL=on: Build with UDP tunnel support
VDE=off: Build with VDE support
VNC=on: Build with VNC support
VPX=off: Use vpx for video capturing
WEBSERVICE=on: Build Webservice
X11=off: X11 (graphics) support
I think the problem is related to X11=off. But I don't know how to debug
it.
Does any one know if it is possible to run virtualbox with VNC and
without X11? Or give me a hint how to handle this problem.
Terminal output is attached.
Thanks
Ole
% vboxheadless --startvm 'Windows2016-1'
Oracle VM VirtualBox Headless Interface 5.2.22
(C) 2008-2018 Oracle Corporation
All rights reserved.
21/11/2018 18:16:19 Listening for VNC connections on TCP port 9090
21/11/2018 18:16:19 Listening for VNC connections on TCP6 port 5900
VRDE server is listening on port 9090.
21/11/2018 18:16:19 ListenOnTCPPort: Address already in use
21/11/2018 18:16:41 other clients:
21/11/2018 18:16:42 Normal socket connection
21/11/2018 18:16:42 Client Protocol Version 3.8
21/11/2018 18:16:42 Protocol version sent 3.8, using 3.8
21/11/2018 18:16:42 rfbProcessClientSecurityType: executing handler for type 2
21/11/2018 18:16:42 Pixel format for client xx.135.125.77:
21/11/2018 18:16:42 32 bpp, depth 32, little endian
21/11/2018 18:16:42 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
21/11/2018 18:16:42 no translation needed
21/11/2018 18:16:42 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEFE)
21/11/2018 18:16:42 Enabling NewFBSize protocol extension for client xx.xx.125.77
21/11/2018 18:16:42 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x574D5669)
21/11/2018 18:16:42 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEFD)
21/11/2018 18:16:42 Enabling full-color cursor updates for client xx.xx.125.77
21/11/2018 18:16:42 Enabling X-style cursor updates for client xx.xx.125.77
21/11/2018 18:16:42 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEFF)
21/11/2018 18:16:42 Using tight encoding for client 93.135.125.77
21/11/2018 18:16:49 Client xx.xx.125.77 gone
21/11/2018 18:16:49 Statistics events Transmit/ RawEquiv ( saved)
21/11/2018 18:16:49 FramebufferUpdate : 2 | 0/ 0 ( 0.0%)
21/11/2018 18:16:49 tight : 10 | 170/ 2457720 (100.0%)
21/11/2018 18:16:49 RichCursor : 1 | 255/ 255 ( 0.0%)
21/11/2018 18:16:49 TOTALS : 13 | 425/ 2457975 (100.0%)
21/11/2018 18:16:49 Statistics events Received/ RawEquiv ( saved)
21/11/2018 18:16:49 KeyEvent : 8 | 64/ 64 ( 0.0%)
21/11/2018 18:16:49 PointerEvent : 170 | 1020/ 1020 ( 0.0%)
21/11/2018 18:16:49 FramebufferUpdate : 12 | 120/ 120 ( 0.0%)
21/11/2018 18:16:49 SetEncodings : 1 | 56/ 56 ( 0.0%)
21/11/2018 18:16:49 SetPixelFormat : 1 | 20/ 20 ( 0.0%)
21/11/2018 18:16:49 TOTALS : 192 | 1280/ 1280 ( 0.0%)
^C
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE60BGd7KVfL83NXCUJZaRRqjklFAFAlv1lGAACgkQJZaRRqjk
lFCZpw//a2aAryqQTWVsQMQ6Wdo18yoX1s3L7H6j/Qr20umZ7p+qlC5swQfhKDXC
fuxYg+5l4yOdr1OtFomxBIGT7/CHEd4XTiaYN2fgOjjwSEa9fMlEXHk87JhcYVFM
T6Lj1WnZUCzT0uGSAc58P/f1lxfhADAcWS1UKhRD71b4Za7Mi/6XqAXWOqdPgRrJ
/hf0fvw0LnYTzzNQh1vahWfUS7khYToyu3nbbMuV9mVifyxjbErj2DFuDlBqgAWu
NXK28kDU6ckoWHy9U2AeeGx1LwqG5nuefrJAvywsfPC1CLDo3URM/IBhKxo24/qY
yxrbWv54xLV/zhSy0imjcTmzR+IXhgsGsVCD/BwZpTG+dtWG74GJ453JWtyKpx3R
z2uHEvWU3OgsH36LrQVifCG6hY+oOdG5ebutCwxCeE94LMb+Npvd07El8aRqnZQa
ydPOGAmLPoD1TOSWoBUV1cY5IXbeeAHCLTKMIVkPAok+BoCUdHK3X6P6HcrZ46GX
mb9qIk66T0HDxx29ebQitSTaXsbWQhBh3EQcNFj9ROMskXhKrxYS0IJnZXhvYZ4S
+6omGjxRv7vHazjZArIcrUHxxnuTnmls4UKckhJEN/iJ/dfTll3+WiJ3QaOrRdhq
lZf8GhIk3udi//MOqXXY/cYQ5+AKdbSH+nsqUObN9FFTadi7td4=
=2arN
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181121182240.09102969.ole>
