Bug#811240: qmidinet: cannot connect to X server

James Cowgill jcowgill at debian.org
Fri Jun 17 00:21:37 UTC 2016


On Sun, 17 Jan 2016 03:27:41 +0000 (UTC) Giulio Moro wrote:
> Package: qmidinet
> Version: 0.1.2-1
> Severity: important
>
> Dear Maintainer,
> when running
>   $ qmidinet
> I get
>   qmidinet: cannot connect to X server 
> I am on a headless Beaglebone Black, so no X server is running. 
> qmidinet should realize that and should not try to connect to it.
> Building qmidinet from source on the same machine produces a working
> binary file.

This bug seems almost fixed in 0.3.0. 0.3.0 now the '--no-gui' option
which will allow you to run it without an X server. It also attempts to
provide some automatic detection but there is a bug in this line:
https://sources.debian.net/src/qmidinet/0.3.0-1/src/qmidinet.cpp/#L388

Q_WS_X11 is a qt4 constant and is never defined in qt5 so the detection
never works. The nearest constant in qt5 is Q_OS_UNIX, but the code
should then also be modified to detect wayland displays as well (or
maybe there is a QT API to do this portably?)


On Fri, 2016-06-17 at 01:39 +0200, Jaromír Mikeš wrote:
> Hi,
> 
> I think this issue should be fixed rather upstream.
> Can you report it to upstream developers please?

Jaromír, I noticed you only sent this question to the bug report number
(xxx at b.d.o). Bug submitters are not automatically CCed on bug reports
they submit so if you want to ask the submitter to do something, you
need to CC them manually.

Also see this page:
https://www.debian.org/Bugs/Developer#followup

James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20160617/584f184c/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list