How to edit the Session menu that appears on the client login screen

From K12LTSP Wiki

Jump to: navigation, search

Location of the Session configuration files

If you edit the Session menu on the login screen, you can control what desktop system people can or must use, e.g., Gnome, KDE or IceWM.

The location of the files for each type has changed over time. You'll find them in one of these directories:

/usr/share/xsessions/
/etc/X11/dm/Sessions/
/etc/X11/gdm/Sessions/
/usr/share/apps/switchdesk/

Each session type is contained in its own file. Remove or rename a configuration file to have it not appear in the menu.

Removing 'Reset Your Desktop' from the Session menu

Depending on the version of K12LTSP, you'll have one or more of the following files. Deleting them all will make the "Reset your desktop" session disappear:

/etc/X11/dm/Sessions/Reset.desktop
/etc/X11/gdm/Sessions/Reset your desktop
/usr/share/apps/switchdesk/Xclients.reset_desktop
/usr/share/xsessions/reset.desktop
Personal tools