質問編集履歴
1
設定ファイルの内容紹介
test
CHANGED
File without changes
|
test
CHANGED
@@ -62,6 +62,222 @@
|
|
62
62
|
|
63
63
|
|
64
64
|
|
65
|
+
```p
|
66
|
+
|
67
|
+
〇getty@.serviceファイル
|
68
|
+
|
69
|
+
# SPDX-License-Identifier: LGPL-2.1+
|
70
|
+
|
71
|
+
#
|
72
|
+
|
73
|
+
# This file is part of systemd.
|
74
|
+
|
75
|
+
#
|
76
|
+
|
77
|
+
# systemd is free software; you can redistribute it and/or modify it
|
78
|
+
|
79
|
+
# under the terms of the GNU Lesser General Public License as published by
|
80
|
+
|
81
|
+
# the Free Software Foundation; either version 2.1 of the License, or
|
82
|
+
|
83
|
+
# (at your option) any later version.
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
[Unit]
|
88
|
+
|
89
|
+
Description=Getty on %I
|
90
|
+
|
91
|
+
Documentation=man:agetty(8) man:systemd-getty-generator(8)
|
92
|
+
|
93
|
+
Documentation=http://0pointer.de/blog/projects/serial-console.html
|
94
|
+
|
95
|
+
After=systemd-user-sessions.service plymouth-quit-wait.service getty-pre.target
|
96
|
+
|
97
|
+
After=rc-local.service
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
# If additional gettys are spawned during boot then we should make
|
102
|
+
|
103
|
+
# sure that this is synchronized before getty.target, even though
|
104
|
+
|
105
|
+
# getty.target didn't actually pull it in.
|
106
|
+
|
107
|
+
Before=getty.target
|
108
|
+
|
109
|
+
IgnoreOnIsolate=yes
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
# IgnoreOnIsolate causes issues with sulogin, if someone isolates
|
114
|
+
|
115
|
+
# rescue.target or starts rescue.service from multi-user.target or
|
116
|
+
|
117
|
+
# graphical.target.
|
118
|
+
|
119
|
+
Conflicts=rescue.service
|
120
|
+
|
121
|
+
Before=rescue.service
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
# On systems without virtual consoles, don't start any getty. Note
|
126
|
+
|
127
|
+
# that serial gettys are covered by serial-getty@.service, not this
|
128
|
+
|
129
|
+
# unit.
|
130
|
+
|
131
|
+
ConditionPathExists=/dev/tty0
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
[Service]
|
136
|
+
|
137
|
+
# the VT is cleared by TTYVTDisallocate
|
138
|
+
|
139
|
+
# The '-o' option value tells agetty to replace 'login' arguments with an
|
140
|
+
|
141
|
+
# option to preserve environment (-p), followed by '--' for safety, and then
|
142
|
+
|
143
|
+
# the entered username.
|
144
|
+
|
145
|
+
#ExecStart=-/sbin/agetty --autologin pi --noclear %I $TERM
|
146
|
+
|
147
|
+
ExecStart=-/sbin/agetty --autologin pi --noclear %I $TERM
|
148
|
+
|
149
|
+
Type=idle
|
150
|
+
|
151
|
+
Restart=always
|
152
|
+
|
153
|
+
RestartSec=0
|
154
|
+
|
155
|
+
UtmpIdentifier=%I
|
156
|
+
|
157
|
+
TTYPath=/dev/%I
|
158
|
+
|
159
|
+
TTYReset=yes
|
160
|
+
|
161
|
+
TTYVHangup=yes
|
162
|
+
|
163
|
+
TTYVTDisallocate=yes
|
164
|
+
|
165
|
+
KillMode=process
|
166
|
+
|
167
|
+
IgnoreSIGPIPE=no
|
168
|
+
|
169
|
+
SendSIGHUP=yes
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
# Unset locale for the console getty since the console has problems
|
174
|
+
|
175
|
+
# displaying some internationalized messages.
|
176
|
+
|
177
|
+
UnsetEnvironment=LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
[Install]
|
182
|
+
|
183
|
+
WantedBy=getty.target
|
184
|
+
|
185
|
+
DefaultInstance=tty1
|
186
|
+
|
187
|
+
```
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
```p
|
192
|
+
|
193
|
+
〇lightdm.confファイル
|
194
|
+
|
195
|
+
[Seat:*]
|
196
|
+
|
197
|
+
#type=local
|
198
|
+
|
199
|
+
#pam-service=lightdm
|
200
|
+
|
201
|
+
#pam-autologin-service=lightdm-autologin
|
202
|
+
|
203
|
+
#pam-greeter-service=lightdm-greeter
|
204
|
+
|
205
|
+
#xserver-backend=
|
206
|
+
|
207
|
+
#xserver-command=X
|
208
|
+
|
209
|
+
#xmir-command=Xmir
|
210
|
+
|
211
|
+
#xserver-config=
|
212
|
+
|
213
|
+
#xserver-layout=
|
214
|
+
|
215
|
+
#xserver-allow-tcp=false
|
216
|
+
|
217
|
+
#xserver-share=true
|
218
|
+
|
219
|
+
#xserver-hostname=
|
220
|
+
|
221
|
+
#xserver-display-number=
|
222
|
+
|
223
|
+
#xdmcp-manager=
|
224
|
+
|
225
|
+
#xdmcp-port=177
|
226
|
+
|
227
|
+
#xdmcp-key=
|
228
|
+
|
229
|
+
#unity-compositor-command=unity-system-compositor
|
230
|
+
|
231
|
+
#unity-compositor-timeout=60
|
232
|
+
|
233
|
+
greeter-session=pi-greeter
|
234
|
+
|
235
|
+
greeter-hide-users=false
|
236
|
+
|
237
|
+
#greeter-allow-guest=true
|
238
|
+
|
239
|
+
#greeter-show-manual-login=false
|
240
|
+
|
241
|
+
#greeter-show-remote-login=true
|
242
|
+
|
243
|
+
#user-session=default
|
244
|
+
|
245
|
+
#allow-user-switching=true
|
246
|
+
|
247
|
+
#allow-guest=true
|
248
|
+
|
249
|
+
#guest-session=
|
250
|
+
|
251
|
+
#session-wrapper=lightdm-session
|
252
|
+
|
253
|
+
#greeter-wrapper=
|
254
|
+
|
255
|
+
#guest-wrapper=
|
256
|
+
|
257
|
+
display-setup-script=/usr/share/dispsetup.sh
|
258
|
+
|
259
|
+
#display-stopped-script=
|
260
|
+
|
261
|
+
#greeter-setup-script=
|
262
|
+
|
263
|
+
#session-setup-script=
|
264
|
+
|
265
|
+
#session-cleanup-script=
|
266
|
+
|
267
|
+
#autologin-guest=false
|
268
|
+
|
269
|
+
autologin-user=pi
|
270
|
+
|
271
|
+
autologin-user-timeout=0
|
272
|
+
|
273
|
+
#autologin-in-background=false
|
274
|
+
|
275
|
+
#autologin-session=lightdm-autologin
|
276
|
+
|
277
|
+
#exit-on-failure=false
|
278
|
+
|
279
|
+
```
|
280
|
+
|
65
281
|
|
66
282
|
|
67
283
|
### 補足情報(FW/ツールのバージョンなど)
|