Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Tobyyy
T
Tobyyy
Community Contributor
Quizzes Created: 10 | Total Attempts: 1,461
| Attempts: 96 | Questions: 12
Please wait...
Question 1 / 12
0 %
0/100
Score 0/100
1. What environment variable will remote X application check to see which X server it
should send output to?

Explanation

The magic word is DISPLAY. In the X window system, a display
consists (simplified) of a keyboard, a mouse and a screen. A display is managed by a
server program, known as an X server. The server serves displaying capabilities to
other programs that connect to it.

Submit
Please wait...
About This Quiz
Linux LPI 117-101 # Bonus - Quiz

This Linux LPI 117-101 # Bonus quiz assesses knowledge on X server configuration, focusing on environment variables, remote access, and security. It is ideal for system administrators and IT professionals looking to validate their skills in managing X server environments.

Tell us your name to personalize your report, certificate & get on the leaderboard!
2. You wish to enable remote X access for the hosts: Host1, Host2 and Host3.
Type in the command and any needed arguments to do this.

Explanation

1. xhost + hostname: Adds hostname to X server access control list.
2. xhost - hostname: Removes hostname from X server access control list.
3. xhost + : Turns off acccess control (all remote hosts will have access to X server)
4. xhost - : Turns access control back on.

Submit
3. You are the system administrator for an X server, and experience attempts to
initiate an unathorized session from host21. What command with options and
arguments would deny access only to host21 for X sessions?

Explanation

1. xhost + hostname: Adds hostname to X server access control list.
2. xhost - hostname: Removes hostname from X server access control list.

3. xhost + : Turns off acccess control (all remote hosts will have access to X server)
4. xhost - : Turns access control back on.

Submit
4. You are using an application that you want to appear on the screen of another
machine. What environment variable would you have to set or edit to achieve this?

Explanation

To share the terminal between multiple hosts, we can export display.
Example
Suppose you want to run application on Certkiller B from Certkiller A.
Certkiller B in GUI Terminal:# xhost +192.168.0.1
Certkiller A in GUI Terminal:# export DISPLAY=192.168.0.2:0
# xterm

Submit
5. You are running X in networked environment. You want to allow anyone on your
network to display their X applications on your desktop. What command can you
use to disable all access control for X?

Explanation

xhost - the server access control program for X. The xhost program is
used to add and delete host (computer) names or user names to the list of machines
and users that are allowed to make connections to the X server. This provides a
rudimentary form of privacy control and security.

Submit
6. What environment variable is used to remotely display another machines X session
on yours?

Explanation

The DISPLAY consists of a hostname, a colon, and a sequence number. For example localhost:0

Submit
7. Which of the following is the default XFree86 configuration file?

Explanation

When you configure the Vide card, monitor type, resolution using
xf86config command, all information stores in /etc/X11/XF86Config file and when
Linux start GUI reads the information from this file.

Submit
8. Which of the following commands will print the current video
settings to stdout in xf86Config "Modeline " format?

Explanation

xvidtune [ -show | -prev | -next | -unlock ] [ -toolkitoption ... ]
Show - Print the currently selected settings to stdout in xorg.conf "Modeline" format. The
primary selection is similarly set.

Submit
9. Your senior administrator asked you to change the default
background of his machine, which uses XDM. Which file would you edit
to achieve this?

Explanation

To change the default background of a machine that uses XDM, the file that needs to be edited is "/etc/X11/xdm/Xsetup". This file contains the commands that are executed when the X Display Manager (XDM) starts up. By editing this file, you can specify the desired background image or color for the machine.

Submit
10. Your Linux machine is set to boot to the graphical runlevel. You have updated some
RPMs on your system and now you don't see video when the system boots. What
line should you add/modify to the /etc/inittab file to boot in console mode?

Explanation

It specifies that x windows system should run on runlevel 5 as a nondaemon.

Submit
11. What is the function of the .Xdefaults file?

Explanation

You can use this file to change the way some of your X-window
applications look. It's fun to try out different styles and get some settings that please
your eye. Before you try to do this however, make a backup.

Submit
12. You just started X for the first time and noticed that the display does
not use the entire screen. What program can you use to fix this?

Explanation

When you configure the Vide card, monitor type, resolution using
xf86config command, all information stores in /etc/X11/XF86Config file and when
Linux start GUI reads the information from this file.

Submit
View My Results

Quiz Review Timeline (Updated): Nov 20, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Nov 20, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Feb 19, 2009
    Quiz Created by
    Tobyyy
Cancel
  • All
    All (12)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What environment variable will remote X application check to see which...
You wish to enable remote X access for the hosts: Host1, Host2 and...
You are the system administrator for an X server, and experience...
You are using an application that you want to appear on the screen of...
You are running X in networked environment. You want to allow anyone...
What environment variable is used to remotely display another machines...
Which of the following is the default XFree86 configuration file?
Which of the following commands will print the current videosettings...
Your senior administrator asked you to change the defaultbackground of...
Your Linux machine is set to boot to the graphical runlevel. You have...
What is the function of the .Xdefaults file?
You just started X for the first time and noticed that the display...
Alert!

Advertisement