Skip site navigation (1)Skip section navigation (2)
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
--Sig_/spKARQ7RZYRdqL3C7xE1e.N
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

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=3Doff: ALSA audio architecture support
     DBUS=3Don: D-Bus IPC system support
     DEBUG=3Doff: Debug symbols, additional logs and assertions
     GUESTADDITIONS=3Doff: Build with Guest Additions
     MANUAL=3Doff: Build with user manual
     NLS=3Doff: Native Language Support
     PULSEAUDIO=3Doff: PulseAudio sound server support
     PYTHON=3Doff: Python bindings or support
     QT5=3Doff: Build with QT5 Frontend
     R0LOGGING=3Doff: Enable R0 logging
     UDPTUNNEL=3Don: Build with UDP tunnel support
     VDE=3Doff: Build with VDE support
     VNC=3Don: Build with VNC support
     VPX=3Doff: Use vpx for video capturing
     WEBSERVICE=3Don: Build Webservice
     X11=3Doff: X11 (graphics) support

I think the problem is related to X11=3Doff. But I don't know how to debug
it.=20

Does any one know if it is possible to run virtualbox with VNC and=20
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 typ=
e 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 enc=
oding 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 enc=
oding type Enc(0x574D5669)
21/11/2018 18:16:42 rfbProcessClientNormalMessage: ignoring unsupported enc=
oding 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 enc=
oding 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 ( s=
aved)
21/11/2018 18:16:49  FramebufferUpdate   :      2 |         0/        0 (  =
0.0%)
21/11/2018 18:16:49  tight               :     10 |       170/  2457720 (10=
0.0%)
21/11/2018 18:16:49  RichCursor          :      1 |       255/      255 (  =
0.0%)
21/11/2018 18:16:49  TOTALS              :     13 |       425/  2457975 (10=
0.0%)
21/11/2018 18:16:49 Statistics             events    Received/ RawEquiv ( s=
aved)
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

--Sig_/spKARQ7RZYRdqL3C7xE1e.N
Content-Type: application/pgp-signature
Content-Description: Digitale Signatur von OpenPGP

-----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-----

--Sig_/spKARQ7RZYRdqL3C7xE1e.N--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181121182240.09102969.ole>