|XMSM(1)||General Commands Manual||XMSM(1)|
xmsm/xmsession - X session manager
xdm -session xmsession
XmSm is a Motif based session manager for EMWM. In provides screen locking, workspace configuration settings and shutdown options. It is also responsible for starting the window manager (emwm), the application launcher (xmtoolbox) and other, user defined applications.
XmSm is normally started by the accompanying xmsession initialization script that sets up the environment, redirects stdout and stderr to ~/.xmsession.log, loads ~/.Xresources and sources ~/.Xprofile before running the session manager.
The xmsession script itself should be invoked either by a display/login manager like xdm, or the xinit utility.
~/.Xprofile is the startup file for X sessions and analogous to the ~/.profile file where user specific environment variables may be set.
~/.sessionetc is a shell script that is processed in a separate shell, and may be used to start user-specific programs.
Any image file formats supported by the Motif widget toolkit may be specified. At the time of writing these include X pixmap/bitmap, PNG and JPEG images.
X Bitmaps are drawn by coloring white bits in the specified background color (workspace/lockBackgroundColor resources) and black bits in a darker shade of that color.
~/.sessionetc ~/.xmsession.log ~/.Xprofile ~/.Xresources
xmsm responds to SIGUSR1 by engaging screen lock.
The xmsm binary must be setuid root for screen locking to work, however it discards root privileges at startup and restores them only during password check and when executing system commands.
XmSm does not implement the ICCCM session save/restore protocol.
The X screen saver extension is used for timed locking and blanking, but there are no graphical screensavers provided by XmSm.
XmSm was written and is maintained by firstname.lastname@example.org