[Pkg-xfce-commits] r3268 - desktop/trunk/xfce4-session/debian

Yves-Alexis Perez corsac at alioth.debian.org
Wed May 27 06:18:43 UTC 2009


Author: corsac
Date: 2009-05-27 18:18:43 +0000 (Wed, 27 May 2009)
New Revision: 3268

Modified:
   desktop/trunk/xfce4-session/debian/README.Debian
   desktop/trunk/xfce4-session/debian/changelog
Log:
* debian/README.Debian:
  - add precisions about ConsoleKit/PolicyKit setup.

Modified: desktop/trunk/xfce4-session/debian/README.Debian
===================================================================
--- desktop/trunk/xfce4-session/debian/README.Debian	2009-05-26 05:29:53 UTC (rev 3267)
+++ desktop/trunk/xfce4-session/debian/README.Debian	2009-05-27 18:18:43 UTC (rev 3268)
@@ -14,13 +14,26 @@
   minimal one because all the preparation made in /etc/xdg/xfce4/xinitrc
   before running xfce4-session won't be done.
 
+If you don't use a login manager but start Xfce from console, you need to
+take care of few stuff:
+
+* only use startx, without any argument
+* don't use a .xinitrc, use .xsession
+
+This is because Debian now uses PolicyKit/ConsoleKit to manage policies for
+things like device and power management. If you run Xfce from a compatible
+display manager (gdm and kdm), they'll talk to consolekit so your X session
+will have the authentication tokens, but if you use startx, it won't.
+There's a script shipped by default with ConsoleKit which will do that, in
+/etc/X11/Xsession.d/90consolekit, but the /etc/X11/Xsession.d/ scripts are
+only executed if you don't use any .xinitrc. See startx (1) for more
+information.
+
 Managing shutdown
 -----------------
 
-There are three ways to enable user to shutdown the computer from Xfce:
+There are two ways to enable user to shutdown the computer from Xfce:
 
  - use sudo, and allow user to run /usr/sbin/xfsm-shutdown-helper in sudoers
- - use dbus and hal
-   - hal and dbus should be installed, up and running
-   - user should be in powerdev group
- - use policykit and a compatible login manager (gdm is known to work)
+ - use policykit and a compatible login manager (gdm is known to work,
+   startx too if you use the tips above)

Modified: desktop/trunk/xfce4-session/debian/changelog
===================================================================
--- desktop/trunk/xfce4-session/debian/changelog	2009-05-26 05:29:53 UTC (rev 3267)
+++ desktop/trunk/xfce4-session/debian/changelog	2009-05-27 18:18:43 UTC (rev 3268)
@@ -1,3 +1,10 @@
+xfce4-session (4.6.1-2) UNRELEASED; urgency=low
+
+  * debian/README.Debian:
+    - add precisions about ConsoleKit/PolicyKit setup.
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Wed, 27 May 2009 20:18:07 +0200
+
 xfce4-session (4.6.1-1) unstable; urgency=low
 
   * New upstream release.




More information about the Pkg-xfce-commits mailing list