It is currently Thu Apr 24, 2014 1:42 am



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: [SOLVED] USB not authorized in pcmanfm / nautilus ...
PostPosted: Wed Aug 10, 2011 3:50 pm 
Offline

Joined: Mon Aug 25, 2008 7:47 pm
Posts: 25
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 Thu Aug 11, 2011 1:30 pm, edited 1 time in total.

Top
 Profile  
 
 
 Post subject: Re: USB not authorized in pcmanfm / nautilus ...
PostPosted: Wed Aug 10, 2011 6:16 pm 
Offline

Joined: Thu Jan 21, 2010 12:36 am
Posts: 656
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

_________________
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown


Top
 Profile  
 
 Post subject: Re: USB not authorized in pcmanfm / nautilus ...
PostPosted: Thu Aug 11, 2011 12:23 pm 
Offline

Joined: Sun Jun 15, 2008 2:56 pm
Posts: 1229
Location: São Paulo / Brazil
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 &


Top
 Profile  
 
 Post subject: Re: USB not authorized in pcmanfm / nautilus ...
PostPosted: Thu Aug 11, 2011 1:29 pm 
Offline

Joined: Mon Aug 25, 2008 7:47 pm
Posts: 25
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!


Top
 Profile  
 
 Post subject: Re: [SOLVED] USB not authorized in pcmanfm / nautilus ...
PostPosted: Thu Aug 11, 2011 6:22 pm 
Offline

Joined: Sun Jun 15, 2008 2:56 pm
Posts: 1229
Location: São Paulo / Brazil
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:
[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: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605926


Top
 Profile  
 
 Post subject: Re: USB not authorized in pcmanfm / nautilus ...
PostPosted: Fri Jun 15, 2012 6:08 am 
Offline

Joined: Fri Jun 15, 2012 2:48 am
Posts: 2
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred