LFCS · Question #717
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". In X server configuration files like XF86Config or xorg.conf, the FontPath directive is used to specify locations for fonts, including font servers, typically using a unix/:port or tcp/host:port format.
Question
Options
- AFontPath= server
- BFonts "unix/: 7100"
- CFontPath,lunix/:7100"
- DFonts= server
- EFontserver = "servername"
How the community answered
(33 responses)- B3% (1)
- C94% (31)
- D3% (1)
Why each option
In X server configuration files like `XF86Config` or `xorg.conf`, the `FontPath` directive is used to specify locations for fonts, including font servers, typically using a `unix/:port` or `tcp/host:port` format.
`FontPath= server` is too generic and doesn't provide a valid font server address or path.
`Fonts "unix/: 7100"` uses an incorrect directive; `FontPath` is used to specify font locations.
The `FontPath` directive in `XF86Config` specifies where the X server should look for fonts. A common way to indicate a font server accessible via a Unix domain socket is `unix/:<port_number>`, such as `unix/:7100`. Despite a probable typo in 'lunix' instead of 'unix' and an extra comma, this option correctly identifies the `FontPath` structure for a font server.
`Fonts= server` is not a correct or recognized syntax for specifying font locations or servers in `XF86Config`.
`Fontserver = "servername"` is not a standard directive for configuring font server locations in `XF86Config`.
Concept tested: X11 FontPath configuration
Source: https://man7.org/linux/man-pages/man5/xorg.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.