summaryrefslogtreecommitdiff
path: root/README
blob: c368c26468784572f928b8e510bb5e2f01318ab5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Session manager for the Xfce desktop environment.

How to start the session manager:
---------------------------------
See the sample xinitrc file in $sysconfdir/xfce4/xinitrc.xfce4-session.


Shutting down your computer using the session manager:
------------------------------------------------------
Since 4.1.5, the session manager supports only sudo(8)-based shutdown, other
method can be added by packagers if desired, just replace XfsmShutdownHelper
with your code. To be able to shutdown the computer, you must be listed
in the systems sudoers file, in particular, you must be allowed to execute
$libexecdir/xfsm-shutdown-helper as user root (where $libexecdir is the
libexec subdir in the prefix you installed xfce4-session, for example
/usr/local/libexec).


Legacy session management:
--------------------------
As of version 4.1.7, the session manager includes native support for
applications that don't support the X11R6 session management protocol,
but support legacy (X11R5) session management. If you don't need legacy
session management support, you can disable it at compile time, giving
--disable-legacy-sm to ./configure.

The legacy sm code is ment as a replacement for smproxy (the X11 session
management proxy), which caused all kinds of trouble. That says, do NOT
EVER run smproxy in session that is managed by xfce4-session, or weird
things will happen. The included legacy session management does everything
that smproxy would do, and besides that, it also support multiscreen
display and it is less error prone compared to smproxy (atleast once
the various bugs I introduced are fixed :-).