Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 251443 Details for
Bug 336634
sys-auth/consolekit-0.4.2: session always ends up as "active" and "is-local" set FALSE
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
90-consolekit (from Debian)
90consolekit (text/plain), 1.00 KB, created by
Samuli Suominen (RETIRED)
on 2010-10-21 12:54:24 UTC
(
hide
)
Description:
90-consolekit (from Debian)
Filename:
MIME Type:
Creator:
Samuli Suominen (RETIRED)
Created:
2010-10-21 12:54:24 UTC
Size:
1.00 KB
patch
obsolete
># -*- sh -*- ># Xsession.d script for ck-launch-session. ># ># ># This file is sourced by Xsession(5), not executed. > >CK_LAUNCH_SESSION=/usr/bin/ck-launch-session > >is_on_console() { > session=$(dbus-send --system --dest=org.freedesktop.ConsoleKit \ > --type=method_call --print-reply --reply-timeout=2000 \ > /org/freedesktop/ConsoleKit/Manager \ > org.freedesktop.ConsoleKit.Manager.GetCurrentSession \ > | grep path | awk '{print $3}' | sed s/\"//g) > x11_display=$(dbus-send --system --dest=org.freedesktop.ConsoleKit \ > --type=method_call --print-reply --reply-timeout=2000 \ > $session org.freedesktop.ConsoleKit.Session.GetX11Display \ > | grep string | awk '{print $2}' | sed s/\"//g) > > if [ -z "$x11_display" ] ; then > return 0 > else > return 1 > fi >} > ># gdm already creates a CK session for us, so do not run the expensive D-Bus ># calls if we have $GDMSESSION >if [ -z "$GDMSESSION" ] && [ -x "$CK_LAUNCH_SESSION" ] && \ > ( [ -z "$XDG_SESSION_COOKIE" ] || is_on_console ) ; then > STARTUP="$CK_LAUNCH_SESSION $STARTUP" >fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 336634
:
249973
| 251443