Difference between revisions of "LightDM Auto Login"

no edit summary
imported>Verityproductions
imported>Pavbaranov
Line 1: Line 1:
= Overview =
= Ogólnie =


{{Note|LightDM has been replaced by LXDM from Manjaro 0.8.1 onwards. '''This article also requires expansion'''.}}
{{Note|Począwszy od wersji Manjaro 0.8.1, LightDM został zamieniony przez LXDM, a obecnie przez MDM. '''This article also requires expansion'''.}}


Manjaro 0.8.0 uses a lightweight display / login manager called LightDM by default. LXDM is responsible for providing the login screen. It also functions as a protective security barrier to prevent unauthorised access to your system. However, some users may prefer to bypass the login screen to boot straight into their desktop environment without entering a password.
Manjaro 0.8.0 używało domyślnie LightDM jako menedżera logowania. Menedżer logowania odpowiada za ekran logowania jak również jest pewnym elementem bezpieczeństwa systemu, uniemożliwiając - czy utrudniając - nieautoryzowany dostęp do systemu. Niemniej jednak, niektórzy użytkownicy preferują pominięcie wyświetlenia ekranu logowania oraz wpisywania w nim hasła dostępu poprzez uruchomienie automatycznego logowania do środowiska graficznego.


W przypadku LightDM automatyczne logowanie uruchamiamy w następujący sposób:


= Open the LightDM Configuration File =
= Otwórz plik konfiguracyjny LightDM =


The syntax the command to edit the LightDM configuration file is:
Składnia polecenia umożliwiającego edycję pliku konfiguracyjnego LightDM jest następująca:


  sudo [text editor] /etc/lightdm/lightdm.conf
  sudo [edytor tekstu] /etc/lightdm/lightdm.conf




To use nano (the default text-based terminal editor) enter the command:
Użytkownicy edytora nano (domyślny edytor tekstu pracujący w terminalu) winni wydać następujące polecenie:


  sudo nano /etc/lightdm/lightdm.conf
  sudo nano /etc/lightdm/lightdm.conf




Otherwise, you may find it easier to read and edit the file by using gedit, which will open the configuration file as if it were a document. To use gedit instead, enter the command:
Użytkownicy innych edytorów tekstu, w tym działających w środowisku graficznym, w miejscu nano winni użyć nazwy swego edytora np. gedit, kate, kwrite, mousepad itd.


sudo gedit /etc/lightdm/lightdm.conf


= Uruchomienie automatycznego logowania =


= Set Autologin =
Znajdź następujący kod w powyższym pliku konfiguracyjnym:
 
Find the following codes in the configuration file:


  session-wrapper=/etc/lightdm/xsession
  session-wrapper=/etc/lightdm/xsession
Line 38: Line 37:
  #autologin-session=UNIMPLEMENTED
  #autologin-session=UNIMPLEMENTED


Delete the '#' from the following line as shown below, and add your username to it:
Usuń '#' sprzed linii autologin user oraz wprowadź swoją nazwę użytkownika, tak jak to przedstawiono poniżej:


  session-wrapper=/etc/lightdm/xsession
  session-wrapper=/etc/lightdm/xsession
Line 46: Line 45:
  #session-cleanup-script=
  #session-cleanup-script=
  #autologin-guest=false
  #autologin-guest=false
  '''autologin-user=''[your username here]''
  '''autologin-user=''[nazwa użytkownika, któremu należy umożliwić automatyczne logowania, czyli najprawdopodobniej Twoja]''
  #autologin-user-timeout=0
  #autologin-user-timeout=0
  #autologin-session=UNIMPLEMENTED
  #autologin-session=UNIMPLEMENTED


  ''Example:'' A user called yfdogan would chance the line to: '''autologin-user=''yfdogan''
  ''Przykład:'' Jeśli użytkownik nazywa się yfdogan powinieneś powyższą linię doprowadzić do następującej postaci: '''autologin-user=''yfdogan''
 
Once your amendments have been completed save your changes and close the configuration file by:


*'''nano''': Press CTRL and 'x' to exit, 'y' to save, and <enter> to finish, or
Po wprowadzeniu zmian zachowaj je i opuść edytor tekstu. W przypadku nano będzie to wyglądać tak:
*'''gedit''': Select the 'save' option and then close the window.


*'''nano''': Wciśnij jednocześnie CTRL oraz 'x' aby wyjść z programu oraz 'y' lub 't' (w spolszczonym nano) by zachować zmiany oraz wciśnij <enter> aby zakończyć.


Reboot your system for the changes to take effect.
Zmiany będą dostępne w systemie po jego przeładowaniu.




[[Category:Contents Page]]
[[Category:Contents Page]]
Anonymous user