Top Banner
The X Windows system Unit objectives A. Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows to work with video hardware, keyboards, and mice
27

The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

Mar 31, 2015

Download

Documents

Casey Lamm
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

The X Windows system

Unit objectives

A. Explain the purpose of GUI components, list common window managers and desktop environments

B. Configure X Windows to work with video hardware, keyboards, and mice

Page 2: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

Topic A: GUI components

Page 3: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

GUI Components

• Graphical interfaces are easier

• User friendly

• Many graphical tools to simplify administration

• Multiple environments to choose from

• Need to understand components

Page 4: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

GUI components

Page 5: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

The X Windows system

• X Windows– The component of the GUI that displays

graphics on the terminal screen

• X clients– The programs that tell X Windows server how

to draw the graphics and display the results

Page 6: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

Major GUI components

• Window manager– Determines the appearance of the windows

drawn on the screen by X Windows

• Desktop environment– Works with the window manager to provide a

unified environment that includes standard programs and development tools

• KDE• GNOME• XFce

continued

Page 7: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

KDE Desktop Environment

Page 8: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

GNOME Desktop Environment

Page 9: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

Common window managers

Page 10: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

Controlling the graphical interface

• Many methods to start X Windows

• Can edit config files directly or with x client tools

• Starting and stopping X Windwos– Runlevel 5 settings include a display manager

• Gnome-gdm• KDE-kdm

Page 11: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

XClients config files

• Runlevel 5 starts automatically

• From runlevel 3– Gdm at command line– Startx

• Starts X Windows and the manager or desktop specified in .Xclients

Page 12: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

The Desktop Switching Tool

Page 13: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

Topic B: Configuring X Windows

Page 14: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

Configuring X Windows

• For the video adapter card, X Windows requires:– The video adapter card model– The amount of RAM on the video adapter

card

– The chipset on the video adapter card

continued

Page 15: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

Video monitor values

• X Windows also requires information about the monitor– The maximum resolution supported

– The horizontal sync (hsync) range– The vertical sync (vsync) range

• /etc/X11/xorg.conf– Configuration file used by X Windows on

Fedora Core 2

Page 16: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

Mouse configuration using mouseconfig

Page 17: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

The Display settings utility

Page 18: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

Using Xvidtune

• Although most monitors today support a wide range of hsync and vsync values, choosing too high a value for either may damage the monitor

• Xvidtune– Program used to fine-tune the vsync and

hsync video card settings for use in X Windows

Page 19: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

The xvidtune utility

Page 20: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

Unit summary

• Learned the purpose GUI components such as X Windows, window managers, and desktop environments

• Gathered hardware information and configured X Windows settings, and ran X applications from the command line

Page 21: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

If a video card is not recognized by the X configuration utility during the

installation process, which of the following actions should be taken to enable X to display after installation is complete?

A. Edit the /etc/inittab to boot the X Window System B. Identify the chipset on the video card and obtain the

driver from the manufacturer. C. Inspect the CMOS for information on the video card and

install the drivers that came with the video card. D. Edit /etc/lilo.conf to include a boot message to the kernel

pointing to the location of the video drivers.

Page 22: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

If a video card is not recognized by the X configuration utility during the

installation process, which of the following actions should be taken to enable X to display after installation is complete?

A. Edit the /etc/inittab to boot the X Window System B. Identify the chipset on the video card and obtain the

driver from the manufacturer. C. Inspect the CMOS for information on the video card and

install the drivers that came with the video card. D. Edit /etc/lilo.conf to include a boot message to the kernel

pointing to the location of the video drivers. Answer: B

Page 23: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

A new video card is added to a Linux workstation. Which of the following files is used to configure X?

A. /usr/conf/Xconfig B. /etc/X11R6/Xconfig C. /etc/X11/XF86Config D. /root/Xwindows/Xconf

Page 24: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

A new video card is added to a Linux workstation. Which of the following files is used to configure X?

A. /usr/conf/Xconfig B. /etc/X11R6/Xconfig C. /etc/X11/XF86Config D. /root/Xwindows/Xconf Answer: C.

Page 25: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

Which of the following is the best way to change video resolution from 800x600 to

1024x768? A. Run xf86config to change the resolution. B. Reinstall Linux with more options for X Server. C. Reinstall X Server with support for the

1024x768 resolution. D. Restart X Server after typing

"resolution=1024x768" as root.

Page 26: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

Which of the following is the best way to change video resolution from 800x600 to

1024x768? A. Run xf86config to change the resolution. B. Reinstall Linux with more options for X Server. C. Reinstall X Server with support for the

1024x768 resolution. D. Restart X Server after typing

"resolution=1024x768" as root. Answer: A

Page 27: The X Windows system Unit objectives A.Explain the purpose of GUI components, list common window managers and desktop environments B. Configure X Windows.

Any Questions?