Home Page Icon
Home Page
Table of Contents for
I. The X Server
Close
I. The X Server
by Chris Tyler
X Power Tools
A Note Regarding Supplemental Files
Preface
How This Book Is Organized
Part I: The X Server
Part II: X Clients
Part III: Colors, Fonts, and Keyboards
Part IV: Using X Remotely
Part V: Special Configurations
Conventions Used in This Book
Using Code Examples
We’d Like to Hear from You
Safari® Books Online
Acknowledgments
I. The X Server
1. Introduction to the X Window System
The X Window System
The History of X
The Renaissance: New X Versus Old X
X by Any Other Name
Seven Layers of an X-based GUI
Where Is the Server?
Why Windows Look and Act Differently
Toolkits and Desktop Environments
The Role of Freedesktop.org
Display Hardware
Pointing Devices
Keyboards
Monitors
Cathode ray tube (CRT)
Liquid crystal display (LCD)
Other flat-panel technologies
Video projectors
Video timing
Monitor connections
Video Cards
Displays, Screens, and Xinerama
Display Specifications
TCP/IP Ports
Local Connection Mechanisms
Server Extensions
Where to Draw the Line: Kernel Versus User-Space Drivers
2. Starting a Local X Server
One Size Doesn’t Fit All
Virtual Terminals
Starting a Raw X Server Manually
Using a Display Manager to Start the X Server
Enabling or Disabling the Display Manager at Boot Time
What Started the Display Manager?
Started Directly by init
Started by an init Script
Starting Multiple X Servers Using a Display Manager
Starting Multiple X Servers Using XDM (or Early Versions of KDM)
Starting Multiple X Servers Using KDM
Starting Multiple X Servers Using GDM
Starting Additional X Servers on Demand Using a Display Manager
Starting Additional X Servers Using gdmflexiserver
Starting Additional X Servers Using KDM
Starting an X Server with Clients Only When Needed
Switching VTs from the Shell Prompt
Starting X Within X
No Mouse!
Bailing Out: Zapping X
Terminating X Automatically
3. Basic X.org Configuration
What Is There to Configure?
Why Only root Can Configure the X Server
Places Your Configuration Could Hide
Let the X Server Configure Itself
The xorg.conf Configuration File
ServerLayout
Screen
Monitor
Device
InputDevice
Optional Sections in the xorg.conf Configuration File
Configuring the Pointer Device
Configuring a Two-Button Mouse
Configuring a Mouse with a Scrollwheel
Configuring a Synaptics TouchPad
Enabling DPMS
Configuring Video Card Driver Options
LightSteelBlue and Other Color Names
Configuring a Monitor’s Scan Rates
Reading Server Log Files
Configuring the Default Depth of a Screen
Configuring the Resolution of a Screen
4. Advanced X.org Configuration
Multi-Screen Configuration
Xinerama Configuration
Differences Between Multi-Screen and Xinerama Modes
Positioning Screens
Overlapping Xinerama
Scrolling Virtual Screens and Xinerama
Using Multiple Outputs from One Video Card
Parallel Pointing Devices
Parallel Keyboards
Using X with GPM or MOUSED
GPM Under Linux
MOUSED Under FreeBSD
5. Using the X Server
Interacting with the X Server
Changing Resolution On-the-Fly
Changing the Resolution and the Screen Size Dynamically
Using the Middle Mouse Button
Using the Clipboard
Keyboard Focus
Keyboard and Mouse Grabs
II. X Clients
6. X Utility Programs
The Unused Toolbox
Determine the Display Configuration
Getting Window Information
Viewing Server Settings
Control That Bell!
Adjusting the Keyboard Repeat Rate
Adjusting the Mouse Acceleration
Playing with the Lights
Killing a Rogue Client
Examining Part of the Display in Detail
Script a Screen Dump
Preventing the Screen from Blanking During Presentations
Eye Candy: xscreensaver
Redrawing the Screen
7. Running X Clients
Running X Clients
Background Operation
Geometry
Split Personality: Running Nongraphical Applications
8. Session Managers,Desktop Environments, and Window Managers
X and Desktop Environments
Session Managers
Virtual Desktops
Starting GNOME
Starting KDE
Starting Xfce
Using a Window Manager Alone
III. Colors, Fonts, and Keyboards
9. Color
RGB and Other Systems
Visuals
Gamma
Color Management Systems
10. Core Fonts: Fonts the Old Way
Old Fonts Versus New Fonts
Configuring the Font Path
Using a Font Server
Font Names
Installing and Removing Fonts
11. Pango, Xft, Fontconfig, and Render: Fonts the New Way
Client-Side Fonts
Adding and Removing Fonts Manually
Adding and Removing Fonts Using GNOME
Adding and Removing Fonts Using KDE
Fontconfig Font Names
Fontconfig Utilities
Installing the Microsoft Fonts
Rendering Options
12. Keyboard Configuration
Keyboards and XKB
The Location of XKB Files
XKB Components
Selecting an XKB Keymap Using Rules
Using Keyboard Groups
Setting the Keymap in the xorg.conf File
Setting the Keymap from the Command Line
Setting the Keymap Using a Keyboard Configuration File
Compiling Keyboard Maps
Viewing or Printing a Keyboard Layout
iv. Using X Remotely
13. Remote Access
Network Transparency
Displaying on a Remote Server
Enabling Remote Sessions
XDM
KDM
GDM
Accessing a Remote Session on a Specific Host
Accessing a Remote Session on Any Available Host
Accessing a Remote Session from a List of Available Sessions
The Three Challenges of Remote Access
Host-Based Access Control
xauth and Magic Cookies
The X Security Extension
Low-Bandwidth X (LBX)
X Tunneling with SSH
Using Public Keys with SSH
Using Passphrase Protection of SSH Keys
OpenSSH and the SECURITY Extension
14. Using VNC
The VNC System
So Many VNC Versions!
Xvnc Basics
The vncserver Script
Using the VNC Viewers
Using Standing VNC Servers
Configuring the Xvnc Web Server
Customizing the VNC Java Applet Web Page
Starting VNC On Demand Using xinetd
Starting VNC On Demand Using inetd
Using the Java Applet with On-Demand VNC Servers
Accessing VNC Securely Using SSH
Embedding an X Application in a Web Page
Using KDE and Gnome Remote Desktop Access Tools
Using the VNC Extension to the X.Org Server
Using VNC to Share a Presentation
Bypassing a Firewall
V. Special Configurations
15. Building a Kiosk
What Is a Kiosk, and Why Do I Want One?
Selecting Kiosk Hardware
Monitor
Pointer
Keyboard
System Unit, Power Supply, and Ventilation
Configure X for a Kiosk
Controlling the Keyboard
Controlling the Mouse
Starting a Single Fullscreen Application
Network Status Monitoring
Using xscreensaver to Reset a Kiosk
Refining the Kiosk Appearance
Putting It All Together: Scripting a Kiosk
Booting a Kiosk
Creating a Video Wall
Colophon
Copyright
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Preface
Next
Next Chapter
1. Introduction to the X Window System
Part I. The X Server
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset