X2Go Bug report logs - #884
nxagent fails to run with "Could not open default font 'fixed'"

version graph

Package: nx-libs; Maintainer for nx-libs is X2Go Developers <x2go-dev@lists.x2go.org>;

Reported by: devsk <internet_everyone@yahoo.com>

Date: Sun, 31 May 2015 20:40:01 UTC

Severity: normal

Tags: fixed-upstream

Found in version 3.5.0.30

Fixed in version 3.5.99.4

Done: Juri Grabowski <x2go@jugra.de>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/ArcticaProject/nx-libs/issues/84

Full log


Message #37 received at 884@bugs.x2go.org (full text, mbox, reply):

Received: (at 884) by bugs.x2go.org; 2 Jun 2015 16:21:56 +0000
From internet_everyone@yahoo.com  Tue Jun  2 18:21:54 2015
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM,
	T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from nm30-vm1.bullet.mail.ne1.yahoo.com (nm30-vm1.bullet.mail.ne1.yahoo.com [98.138.90.46])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 4BFDA5DA88
	for <884@bugs.x2go.org>; Tue,  2 Jun 2015 18:21:54 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1433262112; bh=nQJGZ3zqh5G8+gUdkLOjXreIplm3qPLXzx7rEzjylRo=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=FRwScn7mmov68zqiKSUAGGfvxPmt3NiV4BoH2M1mIoNcgQmtSMYPcHRNjE+ML13HzaZfi61oJhkggltb6MPNdvbnv1t8PiMdBNaGJZNOV2L46RhDFbvWknpaaW4k6g8Ax3dgOLsH6ySj49z+ysvmNQSQoT3DZagaJfsXAKOkxx4vkPjW0eVpjXXOraQZxzmxZmiSBOWxdkUpRf7bFJk9OaTN9PHPyJjb1pjHXB6k5RvCcycza3Fx4evFWju0SERbDApCj70O99keCLJUU4kiD7RydFhGr3TW3dOK6q1NpMG/8P1istCcf6PUB8pZoXQ9zbUFKtxUuOveQ7/riTx4+Q==
Received: from [98.138.100.103] by nm30.bullet.mail.ne1.yahoo.com with NNFMP; 02 Jun 2015 16:21:52 -0000
Received: from [98.138.87.9] by tm102.bullet.mail.ne1.yahoo.com with NNFMP; 02 Jun 2015 16:21:52 -0000
Received: from [127.0.0.1] by omp1009.mail.ne1.yahoo.com with NNFMP; 02 Jun 2015 16:21:52 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 311782.38990.bm@omp1009.mail.ne1.yahoo.com
X-YMail-OSG: YE8ZMc4VM1k3rLMzpjUtt6wmaMXTHx5gxa0Ypz0STwpUL_yDxLk7Nyqp5hpgAzu
 HHtNZ8eKkqtymXzDUmQJa5dDB7Q5F8aRqe09HZbIK0YJwoHjM5US6WYBp27UYPHfpmjM69_28cC1
 xSes8YThB7e2RXV6719FqVs60sQX3Sb7LHbJRIr4w.XJVXbk2KAn30ZHZUcOio25FzpohfbndW9L
 i._aa.foIdC2TsGeaLsjvvquNLH.aN_MK4J3RdQKLcsiPdnuWU6zAjpAQkPivNYNl8boqo8dHG2j
 o20j8eR84G7OlB4M99uFcGXn9UVb00Jwk7jAivyggMAsxBSqzNJ8k9io_pqLfTZZVHdKczn0cOwQ
 yCIMGxGq6nVuwliOfTPzzkqquSab7..yytrkpp293puFdOJ0Intn.wi5tG0Ok3ubN7diSiJISs3e
 YYaXqZ790szsg_enHUyBq7lo5_yPSfcz4pIbUnx_HhQyqDYjC7C5filzZe83qm6n9O9LSS6t2BtJ
 IUzvuUAQKG9_VH8nSYtw-
Received: by 98.138.105.207; Tue, 02 Jun 2015 16:21:51 +0000 
Date: Tue, 2 Jun 2015 16:21:49 +0000 (UTC)
From: devsk <internet_everyone@yahoo.com>
Reply-To: devsk <internet_everyone@yahoo.com>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 
	"884@bugs.x2go.org" <884@bugs.x2go.org>
Message-ID: <1481733643.3560862.1433262109464.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <20150602161321.Horde.DMSeApu7qSrGe-1hyqzQcg1@mail.das-netzwerkteam.de>
References: <2052607521.3484889.1433260164113.JavaMail.yahoo@mail.yahoo.com> <20150602161321.Horde.DMSeApu7qSrGe-1hyqzQcg1@mail.das-netzwerkteam.de>
Subject: Re: [X2Go-Dev] Bug#884: nxagent aborts session with 'Could not open
 default font 'fixed''
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
The folder /usr/X11R6 hasn't existed on Gentoo for years now (since move to Xorg). Does the folder /usr/X11R6/lib/X11/fonts exist on other distros?


Also, the code seems to be making an attempt to look for "ALTERNATE" font paths and many of those paths are there:

$ ls -al /usr/share/fonts/*/fonts.{alias,dir}

-rw-r--r-- 1 root root  3154 Apr 11 08:16 /usr/share/fonts/100dpi/fonts.alias
-rw-r--r-- 1 root root 17828 Jun  2 07:14 /usr/share/fonts/100dpi/fonts.dir
-rw-r--r-- 1 root root  3066 Apr 11 08:16 /usr/share/fonts/75dpi/fonts.alias
-rw-r--r-- 1 root root 17280 Jun  2 07:15 /usr/share/fonts/75dpi/fonts.dir
-rw-r--r-- 1 root root  2000 Jun  2 07:12 /usr/share/fonts/OTF/fonts.dir
-rw-r--r-- 1 root root  1689 Jun  2 07:14 /usr/share/fonts/Speedo/fonts.dir
-rw-r--r-- 1 root root 10298 Jun  2 07:10 /usr/share/fonts/TTF/fonts.dir
-rw-r--r-- 1 root root 13319 Jun  2 07:15 /usr/share/fonts/Type1/fonts.dir
-rw-r--r-- 1 root root 44001 Apr 11 08:07 /usr/share/fonts/corefonts/fonts.dir
-rw-r--r-- 1 root root 21736 Apr 10 17:51 /usr/share/fonts/croscorefonts/fonts.dir
-rw-r--r-- 1 root root  3234 Apr 11 08:16 /usr/share/fonts/cyrillic/fonts.alias
-rw-r--r-- 1 root root  6005 Jun  2 07:15 /usr/share/fonts/cyrillic/fonts.dir
-rw-r--r-- 1 root root 43905 Apr 10 17:51 /usr/share/fonts/dejavu/fonts.dir
-rw-r--r-- 1 root root 26289 Apr 11 08:07 /usr/share/fonts/liberation-fonts/fonts.dir
-rw-r--r-- 1 root root 16664 Apr 11 08:08 /usr/share/fonts/libertine/fonts.dir
-rw-r--r-- 1 root root  6209 Apr 11 08:16 /usr/share/fonts/misc/fonts.alias
-rw-r--r-- 1 root root  6721 Jun  2 07:15 /usr/share/fonts/misc/fonts.dir
-rw-r--r-- 1 root root 31892 Apr 11 08:07 /usr/share/fonts/roboto/fonts.dir
-rw-r--r-- 1 root root  5053 Apr 11 08:08 /usr/share/fonts/ttf-bitstream-vera/fonts.dir
-rw-r--r-- 1 root root 43334 Apr 10 17:51 /usr/share/fonts/urw-fonts/fonts.dir

-devsk



On Tuesday, June 2, 2015 9:13 AM, Mike Gabriel <mike.gabriel@das-netzwerkteam.de> wrote:
On  Di 02 Jun 2015 17:49:24 CEST, devsk wrote:




> Hi,
>
> As per suggestion I built the code from  
> https://github.com/ArcticaProject/nx-libs. And I still run into the  
> same issue.
>
> Does anybody here know that part of the code (snippet in the report)?


Please take a look at [1] and make sure either of those paths exists  
on your system.

You need the fixed fonts in the misc/ fontdir.

Is everything in place there?

Mike

[1]  
https://github.com/ArcticaProject/nx-libs/blob/3.6.x/nx-X11/programs/Xserver/hw/nxagent/Font.c#L64
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb 


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Mar 28 12:45:45 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.