Гостевой аккаунт: различия между версиями

Материал из IT в школе
Перейти к навигацииПерейти к поиску
Строка 1: Строка 1:




Строка 7: Строка 8:
echo -e "[Greeter]\nbackground-color=#295377\nbackground=/etc/648.png\n" > /etc/lightdm/slick-greeter.conf  
echo -e "[Greeter]\nbackground-color=#295377\nbackground=/etc/648.png\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\n" > /etc/lightdm/lightdm.conf
service lightdm restart
reboot
</syntaxhighlight>
</syntaxhighlight>/etc/648.png - картинка на заднем фоне
[[Категория:МОС]]
[[Категория:МОС]]

Версия 21:12, 17 февраля 2023


Установка

#!/bin/bash
apt-get -y install lightdm-gtk-greeter kde5-display-manager-4-lightdm guest-account
apt-get -y install http://ftp.basealt.ru/pub/distributions/ALTLinux/p10/branch/x86_64/RPMS.classic/slick-greeter-1.5.4-alt1.x86_64.rpm 
echo -e "[Greeter]\nbackground-color=#295377\nbackground=/etc/648.png\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
reboot

/etc/648.png - картинка на заднем фоне