46 Commits

Author SHA1 Message Date
Héctor Molinero Fernández
933f557a3e Disable glx module if /dev/dri/ does not exist 2025-06-21 13:49:35 +02:00
Héctor Molinero Fernández
558f1ec368 Fix service enabling conditions for xrdp bootstrap and headless X server 2025-06-21 12:43:03 +02:00
Héctor Molinero Fernández
4f81948637 Clean up /run/ at startup and move the directory creation logic to each service 2024-07-22 17:27:13 +02:00
Héctor Molinero Fernández
649bc33cb7 Update base image to Ubuntu 24.04 2024-05-28 19:36:22 +02:00
Héctor Molinero Fernández
fe0f37139f Add a service to initialise the user session and rename the xdummy service 2023-04-27 21:05:09 +02:00
Héctor Molinero Fernández
ac49f16646 Set permissions only on files copied from /etc/skel/ 2023-03-03 18:56:40 +01:00
Héctor Molinero Fernández
903196d0d7 Copy /etc/skell/ if .profile file does not exist 2023-03-01 23:02:19 +01:00
Héctor Molinero Fernández
9ddf1cdec5 Refactor startup to not require files in /etc/skel/ 2023-03-01 22:47:33 +01:00
Héctor Molinero Fernández
d853165aed Update VirtualGL to v3.0.2 2022-10-23 12:55:33 +02:00
Héctor Molinero Fernández
614643dd01 Switch from tini to catatonit 2022-08-19 15:00:22 +02:00
Héctor Molinero Fernández
63d836a4da Reordered some tasks in the init script 2022-01-16 02:05:05 +01:00
Héctor Molinero Fernández
a2a7ddc95f Create "/run/sshd/" directory in the init script 2022-01-16 01:34:25 +01:00
Héctor Molinero Fernández
b593eb1385 The creation of the RANDFILE file is not really necessary 2022-01-16 01:33:19 +01:00
Héctor Molinero Fernández
4220106bf2 Quoted some variables 2021-12-30 11:51:07 +01:00
Héctor Molinero Fernández
056d2d9088 Switch to 256-bit ECDSA RDP key 2021-06-01 21:40:09 +02:00
Héctor Molinero Fernández
7c6cdc6f3f Avoid exporting variables with secrets 2021-06-01 20:58:07 +02:00
Héctor Molinero Fernández
e29c3797c8 Print RDP certificate fingerprint 2021-06-01 20:57:20 +02:00
Héctor Molinero Fernández
a9e5abf3b1 Generate RDP certificate with Subject Alternative Name (SAN) 2021-06-01 20:53:16 +02:00
Héctor Molinero Fernández
d3e67be89a Do not make critical the deletion of temporary files 2021-06-01 20:47:25 +02:00
Héctor Molinero Fernández
608981cd13 Try to use the VirtualGL's EGL backend 2021-05-09 17:14:06 +02:00
Héctor Molinero Fernández
d6e0235724 Add GPU devices groups to additional groups 2021-05-05 00:12:40 +02:00
Héctor Molinero Fernández
5d4abe1caf Empty "/tmp/" directory at init 2020-10-14 20:32:44 +02:00
Thai Pangsakulyanont
8123a21f3e Clean up /tmp in container-init
I ran into a problem where the container does not start after 10 startups.

The reason for this is `/tmp/.X10-lock` file are not deleted when running `docker stop`.
On next `docker-start`, `/tmp/.X11-lock` is allocated instead.
This keeps going until `/tmp/.X19-lock` and from that it gives up.

Another workaround is to use `--tmpfs` in `docker run`.
But not all users always use it.
2020-10-14 01:35:09 +07:00
Héctor Molinero Fernández
cce078e0da Dump variables to /etc/environment 2020-04-28 01:44:13 +02:00
Héctor Molinero Fernández
6f662338ba Updated PATH 2020-04-26 13:54:02 +02:00
Héctor Molinero Fernández
33d4ba057a Check if /dev/urandom exists 2020-03-07 12:37:44 +01:00
Héctor Molinero Fernández
a69eb10dde Delete user password if UNPRIVILEGED_USER_PASSWORD is empty 2020-03-07 12:33:51 +01:00
Héctor Molinero Fernández
74aaf70835 Updated comment 2020-03-07 12:27:22 +01:00
Héctor Molinero Fernández
859a3ab28a Reuse XRDP's X server for VirtualGL 2020-03-06 20:01:07 +01:00
Héctor Molinero Fernández
1aa3e47232 Added missing semicolons 2020-03-01 17:43:44 +01:00
Héctor Molinero Fernández
8a3b2625e2 Remove pidfile on service 2020-03-01 17:40:13 +01:00
Héctor Molinero Fernández
c38d79edc1 container-foreground-cmd -> container-init 2020-03-01 16:16:48 +01:00
Héctor Molinero Fernández
7cf3f7a1f9 Always run sshd 2020-03-01 16:13:40 +01:00
Héctor Molinero Fernández
a42b192cce Remove dbus pidfile at startup 2019-12-15 20:59:50 +01:00
Héctor Molinero Fernández
de7426030a Do not create user and group if they already exist 2019-12-14 18:56:14 +01:00
Héctor Molinero Fernández
b9b2999225 Create additional groups dynamically 2019-12-14 18:12:58 +01:00
Héctor Molinero Fernández
7f737322b0 Updated xorgxrdp to v0.2.12 and enabled glamor for hardware acceleration without VirtualGL 2019-12-12 16:19:01 +01:00
Héctor Molinero Fernández
92da9e1612 Updated sshd config 2019-10-13 13:13:58 +02:00
Héctor Molinero Fernández
357e5c5c9b Improvements to the build system imported from other projects 2019-09-02 21:52:36 +02:00
Héctor Molinero Fernández
07570c4d9d Added TurboVNC 2019-07-31 16:05:45 +02:00
Héctor Molinero Fernández
17c73fe546 Regenerate SSH keys 2019-07-20 17:20:22 +02:00
Héctor Molinero Fernández
27b0db526c Create RANDFILE if it does not exist 2019-07-10 18:43:35 +02:00
Héctor Molinero Fernández
13687b9dfb Small corrections when exporting environment variables 2019-07-10 18:43:20 +02:00
Héctor Molinero Fernández
876508cd9c Dynamically create unprivileged user 2019-07-07 20:01:51 +02:00
Héctor Molinero Fernández
3838c5a0b2 Copy /etc/skel/ to guest user home if empty 2019-06-19 20:43:24 +02:00
Héctor Molinero Fernández
97f710716f First commit 2019-06-16 11:17:51 +02:00