Git Product home page Git Product logo

cdm's People

Contributors

caspervector avatar dotlambda avatar evertiro avatar fennekki avatar fyra avatar jrmcornish avatar nepherte avatar rolfmorel avatar shadowkyogre avatar tarsius avatar thelegy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cdm's Issues

dialog: command not found

CDM does not work if dialog is not installed and output is hard to catch as it just exits without error information. Please mention in the documentation that this is needed

X session not registered in systemd's logind

Currently the X session is not registered in systemd's logind, e.g. it is not listed in "loginctl list-sessions" output. I'm looking for solution, but so far I don't have a clue.
This happens only when I run X session from cdm immediately after login, when I run cdm from console login, the session is properly registered.

Proposal to merge modifications in CasperVector/cdm

Hello, I started to use CDM several months ago and was not satisfied with the code in some some aspects, so I forked golodhrim/cdm (a fork of your version), significantly changed the architecture, and sanitised the code. The main idea of the modifications have been summarised in the ChangeLog [1].

At that time I did email you and try to inform you of my fork, but dot no response, so I finally send my code back to golodhrim. Now that you have come back, would you please consider merging my modifications?

The reason I do not send a pull request is that the code has been very different from the version of yours (mainly better architecture, in my idea :), and you have merged some modifications in the old code (which would be incompatible with my modifications). Another reason is that I did some gentoo-specific modifications, however I can use some universal code if you want.

[1] https://github.com/CasperVector/cdm/blob/master/ChangeLog-0.6

cdm doesn't launch.

Hi,

I'm pretty new to Arch Linux and cdm. I'm only with the root account (test purposes). When I try to launch the command "cdm", it just resets my console and I have to log in again, nothing more happen. Is there a way to fix it?
Thanks!

cdm disrespects the XDG Base Directory Specification

The XDG Base Directory Specification states:

$XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.
(https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html)

The default is not implemented in cdm: In /src/cdm Line 68 and Line 69 $XDG_CONFIG_HOME is used without any fallback.

I guess ${XDG_CONFIG_HOME:-$HOME/.config} should be used instead to respect the specification.

Disable Cursor Blinking

It only takes one line of code and makes the display manager look about five times better, you can simply add an ANSI escape code at the beginning like this:

# DISABLE THE CURSOR BLINKING
echo -e '\033[?25l'
name=$(basename "$0")
longname='Console Display Manager'
ver='0.7'

Making an option for this in the configuration file would be even better because the way I added it is a bit out of the blue.

Domain has expired

The domain hosting both the homepage and the mainainer's email appears to have expired...

Session logged in from cdm not active in utmp

CDM proccess pid is added to utmp (logged in users file), but after CDM starts the X session and exits, the user does not appear to be logged in anymore. The conventional solution to this seems to be starting user session on the same pid using exec, but this tends to leave the initial tty vulnerable to tampering after using CTRL + C (even if the X session may be locked).

This makes "w", "who" and "users" commands not report the user and "last" shows the duration of cdm menu being displayed as session duration.

Consolekit

I was wondering why nmtui refuses to manage network under regular user, with error message like 'couldnot see user session', when i found, that launching it with 'ck-launch-session nmtui' will work fine.

Then i looked back to cdm, it is configured to use consolekit, but was arguing that it can't register X session within consolekit each time. I added 'ck-launch-session' before '/usr/bin/startkde' in cdmrc and that fixed it.

Session registers sucessfully, cdm is happy, nmtui is happy, also poweroff button became available under kde.

So i suggest to add 'ck-launch-session ...' in cdm-xlaunch script for all 'X' sessions.

Add Zenity to the mix

For adding the system Functions i.e reboot shutdown and suspend .... add Zenity to your dependencies and then use the Consolekit Zenity bash Script for these Function. That makes CDM to ROCK !!!

Doesn't let me bootup to a DE and i can't bypass it

everytime i enter my login it redirects me to the cdm but then it fails to launch a DE. Is there anyway to bypass cdm on login or close it completely? I have tried adding nomodeset on grub but i have the same issue

Default sessions from /usr/share/xsessions instead of /etc/X11/Sessions

I think it would be better to support loading of default sessions from /usr/share/xsessions instead the current /etc/X11/Sessions, which is not standardized (I think) and presumes that the user creates the scripts. Many window managers install their .desktop file under /usr/share/xsessions, so it's definitely better.

No sound, vpn problems with NM and nm-applet

Hi, awesome project, but I ran into two problem that block me from using cdm:

I use Archlinux x86_64 (systemd) with the cdm-git package (compiles latest version from here) and I have an .xinitrc file to start i3 and Enlightenment17 that works perfectly with slim.
When I try to use cdm, however, after logging into the X session I do not have sound (a closer look reveals that the ACL permissions for the sound card do not get set when logging in with a user. A workaround for that would be to add the user to the audio group, but that's against the workings of systemd).
The more pressing problem is that I cannot start a VPN connection with nm-applet when starting the X session with cdm (no problems with slim), the journal states that NetworkManger cannot find the secrets for the VPN connection (which indicates to me that there a problem with the dbus sessions).

My configuration file /etc/cdmrc varies from the default one like this:

binlist=(
'/.xinitrc i3'
'
/.xinitrc e17'
'/bin/bash --login'
)

namelist=('i3' 'e17' 'Console')

flaglist=(X X C)

consolekit=no

Idea: make ttys configurable and multiple X11 sessions possible

Currently, the example cdm hook only runs cdm on tty1. I'd like to run it on multiple terminals in order to have multiple x sessions in parallel (this would of course need another config option for disabling the check for a running X process, but that's the easy part).

The obvious problem with that feature is that if we make the ttys configurable in the config file, we need to either include the check in cdm itself, which is bad in case of crashes, or read the config file in the cdm hook, which is bad because of code duplication.

My first idea was to make the cdm script sourceable and executable[1]. We could then source the script from the hook and use its functions to read the tty configuration, but the problem with crashes would persist.

Do you have another idea how to achieve selecting ttys via configuration? I am volunteering for implementing it.

[1] https://www.linuxquestions.org/questions/programming-9/detect-bash-script-source-vs-direct-execution-685193/

Problem with starting a desktop session

First of all CDM is Great!
But it can't start a desktop competently. For Example the ICEWM has some components like startup file which should be executed at login but CDM doesn't handle it and ICEWM will start with no startup program.
So look in to it!!!

CDM and .ecyptfs

I am using cdm-git from AUR under archlinux.

When logging in with CDM to my window manager (notion, enlightenment or xfce4), after around 10 seconds I lose access to my home directory.

I suspect this is linked to my encryption setup with ecryptfs: My home directory will be decrypted upon login. When I log into tty2 and then log into tty1 to trigger a CDM login, everything works fine. If I know log out of tty2, after around 10 seconds I lose access to my home again.

Is there any quick fix for this? Locking the tty1 login would be possible?

Release/tag

Could you create a release please? Installing from git repo is not so convenient.

Accidentally restarted early, now I cannot log in at all.

Whenever I log in, I get a CDM error about no programs being found in the config file. Thank god this is a VM or I would've cucked my entire PC lmao. Funnily enough I only installed this because I misremembered the name of ly

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.