[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 Sep 1 21:41:19 UTC 2009


On mar, 2009-09-01 at 13:53 -0600, Scott Barker wrote:
> Just to bring this bug report back to it's original focus, I note that 
> bugs 526006 and 520720 have been closed, and consolekit has been changed 
> to properly use ck-launch-session for users of startx at the console. 

Thanks for the summary, it'll definitely be quite helpful for users. It
might be a good idea to push that to the xfce4{-session} README.Debian.
Would you license it to GPL or something? :)

> There are now many ways to start xfce4 at the console with a correct 
> consolekit session, but the two best seem to be:
> 
> 1) The "Debian" way:
> 
> Set xfce4-session as the default session manager for X (with 
> update-alternatives) and use "startx" at the console to start xfce4. 
> This will provide a minimal xfce4 session. For a more complete xfce4 
> session, the user can put "exec /usr/bin/startxfce4" in $HOME/.xsession, 
> so that various environment variables are set correctly for xfce4.

And this is the preferred way :)
> 
> 2) The "xfce4" way:
> 
> Put "exec ck-launch-session /etc/xdg/xfce4/xinitrc" in 
> $HOME/.config/xfce4/xinitrc, make $HOME/.config/xfce4/xinitrc 
> executable, and use "startxfce4" to start xfce4. This will ensure the 
> various environment variables are set correctly for xfce4, and will also 
> ensure that a correct consolekit session is started.

In fact, even method 1) will enable that, since startxfce4 will
run /etc/xdg/xfce4/xinitrc (or $HOME/.config/xfce4/xinitrc  if it
exists)
> 
> For either method, libpam-ck-connector can be installed or not 
> installed, it doesn't matter.
> 
> For method 2), perhaps one day the xfce4 developers will include 
> ck-launch-session in the startxfce4 script (as they did for dbus), and 
> then the xinitrc customization will no longer be necessary.

It's already not necessary, imho.
> 
> For users of gdm/kdm/xdm, I do not know if it is possible to get more 
> than the minimal xfce4 session - it will depend if those display 
> managers call startxfce4 and/or set the correct environment variables. 
> As I don't use gdm/kdm/xdm, I cannot test that.

Then don't worry, they already call (gdm at least does) startxfce4.

Cheers,

-- 
Yves-Alexis
-------------- 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/20090901/bad6d0f6/attachment.pgp>


More information about the Pkg-xfce-devel mailing list