Virtualbox headless, X11=off, VNC not working

Ole ole at free.de
Wed Nov 21 17:22:59 UTC 2018


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20181121/ed980a1d/attachment.sig>


More information about the freebsd-emulation mailing list