minnie_eg
amany.elguindy@gmail.com 2012
Jana Svarova
jana.svarova@gmail.com 2013
Petr Kovar
pknbe@volny.cz 2014
Especificar a sesión predeterminada para un usuario.
Fran Diéguez
frandieguez@gnome.org 2010-2025

# Configurar unha sesión predeterminada de usuario

The default session is retrieved from a program called AccountsService. AccountsService stores this information in the /var/lib/AccountsService/users/ directory.

In GNOME 2, the .dmrc file in the user home directory was used to create default sessions. This .dmrc file is no longer used.

# Especificar a sesión predeterminada para un usuario

Make sure that you have the gnome-session-xsession package installed on your system.

Navigate to the /usr/share/xsessions directory where you can find .desktop files for each of the available sessions. Consult the contents of the .desktop files to determine the session you want to use.

To specify a default session for a user, update the user’s account service in the /var/lib/AccountsService/users/username file:

[User] Language= XSession=gnome-classic

In this sample, GNOME Classic has been set as the default session, using the /usr/share/xsessions/gnome-classic.desktop file.

After specifying a default session for the user, that session will be used the next time the user logs in, unless the user selects a different session from the login screen.