summaryrefslogtreecommitdiff
path: root/startx.cpp
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-05-21 14:29:55 -0400
committerAdam Jackson <ajax@redhat.com>2008-05-21 14:29:55 -0400
commitc07501f69239e9c1448736ad7e689a2c3da49af9 (patch)
treeff0a2207ebea1bbe1448ae45434e86a8541ae63a /startx.cpp
parentef2610f44c7cf40489203fddc77ddcdfb7764eed (diff)
Unset session environment variables so startx works within a running session.
Diffstat (limited to 'startx.cpp')
-rw-r--r--startx.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/startx.cpp b/startx.cpp
index fde780f..9266341 100644
--- a/startx.cpp
+++ b/startx.cpp
@@ -13,6 +13,9 @@ XCOMM Site administrators are STRONGLY urged to write nicer versions.
XCOMM
XCOMM $XFree86: xc/programs/xinit/startx.cpp,v 3.16tsi Exp $
+unset DBUS_SESSION_BUS_ADDRESS
+unset SESSION_MANAGER
+
#if defined(__SCO__) || defined(__UNIXWARE__) || defined(__APPLE__)
XCOMM Check for /usr/bin/X11 and BINDIR in the path, if not add them.