From owner-freebsd-emulation@freebsd.org Wed Nov 21 17:22:59 2018 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E365113F501 for ; Wed, 21 Nov 2018 17:22:59 +0000 (UTC) (envelope-from ole@free.de) Received: from smtp.free.de (smtp.free.de [91.204.6.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 58B556C53A for ; Wed, 21 Nov 2018 17:22:58 +0000 (UTC) (envelope-from ole@free.de) Received: from bard (x5d877d4d.dyn.telefonica.de [93.135.125.77]) by smtp.free.de (Postfix) with ESMTPSA id B5EA91866A for ; Wed, 21 Nov 2018 18:22:48 +0100 (CET) Date: Wed, 21 Nov 2018 18:22:40 +0100 From: Ole To: freebsd-emulation@freebsd.org Subject: Virtualbox headless, X11=off, VNC not working Message-ID: <20181121182240.09102969.ole@free.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/spKARQ7RZYRdqL3C7xE1e.N"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 58B556C53A X-Spamd-Result: default: False [-2.80 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.976,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-emulation@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.96)[-0.961,0]; DMARC_NA(0.00)[free.de]; NEURAL_SPAM_SHORT(0.55)[0.554,0]; MX_GOOD(-0.01)[pop.free.de]; RCVD_IN_DNSWL_NONE(0.00)[103.6.204.91.list.dnswl.org : 127.0.10.0]; MID_CONTAINS_FROM(1.00)[]; SIGNED_PGP(-2.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[77.125.135.93.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)]; ASN(0.00)[asn:31371, ipnet:91.204.4.0/22, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2018 17:22:59 -0000 --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--