LX0-103 · Question #116
When you start XWindows, which series of programs and/or scripts would most closely describe the start-up process?
The correct answer is D. startx -> xinit -> xinitrC.> Xclients. The X Window System startup sequence proceeds from the user-facing startx script through xinit, then xinitrc, which finally launches Xclients.
Question
When you start XWindows, which series of programs and/or scripts would most closely describe the start-up process?
Options
- Axdm -> xinit -> xinitrC.> Xclients
- BkdE.> xinitrC.> xinit -> Xclients
- Cstartx -> xinitrC.> Xclients -> kde
- Dstartx -> xinit -> xinitrC.> Xclients
- Estartx -> xinit -> Xclients -> xinitrc
How the community answered
(38 responses)- A5% (2)
- D92% (35)
- E3% (1)
Why each option
The X Window System startup sequence proceeds from the user-facing startx script through xinit, then xinitrc, which finally launches Xclients.
This sequence begins with xdm, which is the X Display Manager used for graphical login screens, not the standard startx path a user invokes from a console.
This sequence incorrectly places a desktop environment (kde) at the start and misorders xinit before xinitrc, which reverses the actual call chain.
This sequence places kde after Xclients, implying kde is a post-client process, and omits xinit entirely, skipping a required stage in the startup chain.
startx is the high-level shell wrapper a user runs to initiate an X session. It invokes xinit, the lower-level X initializer that starts the X server and client processes. xinit then executes the xinitrc configuration script, which defines the client environment and launches Xclients such as window managers and desktop applications. This layered chain - startx -> xinit -> xinitrc -> Xclients - accurately reflects the standard X startup architecture on Linux.
This sequence incorrectly places Xclients before xinitrc, reversing their relationship - xinitrc is the script that starts Xclients, so Xclients cannot appear before it.
Concept tested: X Window System startup sequence and component roles
Source: https://www.x.org/releases/current/doc/man/man1/xinit.1.xhtml
Topics
Community Discussion
No community discussion yet for this question.