Re: consolekit problem and CURRENT

[ Available lists | Index of freebsd-gnome | Month of Jun 2009 | Week of 14 Jun 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Joe Marcus Clarke <marcus@marcuscom.com>
Date
14 Jun 2009 01:47:04
Subject
Re: consolekit problem and CURRENT
Message-ID
1244944034.39104.6.camel@shumai.marcuscom.com

In reply to
References to
Replies
Referenced by

[ Hide this part ]
On Mon, 2009-06-08 at 13:49 +0200, Gustau Prez wrote:
> Hi,
>
> I'm seeing problems with consolekit and CURRENT. When I start a
> session with gnome (via gdm) I can't mount usb's, can't shutdown or
> reboot, etc ... Reading the FAQ, it states that policykit will grant
> those things to local and active sessions automatically (checking is
> done via consolekit).
>
> The faq says proc needs to be mounted (done) and the graphical
> session must be started via gdm (got it). In a terminal ck-list-session,
> shows :
>
> Session6:
> unix-user = '1002'
> realname = 'Gustau Perez'
> seat = 'Seat1'
> session-type = ''
> active = FALSE
> x11-display = ':0'
> x11-display-device = '/dev/rw'
> display-device = 'ttyv1'
> remote-host-name = ''
> is-local = TRUE
> on-since = '2009-06-08T11:05:22.366887Z'
> login-session-id = ''
>
> Looks like it is unable to detect the graphical session as a local
> session. XDG_SESSION_COOKIE is set. GDM has this variable set too (I
> checked it via ps auwwex).
>
> I even tried (in text mode) the following :
>
> # ck-launch-session /usr/local/bin/bash
> # ck-list-sessions
>
>
> I start gdm using gnome_enable="YES" in rc.conf.
>
> Any idea ?

Looks like something is wrong with your fstat(1) executable. Run the
following commands:

/usr/local/libexec/ck-get-x11-display-device

cat /tmp/.X0-lock

fstat -p `cat /tmp/.X0-lock` | grep ttyv

What about do you get?

Joe

>
>
--
PGP Key : http://www.marcuscom.com/pgp.asc


[ Show this part (application/pgp-signature) ]

Elapsed time: 0.110 seconds