[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#649418: ITP: cdm -- login manager for the console



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/21/2011 05:11 AM, martin f krafft wrote:
> also sprach Corey Richardson <kb1pkl@aim.com> [2011.11.20.2056 +0100]:
>> The Console Display Manager is a lightweight though full-featured login
>> manager supporting multiple X sessions, themes, and more.
> 
> That's not a whole lot of information. Why is it called "console
> DM?"

It is a bash script that uses the dialog program to present options for
what session to start or to logout/shutdown/hibernate/sleep (if those
options are set in the config file. Uses sudo with pm-utils).

> How does it work? 

It's a fairly simple script that figures out which TTY is free to run an
X session in, starts the consolekit session, and then runs the window
manager (using an xinitrc that is passed the name of the wm binary to
execute as $1). It can present different WMs/DEs on a per-user basis and
also have the ability to shutdown etc. It traps SIGINT and SIGSTOP so
you can't drop to a shell without permission to do so. It will also
close the TTY that you logged in on if an X session is started so others
can use it (providing a simple means of hotseat, if its combined with
something like xscreensaver or slock) and so others can't ^C your X session.

> What's a "theme" in this context?

A theme is the colors the dialog uses. It's simple, but it allows for
some customization.

> Why would you want to start X sessions from a console DM?

I find it convenient, as it starts up faster than gdm or slim or
lightdm, although it is less featureful. I really don't need much of a
login manager but I do have the need to have multiple X sessions at once
with a few different WMs and DEs. CDM gives me a nice interface over
that so I don't need to pick the display to use myself or make sure
there are enough PTYs available to start them all.

Apologies for the crappy description. This is my first foray into debian
packaging.

- -- 
Corey Richardson
"Those who deny freedom to others, deserve it not for themselves"
	-- Abraham Lincoln
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOyrvFAAoJEHFIpB1LHrF+TGoH/0Qk5uh3ywinIlDFr1MX1APa
gIeEbcIvs2GRHCHwRzs0omCgpFQcOh1am3wQEf85VCfhfDIUnbzi+XCQIQTciEGk
R5v34bJXSTgb3JLiJcTggvFkzDfyrU4xwMTSjRXqgi+lgIH59yYY/r3tvZuUI68a
SBP+T/atj71MqraVJmCDBvsMRmKKzQJ29OPQSpAHhpjSmS5UMmzCmSF840XrqLdc
GtUIi4iLqgLRGEn5BGCwN4I1QnaIQR0OV0c3O1OvKMqltbsQ2mEHVDmWv0slHsYW
z4NI0PG6sxtAVFbvx3c0ifH0413oQ4BfTzFB1HzEeuWyKLR24dPUyBWAtA3cOZY=
=oRHn
-----END PGP SIGNATURE-----



Reply to: