You are not logged in.

#1 2012-11-17 19:58:15

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

How to setup CDM (Console Display Manager)

Hi there,

I installed CDM and to check if this is working I installed 3 WM, fluxbox (my default), compiz, awesome.

Now, after logging into console, when I run "cdm /etc/cdmrc", it throws a black screen and then returns back to console. I believe there is something wrong with my cdmrc. Please suggest.

Here is my cdmrc:


#!/bin/bash
#
# Example config file for cdm(1).
# Values set here is the default as in cdm(1).

# List of programs, commands with whitespaces should be quoted or escaped.
# If unset, all sessions in /etc/X11/Sessions are offered as choices.
#
# (An example:)
# binlist=(
#   '~/.xsession'                    # Launch your X session,
#   '/bin/bash --login'              # or just execute your shell,
#   '/usr/bin/fbterm'                # or start a frame buffer console,
#   '/usr/bin/cdm ~/.submenu.cdmrc'  # or go to a submenu :)
# )
binlist=("~/.xsession")

# List all program display names, one-by-one matched with $binlist.
# Names with whitespaces should be quoted or escaped.
#
# (Continued example:)
# namelist=('X session' Console FBTerm 'Sub menu')
namelist=("X session")

# Type of the programs, one-by-one matched with $binlist.
# `C' for *C*onsole programs, which would be `exec'ed.
# `X' for *X* programs, which would be run with cdm-xlaunch(1).
#
# (Continued example:)
# flaglist=(X C C C)
flaglist=(X)

# Style for the cdm dialog, which is printed with dialog(1).
# Default to unset, causing dialog(1) to use the system wide default.
# See /usr/share/doc/cdm/themes for some nice choices.
dialogrc="default"

# Index of the first item in the menu.
countfrom=0

# Set default display.
display=0

# Where should the first X tty be spawned?
# special value `keep' causes to run X in current tty.
xtty="keep"

# Should cdm(1) stick to the specified display?
locktty=no

# Use ConsoleKit for X session?
consolekit=no

# Timeout for waiting for X session to register with ConsoleKit.
cktimeout=30

# Additional arguments to pass to X server, which is usually called as:
#   /usr/bin/X :$display "${serverargs[@]}" vt$((xtty+display))
# Arguments with whitespaces should be quoted or escaped.
serverargs=(-nolisten tcp)

Offline

#2 2012-11-17 21:43:19

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,121

Re: How to setup CDM (Console Display Manager)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#3 2012-11-17 21:49:03

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Re: How to setup CDM (Console Display Manager)

bgc1954 wrote:

Based on that I formatted my cdmrc.

If I put xinitrc in binlist, it would start fluxbox as xinitrc has fluxbox in it.

binlist=("~/.xinitrc")

How to get option to start other window managers?

Offline

#4 2012-11-17 21:59:33

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,121

Re: How to setup CDM (Console Display Manager)

Have you actually read the cdm wiki page?  I don't use cdm but the wiki looks straightforwared enough.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#5 2012-11-17 22:05:03

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Re: How to setup CDM (Console Display Manager)

bgc1954 wrote:

Have you actually read the cdm wiki page?  I don't use cdm but the wiki looks straightforwared enough.


Yes, I did.  The wiki, https://wiki.archlinux.org/index.php/CDM is asking to edit cdmrc as was recommended in the previous thread.

To be frank, I could not understand what it means by "If you use systemd, see Systemd#Power_Management."

https://wiki.archlinux.org/index.php/Sy … management

I don't see  anything there.

Offline

Board footer

Powered by FluxBB