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

Commit

Permalink
fix: create ublue-lightdm-workaround.sh
Browse files Browse the repository at this point in the history
Using a workaround for lightdm from @jerbmega
  • Loading branch information
castrojo committed Apr 22, 2023
1 parent 82c57d9 commit cd7017b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions etc/ublue-lightdm-workaround.sh
@@ -0,0 +1,11 @@
#!/bin/bash

if [ ! -d /var/cache/lightdm ]; then mkdir /var/cache/lightdm; fi
if [ ! -d /var/log/lightdm ]; then mkdir /var/log/lightdm; fi
if [ ! -d /var/lib/lightdm ]; then mkdir /var/lib/lightdm; fi
if [ ! -d /var/lib/lightdm-data ]; then mkdir /var/lib/lightdm-data; fi

getent group lightdm >/dev/null || groupadd -r lightdm
getent passwd lightdm >/dev/null || useradd -g lightdm -M -d /var/lib/lightdm -s /sbin/nologin -r lightdm

systemctl set-default graphical.target

0 comments on commit cd7017b

Please sign in to comment.