Bug 119794

Summary: X font server totally nonfunctional
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Thomas Horsley <tom.horsley>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: i386   
OS: SUSE Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: /etc/X11/fs/config
/var/log/fs-errors

Description Thomas Horsley 2005-10-01 01:19:33 UTC
Running nxclient on a Windows XP SP2 box to connect to nxserver on SuSE box.
Everything works fine, but some fonts in things like emacs won't show up due
to its need for server side fonts and the windows nxclient not normally
installing fonts. Decided to try activating the xfs service on the SuSE box
so I could just tell nxclient to use the font server.

Unfortunately, the font server that installs with 10.0 RC1 appears to be
totally non-functional. Looking at /var/log/fs-errors I find that there
are parameters in the config file that the server program never heard of.
I see errors about the unix socket being created with wrong permissions.
I see fonts listed that don't exist, but despite all that, xfs still manages
to start running.

Unfortunately, as soon as the nxclient tries to connect, xfs terminates.

I'll attach the /var/log/fs-errors file as well as the (somewhat edited)
/etc/X11/fs/config file.

I worked around this by going ahead and downloading the additional fonts
from the nomachine web site and disabling the "use font server" parameter
in the client.
Comment 1 Thomas Horsley 2005-10-01 01:22:21 UTC
Created attachment 51293 [details]
/etc/X11/fs/config

I commented out the no-listen tcp line so the client
could talk to it, and the cache lines that it was
complaining about, but the server still terminates
the first time nxclient tries to connect.
Comment 2 Thomas Horsley 2005-10-01 01:23:50 UTC
Created attachment 51294 [details]
/var/log/fs-errors

This is the whole error log. The entries nearer the
bottom show the "terminating" messages from when
the client tried to connect.
Comment 3 Stefan Dirsch 2005-10-01 07:23:06 UTC
Right. The font server script on 10.0 is completely broken. This has already    
been adressed. YOU update is on the way ...     
   
For now, add   
   
  chown nobody.nobody /tmp/.font-unix   
   
right after "mktemp -qd /tmp/.font-unix ..." in /etc/init.d/xfs.  
Comment 4 Thomas Horsley 2005-10-01 21:18:57 UTC
No doubt that is a good change (it gets rid of some of the errors), but
even after fixing that, when I try to connect to port 7100 from nxclient
on a Windows XP SP2 box, that "terminated" message comes out and the
font server disappears. I'll play with it again after an official
update shows up.