Red Hat Linux 7 Unleashed

Red Hat Linux 7 Unleashed

By William Ball

Using xdm

The xdm, X display manager, is an X client and one of three display managers included with Red Hat Linux that you can use to provide a small level of security by requiring a username and password before starting your X session. Note that if you need the security, you should enable the DontZap option in your XF86Config file. You can also disable the ability to use Ctrl+Alt+Del in order to foil rebooting the computer, and limit the number of virtual consoles available for Linux by editing /etc/inittab. You can use xdm to log in to Linux and directly to an X session, either locally or using a remote computer. However, if you choose to not use a display manager or boot directly to X, you can try xdm from the command line as the root operator by using the -nodaemon option:

				
   # xdm -nodaemon
			

The display clears and you'll see an xdm login display. You can then log in to X or use Ctrl+Alt+F1.

Red Hat Linux uses the xsri client to display the Red Hat logo in the gdm, kdm, and xdm login screens. To customize your login display, edit the file Xsetup_0 under the /usr/X11R6/lib/X11/xdm directory and edit these lines:

/usr/bin/xsri -geometry +5+5 -avoid 300x250 -keep-aspect         /usr/share/pixmaps/redhat/redhat-transparent.png

Any small graphic named XFree86.xpm in the /etc/X11/xdm/pixmaps directory will be used inside your xdm login dialog.

After you have a working XF86Config, you may want to start Linux directly to X. To do this, change the default init entry in your system's initialization table file (/etc/ inittab). Look for this line:

id:3:initdefault

Change it to this line:

id: 5:initdefault

After you make this change, restart your system by using this shutdown command:

				
   # shutdown -r now
			

Share ThisShare This

Informit Network