LX0-103 · Question #117
Which of the following lines from /etc/X11/XF86Config indicates what fonts can be found on a font server?
The correct answer is C. FontPath,lunix/:7100". The FontPath directive in XF86Config specifies font locations including font servers, using unix socket notation with a port number. Choice C represents the correct syntax for pointing to a font server.
Question
Which of the following lines from /etc/X11/XF86Config indicates what fonts can be found on a font server?
Options
- AFontPath= server
- BFonts "unix/: 7100"
- CFontPath,lunix/:7100"
- DFonts= server
- EFontserver = "servername"
How the community answered
(24 responses)- A4% (1)
- B4% (1)
- C92% (22)
Why each option
The FontPath directive in XF86Config specifies font locations including font servers, using unix socket notation with a port number. Choice C represents the correct syntax for pointing to a font server.
FontPath= with an equals sign is invalid syntax - XF86Config directives use space-separated quoted values, and 'server' alone does not specify a valid font server address.
'Fonts' is not a recognized XF86Config directive - the correct keyword for specifying font paths and font server addresses is FontPath.
FontPath is the correct XF86Config directive for specifying font source locations. The value 'unix/:7100' tells the X server to contact a font server via Unix domain socket on port 7100, the default port for the X Font Server (xfs). This is the standard method for configuring a font server connection in XFree86.
'Fonts=' combines both an incorrect directive keyword and invalid equals-sign syntax and is not a valid XF86Config entry.
'Fontserver' is not a valid XF86Config directive - font server references are declared using FontPath with the unix/:port syntax.
Concept tested: XF86Config FontPath font server syntax
Source: https://linux.die.net/man/5/xf86config
Topics
Community Discussion
No community discussion yet for this question.