You are not logged in.

#1 2011-04-21 05:32:53

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Failed to mount "name usbdrive" --> Not authorized

This is really driving me nuts....I did a fresh Arch install.
Everything is working, when using Gnome as DE. I now run Openbox.

In openbox, when I connect a USB drive, I can't access the drive. I get the following error: Failed to mount "Data". Not authorized

Filemanager --> Thunar with volmanager plugin enabled.

slim.conf --> login_cmd exec ck-launch-session /bin/bash -login ~/.xinitrc %session
.xinitrc --> exec openbox-session
rc.conf --> syslog-ng dbus hal network netfs crond alsa wicd sshd

Installed: gvfs, consolekit, dbus, hal

Pls HELP!!

Thx

Sven

Offline

#2 2011-04-21 05:54:16

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,822

Re: Failed to mount "name usbdrive" --> Not authorized

.xinitrc  -->   exec ck-launch-session dbus-launch openbox-session


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2011-04-21 06:41:15

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Re: Failed to mount "name usbdrive" --> Not authorized

Doesn't work. Slim keeps looping then. Probably because the ck-launch-session is in /etc/slim.conf??

Offline

#4 2011-04-21 11:23:11

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Re: Failed to mount "name usbdrive" --> Not authorized

I adjusted /etc/slim.conf back to : slim.conf --> login_cmd exec ck-launch-session /bin/bash -login ~/.xinitrc %session

At least it boots again now, but I still get the same error (:

Offline

#5 2011-04-21 12:07:04

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: Failed to mount "name usbdrive" --> Not authorized

login_cmd exec ck-launch-session dbus-launch /bin/bash -login ~/.xinitrc %session

It's recommended to run dbus-launch after ck-launch-session in slim.conf.


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

#6 2011-04-21 13:24:10

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Re: Failed to mount "name usbdrive" --> Not authorized

lives2evil wrote:
login_cmd exec ck-launch-session dbus-launch /bin/bash -login ~/.xinitrc %session

It's recommended to run dbus-launch after ck-launch-session in slim.conf.

I modified my /etc/slim.conf according to your suggestion
.xinitrc --> exec openbox-session

But now SLIM leads to an error: Failed to execute login command
After entering user / pw it shows the error and the login window is presented again.

Last edited by killerturtle (2011-04-21 13:25:09)

Offline

#7 2011-04-21 13:53:06

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: Failed to mount "name usbdrive" --> Not authorized

run dbus-launch from a terminal, what does it say?


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

#8 2011-04-21 14:36:10

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Re: Failed to mount "name usbdrive" --> Not authorized

lives2evil wrote:

run dbus-launch from a terminal, what does it say?

DBUS_SESSION_BUS_ADRESS=unix:abstract=/tmp/dbus-peIehWY9xfF,guid=<bunch of numbers and letters> DBUS_SESSION_BUS_PID=1902

Greetz
Sven

Offline

#9 2011-04-21 14:43:13

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: Failed to mount "name usbdrive" --> Not authorized

Well, I'm not sure where the problem is.
Could you try get some logs, /var/log/slim.log.
Edit ~/.xinitrc, make it "exec ck-launch-session dbus-launch openbox-session" and run startx from console, post the error (if there's any).
Also, try running "dbus-launch thunar", see if it can mount, also post the output if it doesn't.
Another thing, you can try login with gdm to see if the problem is slim only.


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

#10 2011-04-21 20:31:25

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Re: Failed to mount "name usbdrive" --> Not authorized

Yep, tried login with GDM. GDM + Gnome works fine, no errors when mounting USB.
So it's very likely to be a Slim issue. I'm gonna try and see some logs.

Offline

#11 2011-04-21 20:42:05

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Re: Failed to mount "name usbdrive" --> Not authorized

Ok, did some digging in /var/log....

slim.log:

These lines reoccur a lot....

/usr/bin/xauth: file /home/sven/.Xauthority does not exist
/usr/bin/xauth: file /var/run/slim.auth does not exist

slim: waiting for X server to begin accepting connections
slim: unexpected signal 15

Again, thx for the help!

Offline

#12 2011-04-22 17:33:47

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Re: Failed to mount "name usbdrive" --> Not authorized

Stil need help....

Thx

Offline

#13 2011-04-23 01:56:20

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: Failed to mount "name usbdrive" --> Not authorized

Well, I have been searching about this xauth problem with no hopes.
Could you post the full log.
And is there anything strange that related to the problem, no matter how small?
For the moment, you could continue using GDM with OpenBox.


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

Board footer

Powered by FluxBB