chiark / gitweb /
console: add user console daemon
authorDavid Herrmann <dh.herrmann@gmail.com>
Fri, 3 Oct 2014 13:58:44 +0000 (15:58 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Fri, 3 Oct 2014 14:07:14 +0000 (16:07 +0200)
commitce7b9f50c3fadbad22feeb28e4429ad9bee02bcc
treeb5f12ae9987b4f0ad0170fe9d2675f9c78d97c0b
parent48fed5c55b5183e6d44702dfdccd3b5325d8689c
console: add user console daemon

This adds a first draft of systemd-consoled. This is still missing a lot
of features and does some rather primitive rendering. However, it shows
the direction this code is going and serves as basis for further testing.

The systemd-consoled binary should be run as `systemd --user' unit. It
automatically picks up any session marked as Desktop=SYSTEMD-CONSOLE.
Therefore, you can use any login-manager you want (ranging from /bin/login
to gdm) to create sessions for systemd-consoled. However, the sessions
managers must be prepared to set the Desktop= variable properly.

The user-session is called `systemd-console', only the daemon providing
the terminal environment is called `systemd-consoled' (mind the 'd').

So far, only a single terminal session is provided on each opened
user-session. However, we support multiple user-sessions (even across
multiple seats) just fine. In the future, the workspace logic will get
extended so you can have multiple terminal sessions in a single
user-session for easier access.

Note that this is still experimental! Instructions on how to run it will
follow shortly.
.gitignore
Makefile.am
src/console/Makefile [new symlink]
src/console/consoled-display.c [new file with mode: 0644]
src/console/consoled-manager.c [new file with mode: 0644]
src/console/consoled-session.c [new file with mode: 0644]
src/console/consoled-terminal.c [new file with mode: 0644]
src/console/consoled-workspace.c [new file with mode: 0644]
src/console/consoled.c [new file with mode: 0644]
src/console/consoled.h [new file with mode: 0644]