Гостевой аккаунт: различия между версиями
Материал из IT в школе
Перейти к навигацииПерейти к поиску
Kekaloav (обсуждение | вклад) |
Kekaloav (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
Строка 6: | Строка 7: | ||
Установка<syntaxhighlight lang="bash"> | Установка<syntaxhighlight lang="bash"> | ||
#!/bin/bash | #!/bin/bash | ||
apt-get -y install lightdm-gtk-greeter slick-greeter kde5-display-manager-4-lightdm guest-account | apt-get -y install lightdm-gtk-greeter slick-greeter kde5-display-manager-4-lightdm guest-account | ||
echo -e "[Greeter]\nbackground-color=#295377\nbackground=/usr/share/wallpapers/MOS-IT-RobotBlue/contents/images/5120x2880.svg | echo -e "[Greeter]\nbackground-color=#295377\nbackground=/usr/share/wallpapers/MOS-IT-RobotBlue/contents/images/5120x2880.svg\n" > /etc/lightdm/slick-greeter.conf | ||
echo -e "[LightDM]\nminimum-vt=1\nlog-directory = /var/log/lightdm\nrun-directory = /run/lightdm\ncache-directory = /var/cache/lightdm\nsessions-directory = /usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions\nguest-account-script = guest-account\n[Seat:*]\nxserver-command = /etc/X11/xinit/xserverrc\nsession-wrapper = /etc/X11/Xsession\ngreeter-wrapper = /etc/X11/Xgreeter.lightdm\nallow-guest = true\ngreeter-allow-guest = true\ngreeter-show-manual-login=true\ngreeter-show-remote-login=true\n" > /etc/lightdm/lightdm.conf | echo -e "[LightDM]\nminimum-vt=1\nlog-directory = /var/log/lightdm\nrun-directory = /run/lightdm\ncache-directory = /var/cache/lightdm\nsessions-directory = /usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions\nguest-account-script = guest-account\n[Seat:*]\nxserver-command = /etc/X11/xinit/xserverrc\nsession-wrapper = /etc/X11/Xsession\ngreeter-wrapper = /etc/X11/Xgreeter.lightdm\nallow-guest = true\ngreeter-allow-guest = true\ngreeter-show-manual-login=true\ngreeter-show-remote-login=true\nautologin-guest=true\nautologin-timeout=10\n" > /etc/lightdm/lightdm.conf | ||
reboot | reboot | ||
</syntaxhighlight>/etc/648.png - картинка на заднем фоне | </syntaxhighlight>/etc/648.png - картинка на заднем фоне | ||
[[Категория:МОС]] | [[Категория:МОС]] |
Версия 06:27, 18 февраля 2023
Установка
#!/bin/bash
apt-get -y install lightdm-gtk-greeter slick-greeter kde5-display-manager-4-lightdm guest-account
echo -e "[Greeter]\nbackground-color=#295377\nbackground=/usr/share/wallpapers/MOS-IT-RobotBlue/contents/images/5120x2880.svg\n" > /etc/lightdm/slick-greeter.conf
echo -e "[LightDM]\nminimum-vt=1\nlog-directory = /var/log/lightdm\nrun-directory = /run/lightdm\ncache-directory = /var/cache/lightdm\nsessions-directory = /usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions\nguest-account-script = guest-account\n[Seat:*]\nxserver-command = /etc/X11/xinit/xserverrc\nsession-wrapper = /etc/X11/Xsession\ngreeter-wrapper = /etc/X11/Xgreeter.lightdm\nallow-guest = true\ngreeter-allow-guest = true\ngreeter-show-manual-login=true\ngreeter-show-remote-login=true\nautologin-guest=true\nautologin-timeout=10\n" > /etc/lightdm/lightdm.conf
reboot
/etc/648.png - картинка на заднем фоне