Exibindo um prompt de usuário na tela de início de sessão do GNOME

Exibindo um prompt de usuário ao invés de uma lista de usuários na tela de login do GNOME

Para exibir um prompt de usuário na tela de login do GNOME, abra um terminal e siga os próximos passos:

  1. Create a file for the GNOME Display Manager (GDM) configuration.

    $ sudo mkdir /etc/dconf/db/gdm.d
    $ sudo vim /etc/dconf/db/gdm.d/01-hide-users
  2. In a text editor of your choice, vim in this example, insert the following content to the /etc/dconf/db/gdm.d/01-hide-users file:

    banner-message-text='ENTER ANY MESSAGE YOU WANT HERE. FOR A NEW LINE USE \n.'

    To not display the banner message, do not include the first and second line. To enable the Restart button, do not include the fourth line.

    Save the file and return to the terminal.

  3. Create another file for GDM configuration.

    $ sudo vim /etc/dconf/profile/gdm

    Insert the following content in the /etc/dconf/profile/gdm file:


    Save the file.

  4. Enter the following command:

    $ sudo dconf update
  5. Check if the command was executed correctly:

    $ ls /etc/dconf/db

    The output should contain the following:

    gdm gdm.d ... [output truncated]
  6. Restart GDM for the changes to take effect.

    $ sudo systemctl restart gdm