1 |
On Sun, Jun 05, 2011 at 11:03:54PM +0100, Mick wrote: |
2 |
> Both consolekit and polkit are running. What could be the problem? |
3 |
> |
4 |
> $ ps axf | grep polkit |
5 |
> 8961 pts/1 SN+ 0:00 \_ grep |
6 |
> --color=auto polkit |
7 |
> 5678 ? Sl 0:00 /usr/libexec/polkitd |
8 |
> |
9 |
> $ ps axf | grep console |
10 |
> 5594 ? Ssl 0:00 /usr/sbin/console-kit-daemon |
11 |
> 9088 pts/1 SN+ 0:00 \_ grep |
12 |
> --color=auto console |
13 |
> |
14 |
> |
15 |
> I'm starting e17 WM running startx on this box, unlike another |
16 |
> similarly configured machine where mounting devices works fine but I |
17 |
> start that with /etc/init.d/xdm (kdm). |
18 |
|
19 |
|
20 |
that console-kit-daemon is running doesn't mean your session is |
21 |
'registered' with it, you can check with ck-list-sessions |
22 |
|
23 |
yoyo@tabletka ~ $ ck-list-sessions |
24 |
Session18: |
25 |
unix-user = '1000' |
26 |
realname = '(null)' |
27 |
seat = 'Seat18' |
28 |
session-type = '' |
29 |
active = FALSE |
30 |
x11-display = '' |
31 |
x11-display-device = '' |
32 |
display-device = '/dev/ssh' |
33 |
remote-host-name = ... |
34 |
is-local = FALSE |
35 |
on-since = '2011-06-06T07:48:11.669544Z' |
36 |
login-session-id = '' |
37 |
Session1: |
38 |
unix-user = '1000' |
39 |
realname = '(null)' |
40 |
seat = 'Seat1' |
41 |
session-type = '' |
42 |
active = TRUE |
43 |
x11-display = ':0' |
44 |
x11-display-device = '/dev/tty7' |
45 |
display-device = '' |
46 |
remote-host-name = '' |
47 |
is-local = TRUE |
48 |
on-since = '2011-06-01T17:09:37.282998Z' |
49 |
login-session-id = '' |
50 |
|
51 |
the defaults for disk mounting should be that only active (local?) sessions |
52 |
can do it... |
53 |
|
54 |
here it seems that a normaln console (text) / ssh seesions |
55 |
are registered in ck through pam, but X session's have to do that |
56 |
manulally, which i guess is done either in DM's xsession script or in |
57 |
the startup script of the chosen DE ... |
58 |
|
59 |
if your session is not thare, then just add ck-launch-session to the |
60 |
script you use to start the X session (~/.xinitrc in your case i guess, or |
61 |
the script you specify to startx) |
62 |
|
63 |
yoyo |