O'Reilly logo

Ubuntu Unleashed 2013 Edition: Covering 12.10 and 13.04, Eighth Edition by Matthew Helmke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using a Display Manager

An X display manager presents a graphical login that requires a username and password to be entered before access is granted to the X desktop. It also enables you to choose a different desktop for your X session. Whether an X display manager is presented after you boot Linux is controlled by a runlevel—a system state entry in /etc/event.d/. The following runlevels as handled by Ubuntu are as follows:

0—Halt (Do not set initdefault to this.)

1—Multiuser text mode

2—X graphical multiuser mode

6—Reboot (Do not set initdefault to this.)

You may see mention of runlevels 3 through 5; you can ignore these because they are treated the same as runlevel 2 in Ubuntu. Historically, Ubuntu used the /etc/inittab file to handle ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required