Posts: 25
vassorado
Joined: 25 Aug 2008
#1
Hello,

I cant mount my usb pendrives, etc.. it gives me a message:"Not Authorized".

this happens on nautilus and pcmanfm - thunar works fine (but i cant do an"smb://xxx.xxx.xxx.xxx" or"ftp://xxx.xxx.xxx.xxx"with thunar)

pcmanfm, nautilus and PyNeighborhod only works fine when the user is root.

how can i fix this?

Thank you
Last edited by vassorado on 11 Aug 2011, 11:30, edited 1 time in total.
Posts: 1,062
Dave
Joined: 20 Jan 2010
#2
I have experienced the same problem several times, I think it is with the way pcmanfm is built. In M11 there is a good automount udev rule included in /etc/udev/rules.d it is named 99-usb-storage-rules.unused or similar. You will need to remove the .unused portion, this will automount the usb device in /media. It is really meant for rox-filer but also works well for pcmanfm.

To enable
menu --> run
type: roxterm
press: ok
type: sux and press enter
type: your root password and press enter
type: pcmanfm /etc/udev/rules.d and press enter
find: 99-usb-storage-rules.unused
right-click: select rename
remove: .unused
press: ok
close: pcmanfm
close: roxterm

open: pcmanfm as normal user
type: / in address bar and press enter
drag: media folder to the side panel for quick access
insert: usb key and it should show up in /media
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#3
Another thing that may work is to replace package slim for package gdm3, have gnome-keyring installed and use the lines in bold below in ~/.icewm/startup

#!/bin/bash
update-icewm-menu.sh &

if which dbus-launch >/dev/null && test -z"$DBUS_SESSION_BUS_ADDRESS"; then
eval"$(dbus-launch --sh-syntax --exit-with-session)"
fi

/usr/bin/gnome-keyring-daemon --start --components=ssh &
/usr/bin/gnome-keyring-daemon --start --components=gpg &
/usr/bin/gnome-keyring-daemon --start --components=pkcs11 &
/usr/bin/gnome-keyring-daemon --start --components=secrets &
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &

#postler -m &
xscreensaver &
#sleep 2 && pcmanfm --desktop &
sleep 3 && volumeicon &
Posts: 25
vassorado
Joined: 25 Aug 2008
#4
Thank You,

I tryed out your suggestion dave but for may case it didnt work.

luckly secipolla idea worked just fine - Obrigadão Cara!

now that the essentials are ok i can start to tweek my antix to make it my default OS again. - this makes me very happy =D.

thank you guys!
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#5
Então mais uma dica.
No GDM aparecem duas entradas pro IceWM. Elas iniciam a mesma coisa. É uma falha do pacote no Debian.
Apague o arquivo /usr/share/xsessions/IceWM.desktop e edite o arquivo /usr/share/xsessions/icewm-session.desktop como abaixo:

Code: Select all

[Desktop Entry]
Type=Application
Name=IceWM Session
Name[pt_BR]=Sessão do IceWM
Comment=IceWM session manager
Comment[pt_BR]=Gerenciador de sessão IceWM
Icon=icewm
TryExec=/usr/bin/icewm-session
Exec=icewm-session
English:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605926"
linktext was:"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605926"
====================================
Posts: 2
eldergeek
Joined: 15 Jun 2012
#6
Dave wrote:To enable
menu --> run
type: roxterm
press: ok
type: sux and press enter
type: your root password and press enter
type: pcmanfm /etc/udev/rules.d and press enter
find: 99-usb-storage-rules.unused
right-click: select rename
remove: .unused
press: ok
close: pcmanfm
close: roxterm
---

I had to modify these instructions just slightly but this worked very well for me.

menu --> run
type: roxterm
press: ok
type: sux and press enter
type: your root password and press enter
type: rox /etc/udev/rules.d and press enter
find: 99-usb-storage-rules.unused
right-click: select rename
remove: .unused
press: Rename (file will be automatically saved with the modified name)
close: rox
close: roxterm

The default file manager, will now auto-mount and be able to access a USB flash drive with out permission errors.