You are not logged in.
i would like try it.
Offline
Hi!
I've added some info to CDM's wiki page -- is it all correct? I just started using CDM so it would be nice if someone with more experience confirmed the accuracy of my additions.
http://wiki.archlinux.org/index.php?tit … ldid=86252
Thanks.
Offline
Looks good! I also updated the wiki page with the links to both CDM websites. BTW, for those of you who have noticed the annoying "100%" displayed on the CDM menu, this is a known bug with the most recent release of dialog and will be fixed in the upcoming update.
Offline
the whole editing inittab and rc.conf bit is quite confusing.
sometimes less is more, and anyway, is it a requirement that no display manager start up? what would happen if gdm starts and a user switches to vt1 and logs in?
Offline
the whole editing inittab and rc.conf bit is quite confusing.
sometimes less is more, and anyway, is it a requirement that no display manager start up? what would happen if gdm starts and a user switches to vt1 and logs in?
I haven't actually tried to have GDM and CDM both start. It just seems logical if you have two programs doing more or less the same thing, only one should be allowed to run.
Offline
I'm having problems with the console option, whenever I choose it the screen blanks out and I get thrown back to cdm's window manager list. This problem exists on both my computers, with both the stable release and the latest git.
My cdmrc: http://pastebin.com/qMj8mCBc (identical on both computers)
Offline
@snakebite, your cdmrc is basically the same as mine, except for different themes, a different xtty value, and I don't use the userconfig setting. You could try changing the value in your userconfig array to snakebite_disabled temporarily, just to eliminate that a possible source of error.
To be explicit: I'm able to drop from cdm into a console just fine.
I expect that your troubles are coming from someplace else than the cdmrc file. Perhaps in another cdm file (I've hacked on my install in very modest ways, but I don't have a squeaky clean install of cdm, so possibly some difference there matters). Or possibly in another file you have installed, for example in your ~/.bashrc or your /etc/profile or something like that. If there is an issue, it may not manifest itself except in the Linux console. So I'm afraid the basic message is: you're going to have to do more experimentation and troubleshooting to try to find the source of your problem. Just some miscellaneous ideas: disable all of your ~/.whatever files, for example make a new user and try cdm with that. Problem still there? Disable cdm and login at a Linux console. Problem gone? Fiddle with your cdm settings: can you find any settings that have to be set in a particular way to make the problem show up? And so on.
Offline
Offline
Or possibly in another file you have installed, for example in your ~/.bashrc or your /etc/profile or something like that. If there is an issue, it may not manifest itself except in the Linux console.
Thanks for the tip. I had put "source /etc/profile" in my .bashrc for autojump to work. Changed it to
if [ "$TERM" != "linux" ]; then
source /etc/profile
fi
and logging in to the console from cdm works perfectly now.
Offline
I didn't understand if with with display manager I can set autologin for a specific user.
Offline
Offline
Hello, Ghost1227! Your CDM idea is just great! And http://cdm.ghost1227.com/ is the best site i`ve ever visited! But! I have some problem with CDM: I use Fedora 13, starting it with "init 3" option and login it TTY. I started X by startx and got Gnome. I installed E17 parallel to Gnome and decided to boot it from console, so your idea with CDM fits perfectly. So I installed CDM 0.5.2 and tried to start - nothing happens! I`m trying to login in TTY but it throws me back to login... I set "init 5" and loaded gdm & Gnome having no problems... But I still wish to use CDM instead gdm... What might be wrong with my TTY login? Do I have to enable login shell (I have default "loginshell=no" in cdmrc)
Last edited by toneymoon (2010-06-08 10:13:16)
Offline
I don't know fedora, so I can't make any promises, but CDM places a handler script in /etc/profile.d that actually launches the program. Some distros (notably debian) don't use /etc/profile.d, so CDM is never launched. If fedora doesn't use /etc/profile.d, you'll have to find an equivalent directory in which to put the zzz-cdm-profile.sh file. The loginshell option has no effect on starting CDM, rather it forces CDM to use an actual login shell.
Offline
I use cdm for few weeks already and I'm completely satisfied. Today i logged in as root to do some config changes and avoid sudo writing. But i logged in directly to console. Its a bug? Or it should be like that?
Last edited by tlamer (2010-06-09 19:07:56)
:wq
Offline
I use cdm for few weeks already and I'm completely satisfied. Today i logged in as root to do some config changes and avoid sudo writing. But i logged in directly to console. Its a bug? Or it should be like that?
bug or not, it's that way by design; the thinking here is that you shouldn't use X as root, many applications even have problems with that;
if this is not what you want, you can remove lines 3 to 5 from here: /etc/profile.d/zzz-cdm-profile.sh
Offline
@gajo Thanks for answer. I just wanted to know if its right like that. And you even explained why it is like that. I dont really need to login as root and use X. Actually theres no need to login as root at all for me. I just do it when i want to do more changes to avoid sudo writing.
:wq
Offline
This looks interesting and I'd like to try it, but the Wiki page on CDM is very confusing. It has instructions for DISABLING all other login managers in rc.conf and inittab, but absolutely nothing on how to enable CDM. Can someone please explain how CDM is supposed to be started at boot?
Offline
It is the way it is. You do not need to put cdm esplicitely (think I wrote that wrong) in your inittab. cdm autoloads when you choose init 5 and disable all other DMs. This is really kind of strange, but it is that way.
PS: Sorry for my especially bad english. I have been writing better than that.
I'm also known as zmv on IRC.
Offline
It would be great if CDM implemented an optional "default choice", accompanied by a countdown to proceed with the latter, analogous to e. g. what grub does. (edit: A countdown would be enough, i. e. the first WM in the list would be chosen.)
Last edited by misc (2010-09-07 21:41:17)
Offline
I have read the whole post, and haven't found the solution to my problem.
Actually I use Openbox and awesome, but I don't know where i can add the lines
ck-launch-session dbus-launch openbox-session
ck-launch-session dbus-launch awesome
if I enable the option usexinit, well then only the uncommented WM will start X
Offline
This looks interesting and I'd like to try it, but the Wiki page on CDM is very confusing. It has instructions for DISABLING all other login managers in rc.conf and inittab, but absolutely nothing on how to enable CDM. Can someone please explain how CDM is supposed to be started at boot?
CDM loads from /etc/profile.d/zzz-cdm when you log in from a tty.
I have read the whole post, and haven't found the solution to my problem.
Actually I use Openbox and awesome, but I don't know where i can add the linesck-launch-session dbus-launch openbox-session
ck-launch-session dbus-launch awesome
if I enable the option usexinit, well then only the uncommented WM will start X
In your ~/.xinitrc, put something like:
if [ -z $1 ]; then
WM="openbox-session"
else
WM=$1
fi
exec ck-launch-session dbus-launch $WM
and in /etc/cdmrc:
consolekit=no
usexinit=yes
Offline
Today's update to 0.5.2-2 leveled my /usr/share/cdm/xinitrc, of whose new version I had not yet made a backup. Took a few minutes to restore – maybe the next update could look out for this?
Last edited by misc (2010-07-18 19:19:41)
Offline
Can anyone post/redirect me to the 0.5.2-2 changelog? Thanks in advance.
I'm also known as zmv on IRC.
Offline
I'm having a minor issue with CDM, Openbox and Xcompmgr. I have "xcompmgr -c -C -f -D3 -F -o0" in my autostart.sh, which fails to work when logged in via CDM. Any ideas?
/etc/crmrc:
theme=cdm
countfrom=1
wmbinlist=(openbox-session startkde gnome-session)
wmdisplist=(Openbox KDE Gnome)
allowconsole=yes
allowshutdown=yes
shutdowncommand='sudo shutdown -h now'
rebootcommand='sudo shutdown -r now'
allowsuspend=yes
suspendcommand='sudo pm-suspend'
userconfig=(catherine)
catherine() {
theme=cdm
wmbinlist=(startdke gnome-session)
wmdisplist=(KDE Gnome)
allowconsole=yes
allowshutdown=yes
}
display=0
xtty=7
locktty=no
loginshell=no
consolekit=yes
usexinit=yes
serverargs="-nolisten tcp -dpi 96"
.xinitrc:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#from CDM
WM="$1"
xset m 1.1 15
case $WM in
kde )
exec startkde
;;
gnome-session )
exec dbus-launch --exit-with-session ck-launch-session gnome-session
;;
* )
exec dbus-launch --exit-with-session ck-launch-session openbox-session
;;
esac
Offline
Hi, i have new notebook since yesterday... im installing and configuring arch.. i wanted to compile cdm from AUR but makepkg couldnt connect to site with sources... than i realized that cdm.ghost1227.com doesnt work... Can anyone help me with sources? Or should i wait for the site working?
thanks
:wq
Offline