[Pkg-xfce-devel] Bug#526009: Bug#526009: xfce4-utils: sessions started with startxfce4 lose hal/dbus functionality

Yves-Alexis Perez corsac at debian.org
Tue Apr 28 19:27:14 UTC 2009

On mar, 2009-04-28 at 10:20 -0600, Scott Barker wrote:
> Package: xfce4-utils
> Version: 4.6.0-2
> Severity: wishlist

It'd be nice to have a single summary point for those hal related
issues, please. It's already difficult to follow on the two bugs (Thunar
and xfce4-session) and the mailing list, opening yet another one will
add more complexity.

Please pick one bug where we can discuss this and stay on it?

> With the new consolekit/policykit method of doing things, starting an xfce4
> session using startxfce4 from a text terminal will cause the user to lose
> hal/dbus functionality such as suspend/hibernate, mounting of removable
> media, access to pulseaudio devices, etc.

startxfce4 is “the xfce way” to start Xfce.

> The startx script in the xinit package, however, works fine (provided the
> user does not have libpam-ck-connector installed, see bug # 526006 at
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526006) since it sources
> /etc/X11/Xsession.d/90consolekit, which handles launching the X session
> using ck-launch-session as required.

startx is “the debian way” to start a desktop environment.
> However, I have noticed some differences between starting xfce4 with startx
> vs. starting it with startxfce4, most notable of which is that the font
> chosen in the User Interface Preferences seems to be ignored. I assume this
> is the result (directly or indirectly) of the fact that startxfce4 sets
> assorted shell variables via /etc/xdg/xfce4/xinitrc that startx does not.
> The cleanest way around this issue that I could find is to start the X
> session with:
>   startx /usr/bin/startxfce4

Yes. I thought it was already documented, but not really. So we should
add this to the README.Debian. Basically, we'd rather not divert from
upstream on the startup script, but we still want to have the Debian
stuff properly set. So startxfce4 should be used by the Debian stuff,

- display managers (which already use the Debian
infrastructure, /etc/X11/Xsession.d) should call startxfce4
- users should either
  * run startx /usr/bin/startxfce4
  * put startxfce4 in their .xsession and use only startx (not sure
about this one).

I guess this should be correctly indicated in the README.Debian of

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20090428/d81fe534/attachment.pgp>

More information about the Pkg-xfce-devel mailing list