Innerhalb
Nach weiteren Dokumenten suchenSupport-Ressourcen | Dieses Buch im PDF-Format herunterladen (577 KB)
Chapter 6 Session ManagementThis chapter introduces session management, and describes how to set session defaults. The chapter also contains information on sessions and login scripts. Introduction to SessionsA session occurs between the time that a user logs in to
the desktop environment and the time that the user logs out. The session manager
starts after the At a minimum, the following applications run in a session:
Setting Session DefaultsThe following table lists the files that contain default session information:
To set default session details for all users, modify the default session file. To restore the default session settings for a user, delete the session file from the home directory of the user. If no user session file is present, the default settings in /usr/share/gnome/default.session are used. To save the current session as the default session, users can run the gnome-session-save command. Login ScriptsThe GNOME Desktop does not support system-wide login scripts
or logout scripts. The session manager only allows users to configure user
sessions. Users can configure non-session-managed startup applications with
the Tip – You can work around the lack of support for system-wide login scripts. To create a system-wide login script, create the script in the /usr/dt/config/Xsession.d directory. Name the script as follows: number-greater-than-1000.name For example, name the script 1050.login. For more information on the /usr/dt/config/Xsession.d file, see The XSession File in the dtlogin(1) man page. |
||||||