[X2Go-User] PulseAudio understanding problem (Windows client)
Ulrich Sibiller
uli42 at gmx.de
Sat Mar 30 13:14:11 CET 2019
On Fri, Mar 29, 2019 at 8:23 PM Ingo Brückl <ib at wupperonline.de> wrote:
> Because "xset -q" (within the session) still said that the font path is just
> "built-ins", I set the path (and had to use my Linux paths):
This is weird. Normally you should have more than "built-ins", see below.
If you run xset q inside the x2go session you will see the settings of
x2go's X server (x2goagent/nxagent). That one is running on the Linux
side, so you must use Linux paths there:
> xset fp /usr/share/fonts/75dpi/,/usr/share/fonts/misc/,built-ins
To check the font settings of the Vcxsrv.exe you have two options:
- check the logfile (I am not sure if that is always created; cannot
check right now)
- run xset q against the vcxsrv's display
> For whatever reason (maybe some rendering is done by the client and some by
> the server), this finally did the job!
nxagent uses these defaults if no fontpath is specified (using -fp) on startup:
#define NXAGENT_DEFAULT_FONT_DIR "/usr/share/nx/fonts"
#define NXAGENT_ALTERNATE_FONT_DIR "/usr/share/X11/fonts"
#define NXAGENT_ALTERNATE_FONT_DIR_2 "/usr/share/fonts/X11"
#define NXAGENT_ALTERNATE_FONT_DIR_3 "/usr/X11R6/lib/X11/fonts"
#define NXAGENT_DEFAULT_FONT_PATH \
"/usr/share/nx/fonts/misc/,/usr/share/nx/fonts/Speedo/,\
/usr/share/nx/fonts/Type1/,/usr/share/nx/fonts/75dpi/,\
/usr/share/nx/fonts/100dpi/,/usr/share/nx/fonts/TTF/"
#define NXAGENT_ALTERNATE_FONT_PATH \
"/usr/share/X11/fonts/misc/,/usr/share/X11/fonts/Speedo/,\
/usr/share/X11/fonts/Type1/,/usr/share/X11/fonts/75dpi/,\
/usr/share/X11/fonts/100dpi/,/usr/share/X11/fonts/TTF/"
#define NXAGENT_ALTERNATE_FONT_PATH_2 \
"/usr/share/fonts/X11/misc/,/usr/share/fonts/X11/Speedo/,\
/usr/share/fonts/X11/Type1/,/usr/share/fonts/X11/75dpi/,\
/usr/share/fonts/X11/100dpi/,/usr/share/fonts/X11/TTF/"
#define NXAGENT_ALTERNATE_FONT_PATH_3 \
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,\
/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,\
/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/TTF/"
Nxagent will check if the four FONT_DIRS exist. For any existing dir
it will add the corresponding path to the fontpath.
Finally it will append ",.built-ins".
If you fontpath inside the session if only "built-ins" none of the
mentioned dirs is existing on your server. Can you please verify?
Now the question: where's you special font located? What does xset q
report if you just open a simple session with an xterm and nothing
else? What does it report for a full session (before applying your
fix)?.
Uli
More information about the x2go-user
mailing list