Web page design - six consoles are set up as text-mode screens,

December 31st, 2007

1 on 1 web hosting - Objective 2: Set Up xdm The X Display

December 30th, 2007

Objective 2: Set Up xdm The X Display Manager, or xdm, is a tool to manage X sessions on physical displays both locally and across the network. Part of its job is to handle user authentication through a graphical login screen, which replaces the familiar text- mode login. Configuring xdm xdm is distributed as part of XFree86 and is configured by a series of files located in /etc/X11/xdm. These files include: Xaccess This file controls inbound requests from remote hosts. Xresources This file is similar to .Xresources, discussed earlier. It holds configuration information for some xdm resources, including the graphical login screen. This file can be edited to modify the appearance of the xdm login screen. Xservers This file associates the X display names (:0, :1, …) with either the local X server software or a foreign display such as an X terminal. Xsession This file contains the script xdm launches after a successful login. It usually looks for .xsession in the user s home directory and executes the commands found there. If such a file doesn t exist, Xsession starts a default window manager (or environment) and applications. Xsetup_0 This file is a script started before the graphical login screen. It often includes commands to set colors, display graphics, or run other programs. This script is executed as root. xdm-config This file associates xdm configuration resources with the other files in this list. It usually isn t necessary to make changes in this file unless an expert administrator plans to customize xdm configuration. Running xdm manually xdm uses the X server to run on your local display. Therefore, you must have a working X configuration prior to using a display manager. Then, to start xdm, simply enter it as root: # xdm xdm launches the X server and display the graphical login, and you can log in as usual. xdm then starts your graphical environment. After you log out, xdm resets and again displays the login screen. Most Linux distributions enable virtual consoles. You can switch among them using the key combinations Ctrl Alt F1, Ctrl Alt F2, and so on. Typically, the first 380 X (Topic 2.10)
Please visit our professional web hosting services to find out about cheap and reliable webhost service that will surely answer all your demands.

client-limit This shows (Web site design) the maximum number of client

December 30th, 2007

client-limit This shows the maximum number of client requests to be served. clone-self When on, the font server makes copies of itself if it reaches the client- limit. You don t need to remember details about the contents of the xfs configuration file (config), but be aware of the use and general contents of the file. In particular, remember that the catalogue keyword is used similarly to FontPath in XF86Config. On the Exam Remember that xfs can take the place of the list of directories in a manually configured font path. However, running xfs doesn t replace the font path xfs itself must be on that path as noted earlier in Example 2-12 with the unix/:-1 entry. Controlling X Applications with .Xresources The X Window System also has many built-in customization features. Many X applications are programmed with a variety of resources, which are configuration settings that can be externally manipulated. Rather than have a configuration utility built into each application, applications can be written to examine the contents of a file in the user s home directory. The .Xresources file contains a line for each configured resource in the following form: program*resource: value This line can be translated as follows: program is the name of a configurable program, such as emacs or xterm. resource is one of the configurable settings allowed by the program, such as colors. value is the setting to apply to the resource. For example, the following is an excerpt from .Xresources that configures colors for an xterm: xterm*background: Black xterm*foreground: Wheat xterm*cursorColor: Orchid xterm*reverseVideo: false On the Exam You should be aware of X resources and the function of the .Xresources file. In particular, you should understand that X applications will look in the .Xresources file for settings. You should also be able to construct a resource setting given a particular example, but you do not need to be able to generate a configuration file from scratch. Study Guide102 Install and Configure XFree86 379
Check Tomcat Web Hosting services for best quality webspace to host your web application.

list of directories in the manually created (Crystaltech web hosting) font

December 29th, 2007

list of directories in the manually created font path. To include xfs in your system s font path, add a FontPath directive like this: Section “Files” RgbPath “/usr/X11R6/lib/X11/rgb” FontPath “unix/:-1″ EndSection If you install xfs from a package from your distribution, it is probably automatically configured to start at boot time and run continually, serving fonts to local and remote client programs. To start xfs manually, simply enter the xfs command. For security purposes, you may wish to run xfs as a non-root user. xfs is configured using its configuration file, /etc/X11/fs/config. Example 2-14 contains an example config file for xfs. Example 2-14: Sample configuration File for xfs # Allow a max of four clients to connect to this font server client-limit = 4 # When a font server reaches its limit, start up a new one clone-self = on catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled, /usr/X11R6/lib/X11/fonts/75dpi:unscaled, /usr/X11R6/lib/X11/fonts/100dpi:unscaled, /usr/X11R6/lib/X11/fonts/misc, /usr/X11R6/lib/X11/fonts/Type1, /usr/X11R6/lib/X11/fonts/Speedo, /usr/X11R6/lib/X11/fonts/75dpi, /usr/X11R6/lib/X11/fonts/100dpi, /usr/share/fonts/ISO8859-2/100dpi, /usr/share/fonts/ISO8859-9/100dpi /usr/X11R6/lib/X11/fonts/local # In 12 points, decipoints default-point-size = 120 # 100 x 100 and 75 x 75 default-resolutions = 75,75,100,100 # How to log errors use-syslog = on As you can see, the config file contains the following keyword=value pairs: catalogue This keyword holds a comma-separated list of directories containing fonts to be served by xfs. This is where new font directories are added. alternate-servers(strings) This section contains a listing of alternate font servers that can be found on the local machine or on other machines. 378 X (Topic 2.10)
You want to have a cheap webhost for your apache application, then check apache web hosting services.

For example: Section “Files” RgbPath “/usr/X11R6/lib/X11/rgb” FontPath “/usr/X11R6/lib/X11/fonts/misc” (My web server)

December 29th, 2007

For example: Section “Files” RgbPath “/usr/X11R6/lib/X11/rgb” FontPath “/usr/X11R6/lib/X11/fonts/misc” FontPath “/usr/X11R6/lib/X11/fonts/Type1″ FontPath “/usr/X11R6/lib/X11/fonts/Speedo” FontPath “/usr/X11R6/lib/X11/fonts/100dpi” FontPath “/usr/X11R6/lib/X11/fonts/75dpi” FontPath “/usr/X11R6/lib/X11/fonts/local” EndSection This group of FontPath directives creates a font path consisting of six directories, all under /usr/X11R6/lib/X11/fonts. When XFree86 starts, it parses these font directories and includes their contents in the list of fonts available during the X session. Installing fonts Adding new fonts is straightforward.* First, a suitable directory should be created for the new fonts, such as /usr/X11R6/lib/X11/local or /usr/local/fonts. You may wish to separate your own fonts from the default XFree86 directories to protect them during upgrades. After the fonts are installed in the new directory, the mkfontdir utility is run to catalog the new fonts in the new directory. New entries are added to the XF86Config file to include the path for new fonts. For example: FontPath “/usr/local/fonts” At this point, the X server can be restarted to recognize the new fonts, or the fonts can be dynamically added using the xset command: # xset fp+ /usr/local/fonts xset is beyond the scope of the LPIC Level 1 exams. On the Exam Be sure you understand how the X font path is created and how to extend it to include additional directories. Knowledge of the internal details of font files is not necessary. The X font server On a network with multiple workstations, managing fonts manually for each system can be time consuming. To simplify this problem, the administrator can install all of the desired fonts on a single system and then run xfs, the X fonts server, on that system. The X font server is a small daemon that sends fonts to clients on both local and remote systems. Some Linux distributions use xfs exclusively, without a * For this brief discussion, we assume that we re working with Type 1 fonts. Other types, such as TrueType fonts, may require additional configuration depending on your version of XFree86. Study Guide102 Install and Configure XFree86 377
If you are looking for affordable and reliable webhost to host and run your business application visit our ftp web hosting services.

Under v4.0, the default location for the XF86Config (Post office web site)

December 28th, 2007

Under v4.0, the default location for the XF86Config file is in /etc/X11. The file contains the following sections: ServerLayout This section ties together Screen with one or more InputDevices. Multiple ServerLayout sections may be used for multiheaded configurations (i.e., systems with more than one monitor). Files This section is used to add paths to fonts and color information, just as it is in XFree86 v3.3.3. InputDevice Multiple InputDevice sections should be used to include at least a keyboard and mouse. Subsections within InputDevice in v4.0 replace the Pointer and Keyboard sections for XFree86 v3.3.3. Monitor This section is similar to the Monitor section for XFree86 v3.3.3, except that mode specifications are not usually necessary. The X server is already aware of standard VESA video modes and chooses the best mode based on the horizontal sync and vertical refresh rates. Device This section specifies the modular driver for the X server. Multiple Device sections can be included to handle multiple graphics devices. Screen This section ties together a Monitor with a Device and is specified in the ServerLayout. Multiple Screen sections can be included to handle multiple monitor/device pairs. On the Exam As already mentioned, you don t need to worry about details in XF86Config. However, you should be aware of the major differences in the configuration files for XFree86 Versions 3.3 and 4.0. X Fonts XFree86 is distributed with a collection of fonts for most basic purposes, including text displays in terminal windows and browsers. For many users, the default fonts are adequate, but others may prefer to add additional fonts to their system. A variety of fonts are available, both free and commercially, from many sources, such as Adobe. Some very creative fonts are created by individuals and distributed on the Internet (a search engine should return some useful links to a query such as XFree86 fonts ). XFree86 makes fonts that it finds in the font path available to client programs. A basic font path is compiled into the X server, but you can specify your own font path using the FontPath directive in the Files section of XF86Config. The simple syntax is: FontPath “path” 376 X (Topic 2.10)
Looking for affordable and reliable webhost to host and run your business application? Then look no more and go to servlet web hosting services.

Keyboard sections together. Example 2-13 contains an abbreviated (Web design programs)

December 28th, 2007

Keyboard sections together. Example 2-13 contains an abbreviated XF86Config file created using the bundled xf86cfg tool from the XFree86 project. Example 2-13: A Sample XF86Config File for XFree86 v4.0.1 Section “ServerLayout” Identifier “XFree86 Configured” Screen 0 “Screen0″ 0 0 InputDevice “Mouse0″ “CorePointer” InputDevice “Keyboard0″ “CoreKeyboard” EndSection Section “Files” EndSection Section “InputDevice” Identifier “Keyboard0″ Driver “keyboard” EndSection Section “InputDevice” Identifier “Mouse0″ Driver “mouse” Option “Protocol” “PS/2″ Option “Device” “/dev/mouse” EndSection Section “Monitor” Identifier “Monitor0″ VendorName “Monitor Vendor” ModelName “Monitor Model” HorizSync 31.5 - 64.3 VertRefresh 50.0 - 90.0 EndSection Section “Device” Identifier “Card0″ Driver “nv” VendorName “NVidia” BoardName “Riva TNT” ChipSet “RIVATNT” BusID “PCI:1:0:0″ EndSection Section “Screen” Identifier “Screen0″ Device “Card0″ Monitor “Monitor0″ DefaultDepth 24 SubSection “Display” Depth 24 EndSubSection EndSection Study Guide102 Install and Configure XFree86 375
Please visit Domain Name Hosting services for high quality webhost to host and run your jsp applications.

Example 2-12: (Web hosting reviews) A sample XF86Config File for XFree86

December 28th, 2007

Example 2-12: A sample XF86Config File for XFree86 v3.3.3 (continued) ViewPort 0 0 EndSubsection EndSection Under v3.3.3, the default location for the XF86Config file is in /etc/X11. The file contains the following sections: Files This section is used to specify the default font path and the path to the RGB database. Using the FontPath”path” directive multiple times creates a list of directories that the X server will search for fonts. The RGB database is an equivalence table of numeric red/green/blue color values with names. Here s a short excerpt of the RGB database: 255 228 196 bisque 255 218 185 peach puff 255 218 185 PeachPuff 255 222 173 navajo white Hundreds of these names are defined and may be used in the configuration of X applications where color names are required. ServerFlags This section allows customization of X server options such as the handling of hotkeys. Keyboard This section is used to specify the keyboard input device, its parameters, and default keyboard-mapping options. Pointer This section is used to define the pointing device (mouse). Monitor Multiple Monitor sections are used to define the specifications of monitors and a list of video modes they can handle. Device Multiple Device sections are used to define video hardware (cards) installed. Screen The Screen section ties together a Device with a corresponding Monitor and includes some configuration settings for them. On the Exam You don t need to memorize details about XF86Config, but it is an important file, and your familiarity with it will be tested. In particular, be aware of what each of the sections does for the X server, and remember that the Screen section ties together a Device and a Monitor. The XF86Config file format was modified slightly for XFree86 v4.0. In particular, a new ServerLayout section has been added; it ties the Screen, Pointer, and 374 X (Topic 2.10)
Please visit our professional web hosting services to find out about cheap and reliable webhost service that will surely answer all your demands.

Web design course - Example 2-12: A sample XF86Config File for XFree86

December 27th, 2007

Example 2-12: A sample XF86Config File for XFree86 v3.3.3 (continued) LeftAlt Meta RightAlt Meta ScrollLock Compose RightCtl Control XkbDisable XkbKeycodes “xfree86″ XkbTypes “default” XkbCompat “default” XkbSymbols “us(pc101)” XkbGeometry “pc” XkbRules “xfree86″ XkbModel “pc101″ XkbLayout “us” EndSection Section “Pointer” Protocol “PS/2″ Device “/dev/mouse” Emulate3Buttons Emulate3Timeout 50 EndSection Section “Monitor” Identifier “My Monitor” VendorName “Unknown” ModelName “Unknown” HorizSync 31.5 - 64.3 VertRefresh 50-90 # 1280×1024 @ 61 Hz, 64.2 kHz hsync Mode “1280×1024″ DotClock 110 Htimings 1280 1328 1512 1712 Vtimings 1024 1025 1028 1054 EndMode EndSection Section “Device” Identifier “My Video Card” VendorName “Unknown” BoardName “Unknown” VideoRam 16256 EndSection Section “Screen” Driver “svga” Device “My Video Card” Monitor “My Monitor” Subsection “Display” Depth 32 Modes “1280×1024″ Study Guide102 Install and Configure XFree86 373
We recommend you use shared web hosting services, because many users agree that it is cheap, reliable and customer-satisfying webhost.

Net web server - XF86Config contains technical details concerning the capabilities of

December 27th, 2007

XF86Config contains technical details concerning the capabilities of system hardware, which can be intimidating for some users. For this reason, automated configuration tools are available that will generate the file for you: xf86config This program is distributed with XFree86. It is a simple text-mode program that requests information about the system from the user and then writes a corresponding XF86Config file. This utility does not use information stored in an existing configuration file, so its utility is limited. (Remember that xf86config is a binary program that writes the XF86Config text file.) XF86Setup This program is distributed with XFree86. XF86Setup is a graphical program that starts a VGA X server, which should run on most PC hardware. It allows you to select the graphics chipset, monitor, mouse, and keyboard device types and writes the appropriate configuration file for you. xf86cfg This program is distributed with XFree86 v4.0. Like XF86Setup, it is a graphical tool; however, xf86cfg s interface is slightly different. Whereas other tools offer a menu-based approach, xf86cfg offers a block diagram of the system, including a monitor, video device, keyboard, and mouse. The user configures each element by manipulating its properties. When the user is happy with the configuration, the tool writes the XF86Config file. Distribution-specific tools Various Linux distributors provide their own configuration utilities. For example, Xconfigurator is distributed by Red Hat Software. It is menu-based, provides for automated probing of graphics chipsets and capabilities, and uses a list of known monitors to retrieve timing information. Example 2-12 contains an abbreviated XF86Config file created using the Red Hat Xconfigurator tool for XFree86 v3.3.3.* Example 2-12: A sample XF86Config File for XFree86 v3.3.3 # File generated by XConfigurator. Section “Files” RgbPath “/usr/X11R6/lib/X11/rgb” FontPath “unix/:-1″ EndSection Section “ServerFlags” EndSection Section “Keyboard” Protocol “Standard” AutoRepeat 500 5 * The XF86Config files shown here are examples and are not intended for use on your system. 372 X (Topic 2.10)
In case you need quality webspace to host and run your web applications, try our personal web hosting services.