Difference between revisions of "CDM"

From ArchWiki
Jump to: navigation, search
(Added section "More resources" with a couple of links)
(More resources)
Line 53: Line 53:
  
 
==More resources==
 
==More resources==
 +
[http://cdm.ghost1227.com Homepage (Standard)] / [http://cdm.ghost1227.com/X11 Homepage (Graphic)]
 +
 
[http://bbs.archlinux.org/viewtopic.php?id=84408 The Console Display Manager] - Archlinux Forums thread about CDM
 
[http://bbs.archlinux.org/viewtopic.php?id=84408 The Console Display Manager] - Archlinux Forums thread about CDM
  
 
[http://aur.archlinux.org/packages.php?ID=31879 Aur package]
 
[http://aur.archlinux.org/packages.php?ID=31879 Aur package]

Revision as of 21:34, 10 March 2010

CDM is a minimalistic, yet full-featured replacement for login-managers like slim, kdm, gdm and qingy that provides a fast, dialog-based login system without the overhead of the X Window System or the instability of qingy. Written in pure bash, CDM has no other dependencies, yet supports multiple users/sessions and can start virtually any DE/WM.

A package is available in the AUR.

Configuration

You can configure CDM by editing Template:Filename. It is fully documented and should be relatively easy to figure out.


At least these should be edited before you start using CDM:

wmbinlist=(awesome openbox-session startkde startxfce4 gnome-session)

wmdisplist=(Awesome Openbox KDE Xfce Gnome)

Add whatever WM/DE you have.


/etc/inittab or /etc/rc.conf

After installing CDM and configuring it to your liking, you should edit Template:Filename or Template:Filename to make sure no other display managers get started.

#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null

They should all be commented.

DAEMONS=(... !gdm)

gdm (or kdm, or xdm, ...) should be disabled or removed from your DAEMONS array.

Starting X

Login to the console and select your prefered session (or console, if allowed) from the menu.

Additional users may be logged in by switching to tty1 (ctrl+alt+f1). If the user is already logged in, CDM will automatically activate their pre-existing session.

Own commands

Note: CDM now has an option to enable built-in shutdown support, however, this section is left as a general reference.

If you want to add entries like shutdown which needs parameters you have to save the command in an executable script and add the script with full path to the wmbinlist array. E.g. shutdown:

  • /script/shutdown
#!/bin/bash

shutdown -h now
  • /etc/cdmrc
wmbinlist=( ... /script/shutdown ... )

More resources

Homepage (Standard) / Homepage (Graphic)

The Console Display Manager - Archlinux Forums thread about CDM

Aur package