[PATCH] Unset XDG_SESSION_COOKIE as well.

Julien Cristau jcristau at debian.org
Thu Aug 11 11:04:54 PDT 2011


On Thu, Aug 11, 2011 at 18:48:30 +0200, Matěj Cepl wrote:

> From: Adam Jackson <ajax at nwnk.net>
> 
> https://bugzilla.redhat.com/489999
> Avoid collision with the ConsoleKit which doesn't start its session when
> XDG_SESSION_COOKIE is set.
> 
> Signed-off-by: Matěj Cepl <mcepl at redhat.com>
> ---
>  startx.cpp |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/startx.cpp b/startx.cpp
> index 9f6561d..f2aa630 100644
> --- a/startx.cpp
> +++ b/startx.cpp
> @@ -11,6 +11,7 @@ XCOMM
>  XCOMM Site administrators are STRONGLY urged to write nicer versions.
>  XCOMM
>  
> +unset XDG_SESSION_COOKIE
>  unset DBUS_SESSION_BUS_ADDRESS
>  unset SESSION_MANAGER
>  
So what does start a ck session when you do this?  (XDG_SESSION_COOKIE
doesn't get set here when I run
unset XDG_SESSION_COOKIE; startx -- /usr/bin/Xephyr :1
but I don't have this ck-xinit-session that's referenced in your bug
report)

Cheers,
Julien


More information about the xorg-devel mailing list