Skip to content

Commit ab2fa8f

Browse files
Added autologin to live iso
1 parent 6c0f3c2 commit ab2fa8f

File tree

2 files changed

+165
-0
lines changed

2 files changed

+165
-0
lines changed

airootfs/etc/group

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ root:x:0:root
22
adm:x:4:liveuser
33
wheel:x:10:liveuser
44
uucp:x:14:liveuser
5+
autologin:x:18:liveuser
56
liveuser:x:1000:

airootfs/etc/lightdm/lightdm.conf

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
[Seat:*]
2+
#
3+
# General configuration
4+
#
5+
# start-default-seat = True to always start one seat if none are defined in the configuration
6+
# greeter-user = User to run greeter as
7+
# minimum-display-number = Minimum display number to use for X servers
8+
# minimum-vt = First VT to run displays on
9+
# lock-memory = True to prevent memory from being paged to disk
10+
# user-authority-in-system-dir = True if session authority should be in the system location
11+
# guest-account-script = Script to be run to setup guest account
12+
# logind-check-graphical = True to on start seats that are marked as graphical by logind
13+
# log-directory = Directory to log information to
14+
# run-directory = Directory to put running state in
15+
# cache-directory = Directory to cache to
16+
# sessions-directory = Directory to find sessions
17+
# remote-sessions-directory = Directory to find remote sessions
18+
# greeters-directory = Directory to find greeters
19+
# backup-logs = True to move add a .old suffix to old log files when opening new ones
20+
# dbus-service = True if LightDM provides a D-Bus service to control it
21+
#
22+
[LightDM]
23+
#start-default-seat=true
24+
#greeter-user=lightdm
25+
#minimum-display-number=0
26+
#minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799
27+
#lock-memory=true
28+
#user-authority-in-system-dir=false
29+
#guest-account-script=guest-account
30+
#logind-check-graphical=false
31+
#log-directory=/var/log/lightdm
32+
run-directory=/run/lightdm
33+
#cache-directory=/var/cache/lightdm
34+
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
35+
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
36+
#greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
37+
#backup-logs=true
38+
#dbus-service=true
39+
40+
#
41+
# Seat configuration
42+
#
43+
# Seat configuration is matched against the seat name glob in the section, for example:
44+
# [Seat:*] matches all seats and is applied first.
45+
# [Seat:seat0] matches the seat named "seat0".
46+
# [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
47+
#
48+
# type = Seat type (local, xremote)
49+
# pam-service = PAM service to use for login
50+
# pam-autologin-service = PAM service to use for autologin
51+
# pam-greeter-service = PAM service to use for greeters
52+
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
53+
# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
54+
# xserver-config = Config file to pass to X server
55+
# xserver-layout = Layout to pass to X server
56+
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
57+
# xserver-share = True if the X server is shared for both greeter and session
58+
# xserver-hostname = Hostname of X server (only for type=xremote)
59+
# xserver-display-number = Display number of X server (only for type=xremote)
60+
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
61+
# xdmcp-port = XDMCP UDP/IP port to communicate on
62+
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
63+
# greeter-session = Session to load for greeter
64+
# greeter-hide-users = True to hide the user list
65+
# greeter-allow-guest = True if the greeter should show a guest login option
66+
# greeter-show-manual-login = True if the greeter should offer a manual login option
67+
# greeter-show-remote-login = True if the greeter should offer a remote login option
68+
# user-session = Session to load for users
69+
# allow-user-switching = True if allowed to switch users
70+
# allow-guest = True if guest login is allowed
71+
# guest-session = Session to load for guests (overrides user-session)
72+
# session-wrapper = Wrapper script to run session with
73+
# greeter-wrapper = Wrapper script to run greeter with
74+
# guest-wrapper = Wrapper script to run guest sessions with
75+
# display-setup-script = Script to run when starting a greeter session (runs as root)
76+
# display-stopped-script = Script to run after stopping the display server (runs as root)
77+
# greeter-setup-script = Script to run when starting a greeter (runs as root)
78+
# session-setup-script = Script to run when starting a user session (runs as root)
79+
# session-cleanup-script = Script to run when quitting a user session (runs as root)
80+
# autologin-guest = True to log in as guest by default
81+
# autologin-user = User to log in with by default (overrides autologin-guest)
82+
# autologin-user-timeout = Number of seconds to wait before loading default user
83+
# autologin-session = Session to load for automatic login (overrides user-session)
84+
# autologin-in-background = True if autologin session should not be immediately activated
85+
# exit-on-failure = True if the daemon should exit if this seat fails
86+
#
87+
[Seat:*]
88+
#type=local
89+
#pam-service=lightdm
90+
#pam-autologin-service=lightdm-autologin
91+
#pam-greeter-service=lightdm-greeter
92+
#xserver-command=X
93+
#xmir-command=Xmir
94+
#xserver-config=
95+
#xserver-layout=
96+
#xserver-allow-tcp=false
97+
#xserver-share=true
98+
#xserver-hostname=
99+
#xserver-display-number=
100+
#xdmcp-manager=
101+
#xdmcp-port=177
102+
#xdmcp-key=
103+
greeter-session=lightdm-gtk-greeter
104+
#greeter-hide-users=false
105+
#greeter-allow-guest=true
106+
#greeter-show-manual-login=false
107+
#greeter-show-remote-login=true
108+
user-session=xfce
109+
#allow-user-switching=true
110+
#allow-guest=true
111+
#guest-session=
112+
session-wrapper=/etc/lightdm/Xsession
113+
#greeter-wrapper=
114+
#guest-wrapper=
115+
#display-setup-script=
116+
#display-stopped-script=
117+
#greeter-setup-script=
118+
#session-setup-script=
119+
#session-cleanup-script=
120+
autologin-guest=false
121+
autologin-user=liveuser
122+
autologin-user-timeout=0
123+
#autologin-in-background=false
124+
autologin-session=xfce
125+
#exit-on-failure=false
126+
127+
#
128+
# XDMCP Server configuration
129+
#
130+
# enabled = True if XDMCP connections should be allowed
131+
# port = UDP/IP port to listen for connections on
132+
# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
133+
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
134+
# hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
135+
#
136+
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively
137+
# it can be a word and the first 7 characters are used as the key.
138+
#
139+
[XDMCPServer]
140+
#enabled=false
141+
#port=177
142+
#listen-address=
143+
#key=
144+
#hostname=
145+
146+
#
147+
# VNC Server configuration
148+
#
149+
# enabled = True if VNC connections should be allowed
150+
# command = Command to run Xvnc server with
151+
# port = TCP/IP port to listen for connections on
152+
# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
153+
# width = Width of display to use
154+
# height = Height of display to use
155+
# depth = Color depth of display to use
156+
#
157+
[VNCServer]
158+
#enabled=false
159+
#command=Xvnc
160+
#port=5900
161+
#listen-address=
162+
#width=1024
163+
#height=768
164+
#depth=8

0 commit comments

Comments
 (0)