[FreeNX-kNX] Nxagent exiting with error "Could not open default font 'fixed'" on Ubuntu Lucid

Rick Morrison purpledragonintercom at gmail.com
Thu Sep 30 17:21:28 UTC 2010


PROBLEM SUMMARY:
Nxagent is exiting with error "Could not open default font 'fixed'" on
Ubuntu Lucid (10.04)
---
ENVIRONMENT DETAILS CLIENT:
Ubuntu Lucid x86_64, nxclient 3.4.0-7, gnome session selected in
nxclient, LANG=en_US.utf8, hostname indus, client is behind firewall.
---
ENVIRONMENT DETAILS SERVER:
Ubuntu Lucid x86, freenx-server 0.7.3.git100327.e224628-0~ppa7~lucid,
LANG=es_ES.utf8, hostname adara, using ENABLE_SU_AUTHENTICATION
instead of SSH authentication to node. Simple setup with server and
node on same machine. Server is accessed across internet and is behind
NAT/firewall with a custom SSH port and custom SSH keys. ssh/NAT setup
has already been verified to be working from command-line.

root at adara:/etc/nxserver# diff node.conf node.conf.bak   #
node.conf.bak is the default/distribution node.conf
56c56
< SSHD_PORT=53817
---
> #SSHD_PORT=22
75c75
< ENABLE_SSH_AUTHENTICATION="0"
---
> #ENABLE_SSH_AUTHENTICATION="1"
81c81
< ENABLE_SU_AUTHENTICATION="1"
---
> #ENABLE_SU_AUTHENTICATION="0"
144c144
< ENABLE_PERSISTENT_SESSION="zonk"
---
> #ENABLE_PERSISTENT_SESSION="all"
284c284
< NX_LOG_LEVEL=7
---
> #NX_LOG_LEVEL=0
291c291
< NX_LOGFILE=/var/log/nx/nxserver.log
---
> #NX_LOGFILE=/var/log/nxserver.log
299c299
< SESSION_LOG_CLEAN=0
---
> #SESSION_LOG_CLEAN=1
619,620d618
< #AGENT_EXTRA_OPTIONS_X="-fp
/usr/share/fonts/truetype/freefont,/usr/share/fonts/truetype/msttcorefonts,/usr/share/fonts/truetype/openoffice,/usr/share/fonts/truetype/takao,/usr/share/fonts/truetype/thai,/usr/share/fonts/truetype/ttf-dejavu,/usr/share/fonts/truetype/ttf-indic-fonts-core,/usr/share/fonts/truetype/ttf-japanese-gothic.ttf,/usr/share/fonts/truetype/ttf-kacst-one,/usr/share/fonts/truetype/ttf-khmeros-core,/usr/share/fonts/truetype/ttf-lao,/usr/share/fonts/truetype/ttf-liberation,/usr/share/fonts/truetype/ttf-punjabi-fonts,/usr/share/fonts/truetype/unfonts,/usr/share/fonts/truetype/wqy,/usr/share/fonts/type1/gsfonts,/usr/share/fonts/type1/mathml,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1"
< AGENT_EXTRA_OPTIONS_X="-fp /usr/share/fonts/X11/misc"

root at adara:~# grep "^fixed" /usr/share/fonts/X11/misc/fonts.alias
fixed        -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1

-----

SESSION LOG -- server side log under username of the user logging in
(who isn't root):

Info: Agent running with pid '2747'.
Session: Starting session at 'Thu Sep 30 05:12:42 2010'.
Info: Proxy running in server mode with pid '2747'.
Info: Waiting for connection from '127.0.0.1' on port '6000'.
Info: Accepted connection from '127.0.0.1'.
Info: Connection with remote proxy completed.
Info: Using MODEM link parameters 256/24/1/0.
Info: Using agent parameters 5000/50/50/0/0.
Info: Using cache parameters 4/4096KB/16384KB/16384KB.
Info: Using pack method 'adaptive-3' with session 'gnome'.
Info: Using product 'LFE/None/LFEN/None'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 9/9.
Info: No suitable cache file found.
Info: Listening to X11 connections on display ':2000'.
Info: Established X client connection.
Info: Using shared memory parameters 1/1/1/4096K.
Info: Using alpha channel in render extension.
Info: Using local device configuration changes.
InitOutput: Locale es_ES.utf8 not supported by X
InitOutput: cannot set locale modifiers.
Error: Aborting session with 'Could not open default font 'fixed''.
Session: Aborting session at 'Thu Sep 30 05:13:43 2010'.
Session: Session aborted at 'Thu Sep 30 05:13:43 2010'.
Warning: Signals were not blocked in process with pid '2747'.
Error: Connection with remote peer broken.
Error: Please check the state of your network and retry.

**Comment: I interpret the information above (erroneously?) as meaning
that nxagent exited with error since it could not find the font
'fixed'.

I ran 'dpkg-reconfigure fontconfig' and it didn't seem to do anything
interesting like give me a choice to install a bitmapped font. It spit
out a bunch of info about rebuilding font caches but didn't give me an
opportunity to make any choices.

I got the notion (wrong?) that I should set the Xorg FontPath through
AGENT_EXTRA_OPTIONS_X here:
http://mail.kde.org/pipermail/freenx-knx/2007-September/005806.html

I'd appreciate any help you could give me.

Cheers,
Carlos



More information about the FreeNX-kNX mailing list