You are not logged in.

#1 2012-08-01 15:55:05

moscar
Member
Registered: 2012-03-12
Posts: 23

Consolekit thunar and mounting = problems!

I have searched through the forum and found a lot of info on this subject, but haven't found a solution yet.

I'm trying to mount an internal drive in thunar, and I think the problem relates to ConsoleKit somehow.

I start my wm, i3, with startx, and my .xinitrc file looks like this:

#!/bin/sh

# xcompmgr &
compton &

xrdb -merge ~/.Xresources

# Add terminus font path
xset +fp /usr/share/fonts/local
xset fp rehash

# hsetroot -center .backgrounds/leaves.jpg
hsetroot -center .backgrounds/Speaker_Weave_by_Phil_Jackson.jpg

# wicd-client --tray &
dropboxd &
xscreensaver -no-splash &

nm-applet --sm-disable &


# start awesome
# exec ck-launch-session dbus-launch awesome
#/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh
# exec awesome
exec ck-launch-session dbus-launch i3 -V >>~/.i3/i3log >&1
# exec ck-launch-session i3 -V >>~/.i3/i3log >&1

and this is the output of ck-list-sessions

Session6:
	unix-user = '1000'
	realname = 'Mikkel Oscar Lyderik'
	seat = 'Seat5'
	session-type = ''
	active = FALSE
	x11-display = ':0'
	x11-display-device = '/dev/tty7'
	display-device = '/dev/tty1'
	remote-host-name = ''
	is-local = FALSE
	on-since = '2012-08-01T15:12:06.084329Z'
	login-session-id = '2'
Session1:
	unix-user = '1000'
	realname = 'Mikkel Oscar Lyderik'
	seat = 'Seat1'
	session-type = ''
	active = FALSE
	x11-display = ''
	x11-display-device = ''
	display-device = '/dev/tty1'
	remote-host-name = ''
	is-local = TRUE
	on-since = '2012-08-01T14:53:05.621724Z'
	login-session-id = '1'
	idle-since-hint = '2012-08-01T15:12:35.118198Z'

I think the problem is:

active = FALSE

Because I get "Not Authorized" if I try to mount the drive in thunar.

I have also tried using different loginmanagers but got the same problem, so went back to startx to eleminate possible problems caused by those.

So any ideas of how I can solve this?

Offline

#2 2012-08-01 20:51:20

mariusmeyer
Member
From: Norway
Registered: 2009-04-25
Posts: 244

Re: Consolekit thunar and mounting = problems!

Have you installed gvfs and polkit-gnome? Thunar needs them if you are using udisk to mount the drive.

Offline

#3 2012-08-01 21:22:25

moscar
Member
Registered: 2012-03-12
Posts: 23

Re: Consolekit thunar and mounting = problems!

Yes I have!

Offline

Board footer

Powered by FluxBB