LPI 102-500 Practice Test 13
Question 120
On a production Linux workstation or server, a technician observes: An engineer applies Xorg-specific configuration while the user's actual graphical session is running under Wayland and no change takes effect. Which TWO complementary steps provide the best corrective action and its most direct diagnostic verification? Select TWO answers.
- Assume every Linux GUI is an Xorg server and that an Xorg configuration fragment necessarily controls a Wayland compositor.
- Identify the active graphical protocol and configure supported Xorg input overrides in the appropriate X configuration location or use the Wayland compositor's supported setting path.
- Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer.
- Check the session type, Xorg log or configuration fragments, effective keyboard layout and results after restarting an appropriate test session.
- Inspect DISPLAY and xauth entries, identify server hostname or SSH forwarding endpoint, and test authorized versus denied clients.
Explanation
Correct Answers
B:Recommended administrative action: Identify the active graphical protocol and configure supported Xorg input overrides in the appropriate X configuration location or use the Wayland compositor's supported setting path. Linux principle: Xorg provides an X11 server with file-based configuration overrides; Wayland sessions use a different display architecture and may not honor Xorg driver configuration.
D:Most direct verification evidence: Check the session type, Xorg log or configuration fragments, effective keyboard layout and results after restarting an appropriate test session. Linux principle: Xorg provides an X11 server with file-based configuration overrides; Wayland sessions use a different display architecture and may not honor Xorg driver configuration.
Incorrect Answers
A:This shortcut is unsafe for the present Linux issue: Assume every Linux GUI is an Xorg server and that an Xorg configuration fragment necessarily controls a Wayland compositor. Xorg provides an X11 server with file-based configuration overrides; Wayland sessions use a different display architecture and may not honor Xorg driver configuration.
C:This alternative addresses Display managers, window managers and desktop sessions, not the specific issue of Xorg configuration overrides and Wayland awareness: Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer. Linux principle: Xorg provides an X11 server with file-based configuration overrides; Wayland sessions use a different display architecture and may not honor Xorg driver configuration. Appropriate response: Identify the active graphical protocol and configure supported Xorg input overrides in the appropriate X configuration location or use the Wayland compositor's supported setting path. Root-cause evidence: Check the session type, Xorg log or configuration fragments, effective keyboard layout and results after restarting an appropriate test session. Independent acceptance: The configured keyboard behavior takes effect in the actual session type without overriding unrelated display or login components.
E:This alternative addresses X11 display authorization and remote applications, not the specific issue of Xorg configuration overrides and Wayland awareness: Inspect DISPLAY and xauth entries, identify server hostname or SSH forwarding endpoint, and test authorized versus denied clients. Linux principle: Xorg provides an X11 server with file-based configuration overrides; Wayland sessions use a different display architecture and may not honor Xorg driver configuration.
Question 121
During an LPIC-1 practice lab, the operator encounters this condition: The GUI login screen fails to appear even though desktop applications start when a user manually runs a graphical session from the console. Which administrative step is the MOST appropriate way to resolve this issue? Select ONE best answer.
- Use a deliberate DISPLAY target and suitable X11 cookie-based authorization with xauth or properly restricted SSH X11 forwarding instead of unrestricted xhost access.
- Select an appropriate desktop family such as GNOME, KDE Plasma or Xfce, and choose a supported remote desktop protocol like VNC, RDP or SPICE according to session requirements.
- Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service.
- Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer.
Explanation
Correct Answer
D:Recommended administrative action: Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
Incorrect Answers
A:That option would use a deliberate DISPLAY target and suitable X11 cookie-based authorization with xauth or properly restricted SSH X11 forwarding instead of unrestricted xhost access, but it addresses a different concern. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
B:This alternative addresses Graphical desktop families and remote desktop protocols, not the specific issue of Display managers, window managers and desktop sessions: Select an appropriate desktop family such as GNOME, KDE Plasma or Xfce, and choose a supported remote desktop protocol like VNC, RDP or SPICE according to session requirements. Linux principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities. Appropriate response: Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer. Root-cause evidence: Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup. Independent acceptance: The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles.
C:That option would treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service, but it addresses a different concern. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
Question 122
A helpdesk escalation describes this Linux behavior: The GUI login screen fails to appear even though desktop applications start when a user manually runs a graphical session from the console. Which Linux behavior or technical principle BEST explains why the issue occurs? Select ONE best answer.
- An X server accepts graphical client connections subject to transport reachability and authorization; DISPLAY alone does not grant permission and xhost + weakens access control.
- Desktop environments are replaceable collections of applications and session components; X11 forwarding and remote desktop protocols serve different access models.
- Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service.
- Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
Explanation
Correct Answer
D:Relevant Linux operating principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
Incorrect Answers
A:This alternative addresses X11 display authorization and remote applications, not the specific issue of Display managers, window managers and desktop sessions: An X server accepts graphical client connections subject to transport reachability and authorization; DISPLAY alone does not grant permission and xhost + weakens access control. Linux principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities. Appropriate response: Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer. Root-cause evidence: Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup. Independent acceptance: The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles.
B:This alternative addresses Graphical desktop families and remote desktop protocols, not the specific issue of Display managers, window managers and desktop sessions: Desktop environments are replaceable collections of applications and session components; X11 forwarding and remote desktop protocols serve different access models. Linux principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities. Appropriate response: Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer. Root-cause evidence: Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup. Independent acceptance: The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles.
C:That option would treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service, but it addresses a different concern. Independent acceptance: The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles.
Question 123
An operations handoff identifies this problem: The GUI login screen fails to appear even though desktop applications start when a user manually runs a graphical session from the console. Which evidence or command result MOST directly tests the suspected root cause? Select ONE best answer.
- Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service.
- Inspect the installed session and remote service capabilities, test authentication and reconnection, and verify responsiveness under expected bandwidth.
- Inspect DISPLAY and xauth entries, identify server hostname or SSH forwarding endpoint, and test authorized versus denied clients.
- Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup.
Explanation
Correct Answer
D:Most direct verification evidence: Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
Incorrect Answers
A:This shortcut is unsafe for the present Linux issue: Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
B:That option would inspect the installed session and remote service capabilities, test authentication and reconnection, and verify responsiveness under expected bandwidth, but it addresses a different concern. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
C:That option would inspect DISPLAY and xauth entries, identify server hostname or SSH forwarding endpoint, and test authorized versus denied clients, but it addresses a different concern. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
Question 124
A team maintaining a Linux host reports: The GUI login screen fails to appear even though desktop applications start when a user manually runs a graphical session from the console. Which observed outcome BEST confirms a successful and properly scoped correction? Select ONE best answer.
- Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service.
- The chosen desktop or remote session operates for authorized users with the expected persistence and acceptable resource use.
- The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles.
- The user can independently navigate and complete the workflow through the chosen assistive technology without requiring unsupported input actions.
Explanation
Correct Answer
C:Observable acceptance criterion: The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
Incorrect Answers
A:This shortcut is unsafe for the present Linux issue: Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
B:This alternative addresses Graphical desktop families and remote desktop protocols, not the specific issue of Display managers, window managers and desktop sessions: The chosen desktop or remote session operates for authorized users with the expected persistence and acceptable resource use. Linux principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities. Appropriate response: Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer. Root-cause evidence: Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup. Independent acceptance: The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles.
D:This alternative addresses Accessibility screen reading and keyboard interaction, not the specific issue of Display managers, window managers and desktop sessions: The user can independently navigate and complete the workflow through the chosen assistive technology without requiring unsupported input actions. Linux principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities. Appropriate response: Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer. Root-cause evidence: Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup. Independent acceptance: The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles.
Question 125
While verifying a Linux change request, an engineer finds: The GUI login screen fails to appear even though desktop applications start when a user manually runs a graphical session from the console. Which misleading assumption MOST directly contributes to this failure and should be rejected? Select ONE best answer.
- Set xhost + permanently and assume DISPLAY refers to secure authorization rather than merely selecting an X server endpoint.
- Assume every Bash process automatically reads ~/.bashrc and ~/.bash_profile in the same order regardless of login and interactivity.
- Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service.
- Assume every Linux GUI is an Xorg server and that an Xorg configuration fragment necessarily controls a Wayland compositor.
Explanation
Correct Answer
C:Reject this specific misconception: Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service. It incorrectly assumes behavior that conflicts with the observed Linux conditions.
Incorrect Answers
A:That option would set xhost + permanently and assume DISPLAY refers to secure authorization rather than merely selecting an X server endpoint, but it addresses a different concern. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
B:That option would assume every Bash process automatically reads ~/.bashrc and ~/.bash_profile in the same order regardless of login and interactivity, but it addresses a different concern. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
D:That option would assume every Linux GUI is an Xorg server and that an Xorg configuration fragment necessarily controls a Wayland compositor, but it addresses a different concern. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
Question 126
A Linux administrator investigates the following system incident: A custom window manager is installed, but the operator expects that merely installing it will change the system's graphical login manager. Which administrative step is the MOST appropriate way to resolve this issue? Select ONE best answer.
- Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer.
- Enable suitable assistive tools such as a screen reader, large-print or high-contrast theme and Sticky Keys or on-screen keyboard according to actual user needs.
- Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service.
- Select an appropriate desktop family such as GNOME, KDE Plasma or Xfce, and choose a supported remote desktop protocol like VNC, RDP or SPICE according to session requirements.
Explanation
Correct Answer
A:Recommended administrative action: Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
Incorrect Answers
B:That option would enable suitable assistive tools such as a screen reader, large-print or high-contrast theme and Sticky Keys or on-screen keyboard according to actual user needs, but it addresses a different concern. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
C:This shortcut is unsafe for the present Linux issue: Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
D:This alternative addresses Graphical desktop families and remote desktop protocols, not the specific issue of Display managers, window managers and desktop sessions: Select an appropriate desktop family such as GNOME, KDE Plasma or Xfce, and choose a supported remote desktop protocol like VNC, RDP or SPICE according to session requirements. Linux principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities. Appropriate response: Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer. Root-cause evidence: Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup. Independent acceptance: The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles.
Question 127
On a production Linux workstation or server, a technician observes: A custom window manager is installed, but the operator expects that merely installing it will change the system's graphical login manager. Which Linux behavior or technical principle BEST explains why the issue occurs? Select ONE best answer.
- Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
- An X server accepts graphical client connections subject to transport reachability and authorization; DISPLAY alone does not grant permission and xhost + weakens access control.
- Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service.
- Accessibility mechanisms include visual, auditory and keyboard interaction aids, and individual accommodations are not interchangeable.
Explanation
Correct Answer
A:Relevant Linux operating principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
Incorrect Answers
B:This alternative addresses X11 display authorization and remote applications, not the specific issue of Display managers, window managers and desktop sessions: An X server accepts graphical client connections subject to transport reachability and authorization; DISPLAY alone does not grant permission and xhost + weakens access control. Linux principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities. Appropriate response: Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer. Root-cause evidence: Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup. Independent acceptance: The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles.
C:This shortcut is unsafe for the present Linux issue: Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service. It cannot establish a safe correction. Linux principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
D:This alternative addresses Accessibility screen reading and keyboard interaction, not the specific issue of Display managers, window managers and desktop sessions: Accessibility mechanisms include visual, auditory and keyboard interaction aids, and individual accommodations are not interchangeable. Linux principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities. Appropriate response: Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer. Root-cause evidence: Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup. Independent acceptance: The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles.
Question 128
During an LPIC-1 practice lab, the operator encounters this condition: A custom window manager is installed, but the operator expects that merely installing it will change the system's graphical login manager. Which evidence or command result MOST directly tests the suspected root cause? Select ONE best answer.
- Inspect DISPLAY and xauth entries, identify server hostname or SSH forwarding endpoint, and test authorized versus denied clients.
- Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service.
- Check the session type, Xorg log or configuration fragments, effective keyboard layout and results after restarting an appropriate test session.
- Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup.
Explanation
Correct Answer
D:Most direct verification evidence: Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
Incorrect Answers
A:This alternative addresses X11 display authorization and remote applications, not the specific issue of Display managers, window managers and desktop sessions: Inspect DISPLAY and xauth entries, identify server hostname or SSH forwarding endpoint, and test authorized versus denied clients.
B:This shortcut is unsafe for the present Linux issue: Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service. It cannot establish a safe correction. Linux principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities. Appropriate response: Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer. Root-cause evidence: Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup. Independent acceptance: The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles.
C:That option would check the session type, Xorg log or configuration fragments, effective keyboard layout and results after restarting an appropriate test session, but it addresses a different concern. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
Question 129
A helpdesk escalation describes this Linux behavior: A custom window manager is installed, but the operator expects that merely installing it will change the system's graphical login manager. Which observed outcome BEST confirms a successful and properly scoped correction? Select ONE best answer.
- The user can independently navigate and complete the workflow through the chosen assistive technology without requiring unsupported input actions.
- Only intended users can open remote graphical applications on the chosen display and unauthorized X clients cannot connect.
- The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles.
- Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service.
Explanation
Correct Answer
C:Observable acceptance criterion: The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
Incorrect Answers
A:This alternative addresses Accessibility screen reading and keyboard interaction, not the specific issue of Display managers, window managers and desktop sessions: The user can independently navigate and complete the workflow through the chosen assistive technology without requiring unsupported input actions. Linux principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities. Appropriate response: Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer. Root-cause evidence: Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup. Independent acceptance: The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles.
B:This alternative addresses X11 display authorization and remote applications, not the specific issue of Display managers, window managers and desktop sessions: Only intended users can open remote graphical applications on the chosen display and unauthorized X clients cannot connect. Linux principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities. Appropriate response: Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer. Root-cause evidence: Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup. Independent acceptance: The login greeter starts reliably and the chosen session manages windows correctly without conflating the two roles.
D:This shortcut is unsafe for the present Linux issue: Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
Question 130
An operations handoff identifies this problem: A custom window manager is installed, but the operator expects that merely installing it will change the system's graphical login manager. Which TWO complementary steps provide the best corrective action and its most direct diagnostic verification? Select TWO answers.
- Inspect accessibility configuration, demonstrate a screen reader and key combination, and ask the affected user to complete a representative task.
- Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service.
- Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer.
- Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup.
- Use a deliberate DISPLAY target and suitable X11 cookie-based authorization with xauth or properly restricted SSH X11 forwarding instead of unrestricted xhost access.
Explanation
Correct Answers
C:Recommended administrative action: Distinguish the display manager that provides graphical login, the window manager that arranges application windows and the desktop environment supplying session tools; repair the failing layer. Linux principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
D:Most direct verification evidence: Inspect the enabled graphical login service, session files, login logs and active window manager, and attempt both local login and manual session startup. Linux principle: Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
Incorrect Answers
A:That option would inspect accessibility configuration, demonstrate a screen reader and key combination, and ask the affected user to complete a representative task, but it addresses a different concern. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
B:This shortcut is unsafe for the present Linux issue: Treat the window manager as the same program as the graphical login manager and expect installing a desktop theme to repair a failed login service. Linux graphical stacks separate X11 or Wayland display service, session selection, display manager login and window management responsibilities.
E:This alternative addresses X11 display authorization and remote applications, not the specific issue of Display managers, window managers and desktop sessions: Use a deliberate DISPLAY target and suitable X11 cookie-based authorization with xauth or properly restricted SSH X11 forwarding instead of unrestricted xhost access.