[PATCH] Unset XDG_SESSION_COOKIE as well.

Matěj Cepl mcepl at redhat.com
Thu Aug 11 09:48:30 PDT 2011


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
 
-- 
1.7.6



More information about the xorg-devel mailing list