[X2Go-Dev] Fedora 32 X2Go 4.1.0.3-6:Could not open default font 'fixed''
Ulrich Sibiller
uli42 at gmx.de
Thu Aug 20 09:57:34 CEST 2020
Hi Robert,
I suspect that xfce4-session rpm will fiddle with the fontpath somehow.
Regarding Gazebo: Chances are that this is related to OpenGL. You can
try the libgl workaround described here: wiki:development:glx
Uli
On Wed, Aug 19, 2020 at 9:20 PM Ulrich Sibiller <uli42 at gmx.de> wrote:
>
> Sorry, no time right now..will read later. But the correct call is "nxagent :55". My fault...
>
> Uli
>
> Robert Kudyba <rkudyba at fordham.edu> schrieb am Mi., 19. Aug. 2020, 21:18:
>>
>> nxagent -display :55
>>
>> NXAGENT - Version 3.5.99.24
>>
>> Copyright (c) 2001, 2011 NoMachine (http://www.nomachine.com)
>> Copyright (c) 2008-2014 Oleksandr Shneyder <o.shneyder at phoca-gmbh.de>
>> Copyright (c) 2011-2016 Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
>> Copyright (c) 2014-2016 Ulrich Sibiller <uli42 at gmx.de>
>> Copyright (c) 2014-2016 Mihai Moldovan <ionic at ionic.de>
>> Copyright (c) 2015-2016 Qindel Group (http://www.qindel.com)
>> See https://github.com/ArcticaProject/nx-libs for more information.
>>
>> Info: Agent running with pid '894147'.
>> Session: Starting session at 'Wed Aug 19 14:50:26 2020'.
>> Error: Aborting session with 'Unable to open display ':55''.
>> Session: Aborting session at 'Wed Aug 19 14:50:26 2020'.
>> Session: Session aborted at 'Wed Aug 19 14:50:26 2020'.
>>
>> Alas the error might be a red herring and/or a chance to improve some error/dependency checking. Here's what I did and what fixed it based on dnf logs. Notice I chose XFCE. So last week I ran:
>> /var/log/dnf.log.1:2020-08-14T13:37:43Z DDEBUG Command: dnf groupinstall -y Xfce Desktop
>> /var/log/dnf.log.1:2020-08-14T13:37:43Z DDEBUG Extra commands: ['groupinstall', '-y', 'Xfce Desktop']
>> /var/log/dnf.log.1:2020-08-14T13:37:47Z DEBUG ---> Package greybird-xfce4-notifyd-theme.noarch 3.22.12-1.fc32 will be installed
>> /var/log/dnf.log.1: greybird-xfce4-notifyd-theme noarch 3.22.12-1.fc32 fedora 22 k
>> /var/log/dnf.log.1: Xfce Desktop
>> /var/log/dnf.log.1: Xfce
>> /var/log/dnf.log.1: greybird-xfce4-notifyd-theme-3.22.12-1.fc32.noarch ibus-qt-1.3.3-24.fc32.x86_64
>> /var/log/dnf.log.1:2020-08-14T13:37:50Z DDEBUG /var/cache/dnf/fedora-558931b5e76b51a7/packages/greybird-xfce4-notifyd-theme-3.22.12-1.fc32.noarch.rpm removed
>>
>> I have been trying to get Gazebo the robotics package for ROS 2 to run and it crashes straight away when launching from X2Go. So I ran dnf autoremove and missed a very important clue:
>>
>> /var/log/dnf.log.1:2020-08-17T12:38:57Z DEBUG ---> Package xfce4-session.x86_64 4.14.2-1.fc32 will be erased
>> /var/log/dnf.log.1: xfce4-session x86_64 4.14.2-1.fc32 @updates 2.1 M
>>
>> So a word to the wise...double check what really gets removed with that command!
>>
>> Running yum -y groupinstall Xfce fixed the issue. Perhaps some error checking can be improved for this? Any why autoremove would do this?
>>
>> As for Gazebo it segfaults on X2Go but not from ssh -X
>> gazebo
>> AL lib: (WW) alcCloseDevice: Releasing context 0x55b8fd77ad20
>> AL lib: (WW) alcSetError: Error generated on device (nil), code 0xa002
>>
>> gzclient[897526]: segfault at 20 ip 00007f161670fcc6 sp 00007ffca9967be0 error 4 in libOgreMain.so.1.9.0[7f161650b000+2f0000]
>> Aug 19 14:58:59 storm kernel: Code: 00 5b 5d 41 5c 41 5d 41 5e c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 55 48 89 e5 41 56 49 89 fe 41 55 41 54 53 48 83 ec 60 <48> 8b 7f 20 64 48 8b 04 25 28 00 00 00 48 89 45 d8 31 c0 48 85 ff
>>
>> I'll report it to their developers but in case anyone finds it useful and they run into this discussion...
>>
>>
>>
>> On Wed, Aug 19, 2020 at 11:49 AM Ulrich Sibiller <ulrich.sibiller at gmail.com> wrote:
>>>
>>> Hi Robert,
>>>
>>> I am really surprised. "could not open default font fixed" is a rather
>>> old error message. We have removed that years ago:
>>>
>>> commit d981d938dade2967e70322c0bf934efeeb1da716
>>> Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
>>> Date: Sun Feb 5 17:06:55 2017 +0000
>>>
>>> {dix/,hw/nxagent/NX}dixfont.{c,h}: Support using builtin-fonts.
>>> Makes dependency on X11's misc fonts package obsolete.
>>>
>>> (see also https://github.com/ArcticaProject/nx-libs/issues/84)
>>>
>>> So what nx package is being used on that system?
>>>
>>> If you simply run "nxagent -display :55" on the server (e.g. after
>>> connecting with ssh -X), does that work?
>>>
>>> Uli
>>>
>>> On Wed, Aug 19, 2020 at 3:54 PM Robert Kudyba <rkudyba at fordham.edu> wrote:
>>> >
>>> > I've seen the previous discussion about this happening on Gentoo from https://x2go-dev.x2go.narkive.com/eHuOYxSn/bug-884-nxagent-aborts-session-with-could-not-open-default-font-fixed could this be similar?
>>> >
>>> > rpm -qa |grep x2go
>>> > x2goagent-4.1.0.3-6.fc32.x86_64
>>> > x2goserver-common-4.1.0.3-6.fc32.noarch
>>> > x2goserver-xsession-4.1.0.3-6.fc32.noarch
>>> > x2goserver-4.1.0.3-6.fc32.x86_64
>>> >
>>> > Warning: Cannot read keystroke file '/home/myuser/.x2go/config/keystrokes.cfg'.
>>> > Info: using keystrokes file '/etc/x2go/keystrokes.cfg'
>>> > Info: ignoring unknown keystroke action 'debug_tree'.
>>> > Info: ignoring unknown keystroke action 'regions_on_screen'.
>>> > Info: ignoring unknown keystroke action 'test_input'.
>>> > Info: ignoring unknown keystroke action 'deactivate_input_devices_grab'.
>>> > Currently known keystrokes:
>>> > close_session : Ctrl+Alt+t
>>> > switch_all_screens : Ctrl+Alt+f
>>> > minimize : Ctrl+Alt+m
>>> > resize : Ctrl+Alt+r
>>> > defer : Ctrl+Alt+e
>>> > ignore : Ctrl+Alt+BackSpace
>>> > force_synchronization : Ctrl+Alt+j
>>> > fullscreen : Ctrl+Shift+Alt+f
>>> > viewport_move_left : Ctrl+Shift+Alt+Left
>>> > viewport_move_up : Ctrl+Alt+Up
>>> > viewport_move_right : Ctrl+Alt+Right
>>> > viewport_move_down : Ctrl+Alt+Down
>>> > Error: Aborting session with 'Could not open default font 'fixed''.
>>> >
>>> > Aug 19 09:30:04 /usr/bin/x2goruncommand[805082]: ERROR: command failed to execute
>>> > _______________________________________________
>>> > x2go-dev mailing list
>>> > x2go-dev at lists.x2go.org
>>> > https://lists.x2go.org/listinfo/x2go-dev
More information about the x2go-dev
mailing list