View previous topic :: View next topic |
Author |
Message |
kutte128 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 18 May 2004 Posts: 173
|
Posted: Thu Feb 18, 2010 11:07 am Post subject: [Solved] devices in pcmanfm mounten & kein user shutdown |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Josef.95 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 03 Sep 2007 Posts: 4693 Location: Germany
|
Posted: Thu Feb 18, 2010 2:23 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
kutte128 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 18 May 2004 Posts: 173
|
Posted: Sat Feb 20, 2010 10:42 am Post subject: |
|
|
Hi,
vielen Dank, genau das war das problem.
Viele Grüße,
kutte128 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Phlogiston Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1076226881414f06f052a36.jpg)
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Fri Apr 02, 2010 1:34 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Josef.95 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 03 Sep 2007 Posts: 4693 Location: Germany
|
Posted: Fri Apr 02, 2010 1:53 pm Post subject: |
|
|
@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 |
|
![](templates/gentoo/images/spacer.gif) |
Phlogiston Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1076226881414f06f052a36.jpg)
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Fri Apr 02, 2010 2:05 pm Post subject: |
|
|
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 ![Cool 8)](images/smiles/icon_cool.gif) _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Josef.95 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 03 Sep 2007 Posts: 4693 Location: Germany
|
Posted: Fri Apr 02, 2010 3:35 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|