- Published on
2022-03-04 update:
gdm 用户最好不要启用 motd. 否则在登录界面会卡很久才进去.
有办法可以禁用这一行为, see https://bbs.archlinux.org/viewtopic.php?pid=1684018#p1684018
moving the following line:
```shell
session optional pam_motd.so motd=/etc/motd
```
from `/etc/pam.d/system-login` to `/etc/pam.d/sshd`.
The result is that the motd is no longer displayed in gdm, but it's still displayed when logging in through ssh.
...