You are not logged in.

#1 2011-05-30 08:45:32

arch_cy
Member
From: ~/.xinitrc
Registered: 2011-03-04
Posts: 39

[SOLVED] Fail to mount (Not authorized)

Hello to everyone.
Before publishing this issue i have read the following issues without any result to my problem (https://bbs.archlinux.org/viewtopic.php?id=117326 and http://bbs.archbang.org/viewtopic.php?id=289)

When i double click to an external device (but and for internal device [a partition]) XFCE returns me "Fail to mount "Name" (Not authorized)".
I am using Arch Linux 64bit with XFCE4 but without any Display Manager. I start the XFCE by the command line interface and the command "startxfce4".

Here is my rc.conf

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng dbus network netfs crond alsa)

My user is added to the Storage and Optical groups.

Also my XFCE4 installation is the following:

pacman -S xfce4
pacman -S xfce4-goodies
pacman -S gstreamer0.10-base-plugins
pacman -S gamin
pacman -S --needed gvfs
pacman -S gvfs-afc
pacman -S thunar-volman

Last edited by arch_cy (2011-05-30 10:16:07)


Knowledge ⇛ Linux: Good ┃ Programming: Yes (Java, C++/C, Pacal, Visual Basic, Python, HTML)

Desktop: HP Compaq (1GB RAM, Intel Core 2 Duo, GeForce 7300E, D-Link DGE-530T Gigabit) Arch Linux 64bit with XFCE
Netbook: HP Mini 110-3160ev (Intel Atom, RaLink RT3090 Wireless) MeeGov1.2 (32bit)

Offline

#2 2011-05-30 09:11:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Fail to mount (Not authorized)

So you tried consolekit/dbus and it didn't work?

Xfce Wiki article wrote:

dbus-launch starts a dbus-daemon instance to provide communication with PolicyKit. ck-launch-session starts a clean consolekit session needed by Xfce for power management, automounting, shutting down/rebooting etc...

Shutting down, rebooting, and automounting from within Xfce
Make sure that you are using exec ck-launch-session dbus-launch --exit-with-session startxfce4 in ~/.xinitrc or a ConsoleKit/PolicyKit capable display manager, such as GDM or SLiM.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2011-05-30 09:44:46

arch_cy
Member
From: ~/.xinitrc
Registered: 2011-03-04
Posts: 39

Re: [SOLVED] Fail to mount (Not authorized)

I logout from the XFCE and then i start it again with the

exec ck-launch-session dbus-launch --exit-with-session startxfce4

command, XFCE4 starts nice but the problem still there.

Last edited by arch_cy (2011-05-30 09:45:14)


Knowledge ⇛ Linux: Good ┃ Programming: Yes (Java, C++/C, Pacal, Visual Basic, Python, HTML)

Desktop: HP Compaq (1GB RAM, Intel Core 2 Duo, GeForce 7300E, D-Link DGE-530T Gigabit) Arch Linux 64bit with XFCE
Netbook: HP Mini 110-3160ev (Intel Atom, RaLink RT3090 Wireless) MeeGov1.2 (32bit)

Offline

#4 2011-05-30 10:03:17

arch_cy
Member
From: ~/.xinitrc
Registered: 2011-03-04
Posts: 39

Re: [SOLVED] Fail to mount (Not authorized)

jasonwryan: Thank you so match Solved.

cp /etc/skel/.xinitrc ~/.xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec ck-launch-session dbus-launch --exit-with-session startxfce4

and after a reboot with the command startx everything is ok!!
Thank you very match man!


Knowledge ⇛ Linux: Good ┃ Programming: Yes (Java, C++/C, Pacal, Visual Basic, Python, HTML)

Desktop: HP Compaq (1GB RAM, Intel Core 2 Duo, GeForce 7300E, D-Link DGE-530T Gigabit) Arch Linux 64bit with XFCE
Netbook: HP Mini 110-3160ev (Intel Atom, RaLink RT3090 Wireless) MeeGov1.2 (32bit)

Offline

#5 2011-05-30 10:10:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Fail to mount (Not authorized)

No problem: glad you got it sorted. Please mark your thread as [Solved].


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB