ok, i installed the fork after removing cdm that i had installed, copied my old cdmrc over and now when i log in it just throws me back to login again.
Remove it with all config files -Rnsc flags.. Login to your shell execute bash -x cdm, try to spawn wm, maybe we can see something.. Post your cdmrc here.
]]>For anyone else struggling with this issue, just install cdm-git but when asked if you want to modify the PKGBUILD select yes and replace the entire PKGBUILD with the following:
# Fork Creator: markoer
# Original Maintainer: Jakub Klinkovský <kuba.klinkovsky@gmail.com>
# Original Contributor: Adlai Chandrasekhar <munchking@gmail.com>
# Original Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Original Contributor: Mark Foxwell <fastfret79@archlinux.org.uk>
pkgname=cdm-git
_pkgname="cdm"
pkgver=0.7
pkgrel=1
pkgdesc="The Console Display Manager"
arch=('any')
url="https://github.com/pale3/cdm.git"
license=('GPL')
makedepends=('git')
depends=('dialog' 'xorg-xinit' 'xorg-xdpyinfo' 'kbd')
provides=('cdm')
conflicts=('cdm')
backup=('etc/cdmrc')
source=('git://github.com/pale3/cdm.git')
md5sums=('SKIP')
epoch=1
pkgver() {
cd "$_pkgname"
git log -1 --format=format:%cd --date=short | sed 's|-|.|g'
}
package() {
install -d ${pkgdir}/{usr/{bin,share/{doc/cdm,cdm/themes}},etc/profile.d}
cd "$srcdir/$_pkgname"
install -Dm644 -T README.md "$pkgdir/usr/share/doc/cdm/README"
install -Dm644 -t "$pkgdir/usr/share/cdm/themes" themes/*
cd "$srcdir/$_pkgname/src"
install -Dm644 -t "$pkgdir/etc" cdmrc
install -Dm755 -T profile.sh "$pkgdir/etc/profile.d/zzz-cdm.sh"
}
# vim:set ts=2 sw=2 et:
Once you have replaced the PKGBUILD text with the above code, save the file and then continue building and installing the package normally. I use yaourt to install AUR packages, but this process should work similarly with any AUR helper or manual pkgbuild.
Thanks again markoer!!
]]>jordan313 wrote:
having this issue as well.
You can try my fork it should work fine.
I removed useless parts of code and added some other modifications, you can read more in Changelogs or git diff <revision>..HEAD
https://github.com/pale3/cdm.git
EDIT:
You can use same PKGBUILD from cdm-git, just remove cdm-xlaunch entries, and replace url and source url with one provided above
I am having a similar issue with CDM - if I use it to launch a command line program it functions great but if I try to launch open box, i3, or awesome I get kicked back to the login prompt, and logging in again just relaunches CDM. Can somebody explain how you guys fixed this issue in more detail? Thank you.
having this issue as well.
]]>It works great until I hit Enter. When the script reaches the "setsid startx" line in cdm-xlaunch, it just gets me back to the initial tty login screen, as if I had just booted. Nothing gets written to the $startxlog file, and nothing relevant appears in journalctl.
As CDM does not use a systemd service you won't see any log with journalctl either.
Nevertheless, what @greenmanspirit has proposed worked for me:
I have determined the problem, if I leave consolekit=yes, it works but since I don't have consolekit installed, cdm ends up timing out on its connection.
It works great until I hit Enter. When the script reaches the "setsid startx" line in cdm-xlaunch, it just gets me back to the initial tty login screen, as if I had just booted. Nothing gets written to the $startxlog file, and nothing relevant appears in journalctl.
Also, I don't have a ~/.xsession file, I don't even have any wm installed (until I make up my mind about awesome vs. i3 hehe). I have replaced '~/.xsession' by '/etc/X11/xinit/xinitrc', which defaults to twm. If I run a plain `startx` from inside bash, twm shows up and works fine. (By the way, if I remove the whole "setsid startx" line and replace it by a plain "startx", it works)
Any ideas? What am I losing by replacing "setsid startx ... &" by "startx" ?
]]>Weird, cdm simply doesn't show up automatically if my default login shell (which you can set by using chsh) is set to fish..
If I login and execute cdm, everything works. If I set my default shell to bash, cdm starts automatically.Any ideas/workarounds? Is this a {fish, bash, cdm}-bug?
This is way after the fact but since I didn't see an answer, I fixed this by adding
sh /etc/profile.d/zzz-cdm.sh
to /etc/fish/config.fish as the last line in the "if status --is-login" block.
]]>I am trying to use cdm and i3. When I log in, regardless of what settings I have tried, and select i3. It immediately goes back to a login prompt. I get no output, I see nothing in the logs. However, when I do the cdm-xlauch command directly (I had cdm write it out to a file) it works perfectly. I don't have everything installed on the new machine yet so I don't have the config files to show. Please let me know what else would help and I will get the system the rest of the way installed.
I have determined the problem, if I leave consolekit=yes, it works but since I don't have consolekit installed, cdm ends up timing out on its connection. I am going to look into it further and see if I can strip out the consolekit code.
]]>Does this happen only right after bootup when e4rat is preloading files, or also when you wait some time (e.g. several minutes) for e4rat to finish preloading?
If I am waiting e4rat to finish then i can enter wm normaly anything else returns me back to shell. Just to mention once more this only happens with e4rat-preload-lite.
Btw. systemd has native preloading capabilities (read 'systemd-readahead' man-page) - isn't it enough? Also make sure it doesn't conflict with e4rat.
AFAIK those two use different approach. Systemd collect boot and user input aka desktop of everything what is started and based on that create profile, also it need's time eventualy days to see real difference. At least this is story from few month ago when i trayed it. e4rat preload explicitly what i want and is desktop oriented, also there is no auto guessing daemon as readahead have. IMHO I think user best know what is important for him to preload and whats irrelevant. Right now I am not willing to try readahead again as I am completly satisfied with e4rat, but thx.
]]>