Self Test


The following questions will help you measure your understanding of the material presented in this chapter. As no multiple choice questions appear on the Red Hat exams, no multiple choice questions appear in this book. These questions exclusively test your understanding of the chapter. It is okay if you have another way of performing a task. Getting results, not memorizing trivia, is what counts on the Red Hat exams. There may be more than one answer to many of these questions.

X with Clients and Servers

1. 

If you're running a GUI tool from a remote system, where is the X client?

___________________________________________________

image from book

2. 

What is the main X configuration file? In what directory?

___________________________________________________

the main x.org configuration file is xorg.conf, in the /etc/x11 directory.

3. 

What command starts a GUI with a blank screen?

___________________________________________________

image from book

Answers

1. 

If you're running a GUI tool from a remote system, the X client comes from the remote system. The X server is local and manages the hardware.

2. 

The main X.org configuration file is xorg.conf, in the /etc/X11 directory.

3. 

The main command that starts the GUI with a blank screen is X; as it's linked to the Xorg command, you can use it as well. Yes, with appropriate changes to configuration files, you can start the GUI in a blank screen with other commands, most easily in twm.

The X.org Server Configuration

4. 

What directive in xorg.conf is associated with keyboards and mice?

___________________________________________________

the directive in xorg.conf associated with keyboards and mice is inputdevice .

5. 

What command is a text script that starts the GUI from a command line console?

___________________________________________________

image from book

6. 

What configuration file in /etc/X11 can you use to specify a default GUI login manager?

___________________________________________________

image from book

Answers

4. 

The directive in xorg.conf associated with keyboards and mice is InputDevice.

5. 

The text script command that starts the GUI from a command line console is startx. You can edit it directly in the /usr/bin/ directory.

6. 

The configuration file in the /etc/X11 directory that you can use to specify a default GUI login manager is prefdm; the key directive in this file is preferred.

Tools for X.org Configuration

7. 

What command tests the X.org start sequence, without actually starting the X Window?

___________________________________________________

image from book

8. 

If you've logged into the command line console in runlevel 3, what command allows you to start the graphical X configuration tool?

___________________________________________________

image from book

9. 

If you've logged into the command line console in runlevel 3 and can't start the graphical X configuration tool, what command creates a local xorg.conf file?

___________________________________________________

image from book

Answers

7. 

The command that tests the X.org start sequence, without actually starting the X Window, is Xorg -probeonly. (As you can confirm in the Xorg man page, only one dash is required for Xorg command switches.)

8. 

If you've logged into the command line console in runlevel 3, the command that allows you to start the graphical X configuration tool is system-config-display.

9. 

If you've logged into the command line console in runlevel 3 and can't start the graphical X configuration tool, you can create a local xorg.conf file with the Xorg -configure command.

Running Remote X Applications

10. 

You've configured the Secure Shell on both systems. If you're logging into the cosmicc.example .net system as user michael, what command would you use to gain access to X applications on the remote system?

___________________________________________________

image from book

Answers

10. 

You've configured the Secure Shell on both systems. To log into the cosmicc.example.net system as user michael, with access to GUI applications, run either the ssh -X michael@cosmicc.example.net or ssh -Y michael@cosmicc.example.net command.

Desktops and Window Managers

11. 

What command switches the default desktop environment to KDE?

___________________________________________________

the command that sets the default desktop to kde is switchdesk kde .

12. 

In the future, you want to boot Linux directly into the GUI. How would you make this happen in /etc/inittab?

___________________________________________________

image from book

Answers

11. 

The command that sets the default desktop to KDE is switchdesk kde.

12. 

In the future, to boot Linux directly into the GUI, make sure /etc/inittab includes the following directive, which boots Linux into runlevel 5:

 id:5:initdefault 



RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302)
Linux Patch Management: Keeping Linux Systems Up To Date
ISBN: 0132366754
EAN: 2147483647
Year: 2004
Pages: 227
Authors: Michael Jang

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net