LFCS · Question #239
Which of the following lines from /etc/X11/xorg.conf indicates that fonts can be found on a font server?
The correct answer is C. FontPath "unix/:7100". The xorg.conf file uses the FontPath option to specify locations where the X server can find fonts, including local directories and font servers.
Question
Options
- AFontPath= server
- BFonts "unix/:7100"
- CFontPath "unix/:7100"
- DFonts= server
- EFontserver = "servername"
How the community answered
(56 responses)- A7% (4)
- C88% (49)
- D2% (1)
- E4% (2)
Why each option
The `xorg.conf` file uses the `FontPath` option to specify locations where the X server can find fonts, including local directories and font servers.
`FontPath= server` is not a valid syntax for specifying a font server in `xorg.conf`.
While `Fonts` relates to font configuration, `FontPath` is the correct directive for specifying font server locations, and '"unix/:7100"' must follow `FontPath`.
The `FontPath` option in `xorg.conf` specifies the search path for fonts. The entry '"unix/:7100"' indicates a font server listening on a Unix domain socket, usually for a local font server, where 7100 is the default port for X font servers, telling the X server to retrieve fonts from this source.
`Fonts= server` is not a valid syntax for specifying a font server in `xorg.conf`.
`Fontserver` is not the correct directive; `FontPath` is used for specifying font server locations.
Concept tested: Xorg font server configuration
Source: https://man7.org/linux/man-pages/man5/xorg.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.