Commit Graph

27 Commits

Author SHA1 Message Date
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
7389ea56c2 Single line 2020-03-01 20:09:53 +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
44783414a5 Added some missing packages and small fixes 2019-06-16 22:01:08 +02:00
Héctor Molinero Fernández
97f710716f First commit 2019-06-16 11:17:51 +02:00