~goorzhel/radm

ref: 0.2.0 radm/README.md -rw-r--r-- 1.9 KiB
13ee578a — Antonio Gurgel 0.2.0 6 months ago

#Rust Terminal Display Manager

rstdm (RuSt Terminal Display Manager) is a console-based display manager.

Void 5.15.34_1 (laptop) (tty7)

              __      __
   __________/ /_____/ /___ ___
  / ___/ ___/ __/ __  / __ `__ \
 / /  (__  ) /_/ /_/ / / / / / /
/_/  /____/\__/\__,_/_/ /_/ /_/

laptop login: ag
Password:

 0. Hikari          Stacking compositor with tiling capabilities
 1. Sway            An i3-compatible Wayland compositor
Desktop choice [1]:

#Installation

sudo make install
# or
sudo make install-with-runit
# and/or
sudo make install-with-rsyslogd

#Configuration

rstdm should, in most cases, work with no configuration. For those other cases:

❯ rstdm -h
rstdm
A console-based display manager.

USAGE:
    rstdm [OPTIONS]

OPTIONS:
    -d, --no-dbus                 Avoid using `dbus-run-session` to start the desktop
    -f, --focus-on-start <TTY>    Focus the given TTY when rstdm starts
    -h, --help                    Print help information
    -s, --session-dirs <PATH>     Include this folder when searching for sessions (can be used more
                                  than once)
    -v, --verbose                 Enable DEBUG-level logging (twice for TRACE)

#Prior art

#Dependencies

rstdm is being built for a very specific use case, but with room to expand. General requirements follow:

#Building

The pam crate requires these to be installed:

  • clang
  • pam-devel

#To-do

  • .dmrc support
  • Autologin
    • PAM configuration
  • utmp
  • Log to file when !syslog
  • More unit tests