|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris 11 User's Guide for the GNOME Desktop Oracle Solaris 11 Information Library|
A session is the period of time you spend using the desktop, between logging in and logging out. During a session, you use your applications, print, browse the web, and so on.
Logging in to the desktop begins your session. The login screen is a gateway to the Oracle Solaris Desktop.
Note - Logging out ends the session, but you can choose to save the state of your session and restore it next time you use the desktop. For more information about restoring a session, see Setting Programs to Start Automatically When You Log In.
The first time you log in, the session manager starts a new session. If you have logged in before and saved the settings for the previous session, then the session manager restores your previous session.
If you want to shut down or restart the system before you log in, click System on the login screen. Select the relevant option from the dialog, and then click OK.
Note - When you log in to a session in a different language, you are changing the language for the user interface but not the keyboard layout. To choose a different keyboard layout, use the Keyboard Indicator applet.
Locking the screen prevents access to the applications and information, allowing you to leave the computer unattended. While your screen is locked, the screensaver runs.
To lock the screen, perform one of the following actions:
Choose System -> Lock Screen
Click the Lock Screen button, if it is present on a panel
Note - By default, the Lock Screen button is not present on the panels. For more information about how to add a Lock Screen button to a panel, see Adding an Object to a Panel.
To unlock the screen, move the mouse or press any key, type the password in the locked screen dialog, and then press Return.
If other users want to use the computer while it is locked, they can move the mouse or press a key and then click Switch User. The login screen is displayed and they can log in using their credentials. They will not be able to access any of your applications or information. When they log out, the screen will be locked again and you can access your session by unlocking the screen.
You can leave a message for a user who has locked their screen. Move the mouse or press any key and then click Leave Message. Type your message in the box and press Save. The message will be displayed when the user unlocks the screen.
You can choose certain programs to be started automatically when you log in to a session. For example, you might want a web browser to be started as soon as you log in. Programs which start automatically when you log in are called startup programs. Startup programs are automatically saved and closed by the session manager when you log out, and are restarted when you log in.
The Sessions Preference tool enables you to define startup programs. It has two tabs, Startup Programs and Options.
You can use the Startup Programs tab to add, modify, and remove startup programs.
A list of startup programs is displayed on this tab. The list shows a short description of each program, along with an option which denotes whether the startup program is enabled. Programs which are not enabled will not be started automatically when you log in.
To enable a program to start up automatically, select the option corresponding to that program.
To disable a program from starting automatically, deselect the option.
The Add Startup Program dialog box is displayed.
For example, the command gedit will start the Gedit Text Editor. If you do not know the exact command, click Browse to choose the path of the command.
The description of the program is displayed in the list of startup programs.
The application will be added to the list of startup programs.
To remove a startup program, select it from the list of startup programs and click Remove.
To edit an existing startup program, select it from the list of startup programs and click Edit. A dialog is displayed which enables you to edit the properties of the program. For more information about the available options in this dialog, see About the Startup Programs Tab.
The session manager can remember which applications are running when you log out and can automatically restart them when you log in again. Select Automatically Remember Running Applications while logging out to restart the running applications each time you log in again. If you would like this to happen only once, click Remember Currently Running Applications before logging out.
You can perform one of the following actions to end a session:
Log out, leaving the computer ready for another user to begin working. To log out, choose System -> Log Out username.
Shut down the computer and switch off power. To shut down, choose System -> Shut Down, and then click Shut Down.
Depending on the computer's configuration, you might be able to hibernate the computer. During hibernation, less power is used, but all the open applications and documents are preserved and will be open when you resume from hibernation. You can resume from hibernation by moving your mouse or pressing a key.
Before you end a session, you might want to save your current settings so that you can restore the session later. In the Sessions preference tool, you can select an option to automatically save your current settings.