You are not logged in.

#1 2012-05-25 12:58:20

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Unable to mount usb drives Not authorized to perform operation[solved]

Hey there,
So I performed an update last week and restarted my computer and now the mounting of my USB drives is not working. Here are some things to help

consolekit 0.4.6-3
dbus-core 1.4.20-2
Slim slim 1.3.3-3
     /etc/slim.conf

default_path        /bin:/usr/bin:/usr/local/bin
default_xserver     /usr/bin/X
xserver_arguments -nolisten tcp vt07
halt_cmd            /sbin/shutdown -h now
reboot_cmd          /sbin/shutdown -r now
console_cmd         /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd        /usr/sbin/suspend
xauth_path         /usr/bin/xauth
authfile           /var/run/slim.auth
numlock             on
# login_cmd           exec /bin/sh - ~/.xinitrc %session
login_cmd exec ck-launch-session dbus-launch /bin/bash -login ~/.xinitrc %session

# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd      some command
# sessionstop_cmd       some command

# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon        yes

# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions            xfce4,icewm,wmaker,blackbox

# Executed when pressing F11 (requires imagemagick)
screenshot_cmd      import -window root /slim.png

# welcome message. Available variables: %host, %domain
welcome_msg         Welcome to %host

# Session message. Prepended to the session name when pressing F1
# session_msg         Session:

# shutdown / reboot messages
shutdown_msg       The system is halting...
reboot_msg         The system is rebooting...

# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user        billybob

# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password      no

# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature

auto_login          yes


# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme       default

# Lock file
lockfile            /var/lock/slim.lock

# Log file
logfile             /var/log/slim.log

/etc/rc.conf

HARDWARECLOCK=UTC
TIMEZONE="America/Chicago"
KEYMAP=
CONSOLEFONT=
CONSOLEMAP=
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="yes"
USECOLOR="yes"
MODULES=()
USEDMRAID="no"
USEBTRFS="no"
USELVM="no"
HOSTNAME=Box-1
interface=wlan0
address=
netmask=
broadcast=
gateway=
NETWORK_PERSIST="no"
DAEMONS=(syslog-ng dbus cupsd samba sshd wicd crond)

~/.xinitrc

start lxde

groups

lp wheel games video audio optical storage scanner power users

Now it had been working fine for almost 9 months now, until my last update. Can anyone see any reason as to why this would be happening?

Last edited by mich04 (2012-05-25 13:12:06)


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#2 2012-05-25 13:11:40

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: Unable to mount usb drives Not authorized to perform operation[solved]

Solved at this thread

https://bbs.archlinux.org/viewtopic.php?id=142110

remove ck-launch-session from
~/.xinitrc
and
/etc/slim.conf


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#3 2012-11-25 13:22:56

pe7er
Member
From: Nijmegen, Netherlands
Registered: 2012-03-15
Posts: 45
Website

Re: Unable to mount usb drives Not authorized to perform operation[solved]

Thanks!
I had a similar problem and I've removed the "--with-ck-launch" from

exec startxfce4 --with-ck-launch

but that didn't solve my problem completely.
At least after I insert an USB stick in the USB port, it is now shown in the file manager, but I get an "Not authorized to perform operation" when I try to select it.

I'll now look into "ConsoleKit replaced by logind" which was mentioned in https://bbs.archlinux.org/viewtopic.php?id=153379


Peter Martin - Joomla Open Source CMS specialist www.db8.nl
OS: Arch Linux | Arch Linux ARM | Debian | Ubuntu
Toys;-) Raspberry Pi | SheevaPlug | PogoPlug

Offline

Board footer

Powered by FluxBB