Wells, Guide to Linux Installation & Administration, 2E 0-619-13095-4

advertisement
Guide to Linux Installation and Administration, 2e
Chapter 5 Solutions
REVIEW QUESTIONS
1. The historical beginnings of the X Window System originated with:
a. Project Athena
2. Why might a person choose a commercial X server instead of using XFree86?
Support for different video cards and improved performance
3. Describe the function of an X server within the X Window System.
It communicates with the video card as instructed by X clients, including a window manager.
4. A(n) is another name for any graphical application running in the X Window System.
b. X client
5. Name four window managers that can be used with the X Window System on Linux.
See the list in the chapter text, which includes afterstep, fvwm, kwm, sawfish, twm, and others
6. A window manager is best described as:
a.A special-purpose X client that provides core graphical functionality for other X clients
7. Name the two graphical libraries used by the two major desktop environments of Linux.
Qt and GTK+
8. A graphical library is best described as:
b.A collection of functions that any graphical program can use to create a common look and feel
9.
To view an X application remotely on a Windows-based computer, you must add a(n) to the Windows
computer.
c. X server package
10. The X Window System files are normally located in which subdirectory in Linux:
d. /usr/X11R6
11. Choosing not to run X
a. Saves the system resources that the X serer would have consumed.
12. The Xconfigurator program is a standard X configuration tool in which Linux distribution?
d. Red Hat Linux
13. Name four programs that you can use to configure the XFree86 X server programs.
Xconfigurator, xf86config, various Installation programs, lizardx, sax
14. Explain why configuring the X server can be challenging, but configuring other components of X is fairly
straightforward.
The X server relies on detailed information about the video card. Other programs are “software
only”
15. The ------- program provides an insecure but easy to use method of permitting other computers to use your
X server.
a. xhost
16. Graphical programs use the X server that is
c. defined by the DISPLAY environment variable, or the --display option if it is included with the command.
17. Besides the standard configuration programs available for Linux, describe four other methods of obtaining
information to help you configure X.
See the section Configuring X Using Other Resources
18. The command is normally used to launch the X Window System.
b. startx
19. The xinit program searches for a variety of configuration files, including which of the following?
b. /etc/X11/xinit/xinitrc
20. Name four configuration files that xinit checks for as it launches X.
Xclients, xinitrc, xserverrc, .Xclients, .xinitrc, Xsession, .Xsession
21. To function correctly, the startx and xinit programs require that:
a. A symbolic link named /usr/X11R6/bin/X is created to point to an X server program
22. Name three features associated with a modern desktop environment.
Common look and feel
Sharing data using drag-n-drop and cut-n-paste
Integrated productivity applications and system administration utilities
Interface and navigation helps, such as menus, task bars, and desktop icons
23. An xdm session is normally defined by information in:
a. An Xsession file
24. The xrdb command is used to manage:
a. X resources using X resource database files
25. The xdm program is started by the ------ program (or script).
a. init
HANDS-ON PROJECTS
Project 5-1
In the command-line window, type the command more ~/.Xclients- and press Tab. The rest of a filename
is filled in for you. Now press Enter. Notice the name of the program that is referred to in this script file.
startkde is listed in this file
1.
Download