Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] devices in pcmanfm mounten & kein user shutdown
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
kutte128
Apprentice
Apprentice


Joined: 18 May 2004
Posts: 173

PostPosted: Thu Feb 18, 2010 11:07 am    Post subject: [Solved] devices in pcmanfm mounten & kein user shutdown Reply with quote

Hallo,

ich habe einen neuen Rechner und gentoo dort neu aufgesetzt (amd64).
nun habe ich 2 Probleme:

1) ich kann im pcmanfm keine Geräte mounten.
Mein CD-Rom und meine Kamera werden erkannt, aber wenn ich sie mounten will kommt diese Meldung:

Code:
org.freedesktop.hal.storage.mount-removable no <-- (action, result)

Code:
Das Verzeichnis existiert nicht

Manuell mounten als Root klappt.
hal und dbus sind als use-flags aktiv.

2) ich kann meinen Rechner nicht mehr aus LXDE Runterfahren oder Neustarten.
LXDE wird beendet aber statt Neustart/Reboot lande ich nur im XDM.

Ich habe
Code:
ALL   ALL=NOPASSWD:/sbin/shutdown

über visudo eingegeben.

Kann mir jemand helfen?

Viele Grüße,
kutte128


Last edited by kutte128 on Sat Feb 20, 2010 10:42 am; edited 1 time in total
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4568
Location: Germany

PostPosted: Thu Feb 18, 2010 2:23 pm    Post subject: Reply with quote

Hi

Verwendest du evtl. PolicyKit ?
wenn ja. müsstest du dort zunächst die Berechtigungen setzen
zb ähnliches wie
Code:
# polkit-action --set-defaults-any org.freedesktop.hal.storage.mount-removable yes
Doch Vorsicht, dies würde für ALLE User gelten... :!:

für genaueres schaue bitte noch mal in die Manpage.
Back to top
View user's profile Send private message
kutte128
Apprentice
Apprentice


Joined: 18 May 2004
Posts: 173

PostPosted: Sat Feb 20, 2010 10:42 am    Post subject: Reply with quote

Hi,

vielen Dank, genau das war das problem.

Viele Grüße,
kutte128
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Fri Apr 02, 2010 1:34 pm    Post subject: Reply with quote

Josef.95 wrote:
Hi

Verwendest du evtl. PolicyKit ?
wenn ja. müsstest du dort zunächst die Berechtigungen setzen
zb ähnliches wie
Code:
# polkit-action --set-defaults-any org.freedesktop.hal.storage.mount-removable yes
Doch Vorsicht, dies würde für ALLE User gelten... :!:

für genaueres schaue bitte noch mal in die Manpage.


Ich habe dasselbe Problem, kriege mit dem Befehl:
Code:
polkit-action --set-defaults-any org.freedesktop.hal.storage.mount-removable yes
[WARN 20732] Cannot create file '/var/lib/PolicyKit-public/org.freedesktop.hal.storage.mount-removable.defaults-override.pr4jCQ': No such file or directory
[WARN 20732] Error writing override file '/var/lib/PolicyKit-public/org.freedesktop.hal.storage.mount-removable.defaults-override': No such file or directory

Error: code=8: NotAuthorizedToModifyDefaults: uid 0 is not authorized to modify defaults for implicit authorization for action org.freedesktop.hal.storage.mount-removable (requires org.freedesktop.policykit.modify-defaults)


Weiss jemand Rat?
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4568
Location: Germany

PostPosted: Fri Apr 02, 2010 1:53 pm    Post subject: Reply with quote

@Phlogiston

Quote:
uid 0 is not authorized to modify defaults

Hm..., ungewöhnlich...
Nur ein verdacht: läuft der consolekit Dämon evtl. nicht?
/etc/init.d/consolekit status
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Fri Apr 02, 2010 2:05 pm    Post subject: Reply with quote

Josef.95 wrote:
@Phlogiston

Quote:
uid 0 is not authorized to modify defaults

Hm..., ungewöhnlich...
Nur ein verdacht: läuft der consolekit Dämon evtl. nicht?
/etc/init.d/consolekit status


Ja der läuft. Aber eigentlich müssten die Einstellungen eh schon richtig sein in polkit... ein entsprechenden bug hab ich nicht gefunden bis jetzt.

/edit: ein Neustart des Daemons und re-login in kde hats gefixt 8)
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4568
Location: Germany

PostPosted: Fri Apr 02, 2010 3:35 pm    Post subject: Reply with quote

Na prima...!

Noch ein Hinweis, zumindest für KDE und Gnome gibt es auch GUI Frontends womit sich die Berechtigungen dann recht bequem und auch gezielter setzen lassen.
Code:
sys-auth/polkit-kde
     Available versions:  (4) (~)0.95.1 **9999[1]
        {aqua debug kdeenablefinal linguas_da linguas_en_GB linguas_et linguas_gl linguas_lt linguas_nl linguas_pt linguas_pt_BR linguas_sk linguas_sv linguas_uk linguas_zh_TW}                                                                                                       
     Homepage:            http://kde.org
     Description:         PolicyKit integration module for KDE.
..................................................................................................................
gnome-extra/polkit-gnome
     Available versions:  (~)0.94 (~)0.95 (~)0.96 {debug doc examples}
     Homepage:            http://hal.freedesktop.org/docs/PolicyKit
     Description:         PolicyKit policies and configurations for the GNOME desktop

Unter KDE lässt sich das dann unter Systemsettings finden..., unter Gnome sollte es ähnlich sein.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum