Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
5e1edb48
Commit
5e1edb48
authored
Sep 22, 2023
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11-autologin: fix setup autologin for gdm >= 45
parent
dcd687c8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
60-x11-autologin
....in/x11-autologin/rootfs/image-scripts.d/60-x11-autologin
+4
-5
No files found.
features.in/x11-autologin/rootfs/image-scripts.d/60-x11-autologin
View file @
5e1edb48
...
...
@@ -76,9 +76,9 @@ AUTOLOGIN_LIGHTDM
restore_later
"/etc/group"
fi
## gdm
2
autologin
GDM_CONF
=
/etc/X11/gdm/custom.conf
if
[
-f
"
$GDM_CONF
"
]
;
then
## gdm autologin
for
GDM_CONF
in
/etc/gdm/custom.conf /etc/X11/gdm/custom.conf
;
do
[
-f
"
$GDM_CONF
"
]
||
continue
backup
"
$GDM_CONF
"
sed
-i
-e
'/\[daemon\]/aAutomaticLoginEnable=true\nAutomaticLogin='
$USER
\
"
$GDM_CONF
"
...
...
@@ -87,8 +87,7 @@ if [ -f "$GDM_CONF" ]; then
restore_later
"
$GDM_CONF
"
restore_later
"/etc/group"
fi
done
## lxdm autologin
LXDM_CONF
=
/etc/lxdm/lxdm.conf
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment