Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Commit

Permalink
Replace autologin with loginctl enable-linger
Browse files Browse the repository at this point in the history
  • Loading branch information
amezin committed Aug 16, 2023
1 parent 152e3fe commit 8590d90
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions archlinux.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ RUN systemctl enable xvfb@:99.service && \
systemctl set-default multi-user.target && \
systemctl mask systemd-oomd low-memory-monitor rtkit-daemon udisks2 && \
useradd -m -U -G users,adm gnomeshell && \
mkdir -p /var/lib/systemd/linger && \
touch /var/lib/systemd/linger/gnomeshell && \
systemd-machine-id-setup

# dbus port
Expand Down

This file was deleted.

4 changes: 3 additions & 1 deletion debian.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ COPY common debian /
RUN systemctl enable xvfb@:99.service && \
systemctl set-default multi-user.target && \
systemctl mask systemd-oomd low-memory-monitor rtkit-daemon udisks2 && \
useradd -m -U -G users,adm gnomeshell
useradd -m -U -G users,adm gnomeshell && \
mkdir -p /var/lib/systemd/linger && \
touch /var/lib/systemd/linger/gnomeshell

# dbus port
EXPOSE 1234
Expand Down
4 changes: 3 additions & 1 deletion fedora.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ RUN systemctl enable xvfb@:99.service && \
systemctl --global enable dbus-daemon && \
systemctl mask systemd-oomd low-memory-monitor rtkit-daemon udisks2 && \
systemctl --global mask org.gnome.SettingsDaemon.Subscription && \
adduser -m -U -G users,adm gnomeshell
adduser -m -U -G users,adm gnomeshell && \
mkdir -p /var/lib/systemd/linger && \
touch /var/lib/systemd/linger/gnomeshell

# dbus port
EXPOSE 1234
Expand Down

0 comments on commit 8590d90

Please sign in to comment.