Hi,
also bis jetzt hat mir Archlinux Spass gemacht, aber nun wird's langsam stressig.
Mir ist heute aufgefallen, das ich meine USB Sticks und Extern. Festplatten nicht mehr über Thunar mounten kann.
Da bekomme ich die Meldung "Not Authorized".
Vor einer Woche ging alles noch tadellos.
Hab am System Openbox nichts geändert, lediglich die Updates geladen.
Wollte jetzt ein Backup machen, und die Platte lässt sich nicht mounten.
Ich hab absolut keine Ahnung was ich machen kann, als root geht es auch nicht und in meiner ".xinit steht
exec ck-launch-session dbus-launch openbox-session
drin.
Ich bitte um Hilfe!

Gruß
fcbock11
Guten Morgen,
hab jetzt mal PcManFM zusätzlich installiert, damit klappt der Zugriff auf den USB Stick
und der ext. Festplatte ohne Probleme.
Und nachdem zb der Stick über PCManFM eingebunden ist, kann ich auch über Thunar drauf
zugreifen.

Dann hab ich Thunar mittels -Rs deinstalliert, den Stick in PcManFM nochmal getestet und es kommt
wieder "Not Authorized"

Was ist das denn für ein Käse??
Moin Moin,

ich sach mal
# pacman -S thunar-volman
# pacman -S gvfs

Zeig mal Deine Gruppenzugehörigkeit.


Was gibt der folgende Befehl aus?
# pacman -Qs polkit

https://wiki.archlinux.org/index.php/Openbox
If you also use polkit and D-Bus (e.g. for auto-mount drivers in Nautilus/Gnome) use:

exec ck-launch-session dbus-launch openbox-session

Note: pyxdg is required for Openbox's xdg-autostart
Note: "dbus-launch" must be placed after "ck-launch-session" or you will experience mounting problems

Hth,

Edward
Edward d'Eath schriebMoin Moin,

ich sach mal
# pacman -S thunar-volman
# pacman -S gvfs

Zeig mal Deine Gruppenzugehörigkeit.


Was gibt der folgende Befehl aus?
# pacman -Qs polkit


https://wiki.archlinux.org/index.php/Openbox
If you also use polkit and D-Bus (e.g. for auto-mount drivers in Nautilus/Gnome) use:

exec ck-launch-session dbus-launch openbox-session

Note: pyxdg is required for Openbox's xdg-autostart
Note: "dbus-launch" must be placed after "ck-launch-session" or you will experience mounting problems

Hth,

Edward
Hi Edward,
thunar-volman und gvfs sind installiert.
# pacman -Qs polkit
Gibt folgendes aus:
local/polkit 0.103-1
    Application development toolkit for controlling system-wide privileges
local/polkit-gnome 0.105-1
    PolicyKit integration for the GNOME desktop
local/polkit-qt 0.103.0-1
    A library that allows developers to access PolicyKit API with a nice
    Qt-style API
Meine Gruppen:
dirk@fcbock11:~$ groups
sys lp wheel games video audio optical storage scanner power users
Meine xinitrc
  GNU nano 2.2.6              Datei: .xinitrc                                   

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

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
(sleep 2 && nitrogen --restore) &
#tint2 &
thunar --daemon &
xfce4-panel &
xfce4-power-manager &
volumeicon &
#(sleep 4 && conky) &
#cairo-compmgr &
exec keepassx &
conky &
setxkbmap -layout de -variant nodeadkeys &
nm-applet &
numlockx &
xset -dpms &
exec ck-launch-session dbus-launch openbox-session
Gruß
fcbock11
Ich denke nicht das das wirklich etwas mit deinem Problem zu tun hat, aber du könntest bei der Gelegenheit mal deine .xinitrc entrümpeln.
[mos@fuckup ~]$ cat .xinitrc 
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

exec ck-launch-session dbus-launch --exit-with-session openbox-session
alles was dann vom WM gemacht werden soll kommt in die .config/openbox/autostart.sh
[mos@fuckup ~]$ cat .config/openbox/autostart.sh
# This shell script is run before Openbox launches.
# Environment variables set here are passed to the Openbox session.

# Set a background color
BG=""
if which hsetroot >/dev/null 2>&1; then
    BG=hsetroot
else
    if which esetroot >/dev/null 2>&1; then
	BG=esetroot
    else
	if which xsetroot >/dev/null 2>&1; then
	    BG=xsetroot
	fi
    fi
fi
test -z $BG || $BG -solid "#303030"

# D-bus
if which dbus-launch >/dev/null 2>&1 && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
       eval `dbus-launch --sh-syntax --exit-with-session`
fi

# Make GTK apps look and behave how they were set up in the gnome config tools
if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then
  /usr/libexec/gnome-settings-daemon &
elif which gnome-settings-daemon >/dev/null 2>&1; then
  gnome-settings-daemon &
# Make GTK apps look and behave how they were set up in the XFCE config tools
elif which xfce-mcs-manager >/dev/null 2>&1; then
  xfce-mcs-manager n &
fi

# Preload stuff for KDE apps
if which start_kdeinit >/dev/null 2>&1; then
  LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
fi

# Run XDG autostart things.  By default don't run anything desktop-specific
# See xdg-autostart --help more info
DESKTOP_ENV="OPENBOX"
if which /usr/lib/openbox/xdg-autostart >/dev/null 2>&1; then
  /usr/lib/openbox/xdg-autostart $DESKTOP_ENV
fi
xscreensaver -no-splash &
eval `cat $HOME/.fehbg` &
avant-window-navigator &
cairo-compmgr &
sleep 2 && claws-mail &
sleep 2 && pidgin &
Mein System ist aktuell (openbox 3.5.0-4, thunar 1.2.3-3, thunar-volman 0.6.0-2) und mounten kann ich problemlos.
mannohneschuh schrieb alles was dann vom WM gemacht werden soll kommt in die .config/openbox/autostart.sh
<KorinthenKackMode>
.config/openbox/autostart.sh gibt es schon seit dem letzten Openbox-Update nicht mehr.
</KorinthenKackMode>

https://wiki.archlinux.org/index.php/Openbox
Installation

Install openbox, available in the Official Repositories. After installation, you should copy the default configuration files rc.xml, menu.xml, autostart, and environment to ~/.config/openbox:
Note: Do this as a regular user, not as root.

$ mkdir -p ~/.config/openbox
$ cp /etc/xdg/openbox/{rc.xml,menu.xml,autostart,environment} ~/.config/openbox

These four files form the basis of your openbox configuration. Each file addresses a unique aspect of your configuration and the role of each file is as follows:

rc.xml
This is the main configuration file. It defines keyboard shortcuts, themes, virtual desktops, and more.

menu.xml
This file defines the content of the right-click menu. It defines launchers for applications and other shortcuts. See the #Menus section.

autostart
This file is read by openbox-session at startup. It contains the programs that are run at startup. It is typically used to set environment variables, launch panels/docks, set background image or execute other startup scripts. See the Openbox Wiki.

environment
This file is sourced by openbox-session at startup. It contains environment variables to be set in Openbox's context. Any variables you set here will be visible to Openbox itself and anything you start from its menus.
So, endlich Feierabend,

ciao,

Edward
Hallo mannohneschuh,

hab jetzt mal meine xinitrc entrümpeln wollen, doch nach dem neustart hate ich nur noch den blanken grauen Desktop, kein Panel oder Hintergrundbild.
Meine autostart.sh in .config/openbox sieht so aus (keine eigenen Einträge)
#
# These things are run when an Openbox X Session is started.
# You may place a similar script in $HOME/.config/openbox/autostart
# to run user-specific things.
#

# If you want to use GNOME config tools...
#
#if test -x /usr/lib/openbox/gnome-settings-daemon >/dev/null; then
#  /usr/lib/openbox/gnome-settings-daemon &
#elif which gnome-settings-daemon >/dev/null 2>&1; then
#  gnome-settings-daemon &
#fi

# If you want to use XFCE config tools...
#
Diese Datei ist die Kopie der in /etc/xdg/openbox befindlichen autostart Datei. Kopiert mit der menu.xml rc.xml und der environment Datei, so wie es im Wiki steht. Habe dann lediglich eine neue autostart.sh erstellt und den Inhalt der autostart Datei reinkopiert.

Nun habe ich aus der .xinitrc diese Sachen:
(sleep 2 && nitrogen --restore) &
#tint2 &
thunar --daemon &
xfce4-panel &
xfce4-power-manager &
volumeicon &
#cairo-compmgr &
exec keepassx &
conky &
setxkbmap -layout de -variant nodeadkeys &
nm-applet &
numlockx &
xset -dpms &
in die autostart.sh kopiert und aus der xinitrc gelöscht.
Es stand dann ledigich in der xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

exec ck-launch-session dbus-launch openbox-session
Und wie geschrieben hatte ich nach dem Neustart einen blaken Desktop, also habe ich die Sachen wieder in die xinitrc kopiert und aus der Autostart.sh gelöscht.
Jetzt hab ich wieder meinen Desktop.

Ich vermute mal entweder mach ich hier was falsch oder mit der ganzen Openbox Konfiguration stimmt was nicht.
Was die Versionen von Openbox/Thunar/Thunar-volman angeht hab ich die selben wie du.

Gruß
fcbock11
Hi Edward, Hi mannohneschuh,
es ist gelöst!
Einmal durch Edwards Hinweis mit der autostart Datei, hab meine autostart.sh gelöscht und die auszuführenden Programme aus der
xinitrc in die autostart (ohne sh) Datei eingefügt und dann die Einträge aus der xinitrc gelöscht.

Anschließend in der xinitrc den Eintrag
exec ck-launch-session dbus-launch openbox-session
mit
--exit-with-session
ergänzt. Der Eintrag sieht jetzt so wie bei mannohneschuh aus.

Dann hab ich einen Neustart gemacht und alles funkt jetzt so wie es soll.
Sogar nach der Deinstallation von PCManFM 🙂

Ich danke euch beiden sehr für die Hilfe!!
Hab schon Panik geschoben, daß Arch/Openbox neu installieren muß.

Ihr seit einfach Klasse!!!

Jetzt bleibt nur noch das Problem mit den Icons in Thunar.
Vielleicht habt ihr ja da auch ne Lösung?

https://forum.archlinux.de/viewtopic.php?id=20671

Gruß
fcbock11
fcbock11 schrieb Ihr seit einfach Klasse!!!
Herzlichen Dank für Dein Lob, ich habe gerne Hilfe zur Selbsthilfe gegeben und ich bin sicher, das Du Dein anderes Problem auch noch gelöst bekommst.


Ciao,

Edward
Edward d'Eath schrieb
mannohneschuh schrieb alles was dann vom WM gemacht werden soll kommt in die .config/openbox/autostart.sh
<KorinthenKackMode>
.config/openbox/autostart.sh gibt es schon seit dem letzten Openbox-Update nicht mehr.
</KorinthenKackMode>
[…]
Damn! Die ~/.config/openbox/autostart.sh gibts seit meiner letzten Openbox-Installation und sie funktioniert tadellos.

initialisiere besserwissermodus…
… done
cat /var/log/pacman.log | grep openbox
[2011-02-02 02:30] Running 'pacman -S openbox openbox-themes'
[2011-02-02 02:30] Place menu.xml, rc.xml and autostart.sh in ~/.config/openbox
[2011-02-02 02:30] They can be found in /etc/xdg/openbox
[2011-02-02 02:30] installed openbox (3.4.11.2-2)
[2011-02-02 02:30] installed openbox-themes (1.0.2-1)
[2011-08-16 13:24] upgraded openbox (3.4.11.2-2 -> 3.5.0-1)
[2011-08-17 13:16] upgraded openbox (3.5.0-1 -> 3.5.0-2)
[2011-08-18 15:33] upgraded openbox (3.5.0-2 -> 3.5.0-3)
[2011-08-29 11:56] upgraded openbox (3.5.0-3 -> 3.5.0-4)
[2011-11-04 13:28] upgraded openbox-themes (1.0.2-1 -> 1.0.2-2)
funktioniert also nach seit dem 02.02.2011 ziemlich gut. Gelegentlich mal was hinzugefügt und was anderes daraus entfernt, aber seit dem in Benutzung.

deaktiviere besserwissermodus…
… done
Ich schau mal ob die auch als ~/.config/openbox/autostart funktioniert.
mannohneschuh schrieb Damn! Die ~/.config/openbox/autostart.sh gibts seit meiner letzten Openbox-Installation und sie funktioniert tadellos.

initialisiere besserwissermodus…
… done
cat /var/log/pacman.log | grep openbox
[2011-02-02 02:30] Running 'pacman -S openbox openbox-themes'
[2011-02-02 02:30] Place menu.xml, rc.xml and autostart.sh in ~/.config/openbox
[2011-02-02 02:30] They can be found in /etc/xdg/openbox
[2011-02-02 02:30] installed openbox (3.4.11.2-2)
[2011-02-02 02:30] installed openbox-themes (1.0.2-1)
[2011-08-16 13:24] upgraded openbox (3.4.11.2-2 -> 3.5.0-1)
[2011-08-17 13:16] upgraded openbox (3.5.0-1 -> 3.5.0-2)
[2011-08-18 15:33] upgraded openbox (3.5.0-2 -> 3.5.0-3)
[2011-08-29 11:56] upgraded openbox (3.5.0-3 -> 3.5.0-4)
[2011-11-04 13:28] upgraded openbox-themes (1.0.2-1 -> 1.0.2-2)
funktioniert also nach seit dem 02.02.2011 ziemlich gut. Gelegentlich mal was hinzugefügt und was anderes daraus entfernt, aber seit dem in Benutzung.

deaktiviere besserwissermodus…
… done
Ich schau mal ob die auch als ~/.config/openbox/autostart funktioniert.

Das kann ich toppen!

<ErbsenZählerMode>
Nimm das!
Upgrading to Openbox 3.5

If you are upgrading to Openbox 3.5 or later from an earlier release, be aware of these changes:
  • There is a new config file called environment that you should copy from /etc/xdg/openbox to ~/.config/openbox .
  • The config file previously called autostart.sh is now just called autostart. You should rename yours to remove the .sh from the end of the name.
  • Some of the configuration grammar in rc.xml has changed. While Openbox appears to understand the old options, it would be wise to compare your configuration to the one in /etc/xdg/openbox and look for changes that affect you.
</ErbsenZählerMode>

Jahahahahahaha [hinterfotzigesLachen], jetzt biste platt, wa?! :-)

Schönes Wochenende allen,

ciao,

Edward
Edward d'Eath schrieb
mannohneschuh schrieb […]

Das kann ich toppen!

<ErbsenZählerMode>
Nimm das!
Upgrading to Openbox 3.5

If you are upgrading to Openbox 3.5 or later from an earlier release, be aware of these changes:
  • There is a new config file called environment that you should copy from /etc/xdg/openbox to ~/.config/openbox .
  • The config file previously called autostart.sh is now just called autostart. You should rename yours to remove the .sh from the end of the name.
  • Some of the configuration grammar in rc.xml has changed. While Openbox appears to understand the old options, it would be wise to compare your configuration to the one in /etc/xdg/openbox and look for changes that affect you.
</ErbsenZählerMode>

Jahahahahahaha [hinterfotzigesLachen], jetzt biste platt, wa?! :-)

Schönes Wochenende allen,

ciao,

Edward
Hab ja den Wahrheitsgehalt deiner Aussage nicht angezweifelt und bereits die Doku und man gelesen, es halt nur noch nicht umgesetzt.
<nichtkleinbeigeben>
Und trotzdem funktionierts noch! Mehr will ich nich 🙂
</nichtkleinbeigeben>

Und um nochmal ein wenig mehr in Richtung Topic zu kommen:
liegts nun an dem zusätzlichen '--exit-with-session' das thunar sich nun "normal" verhält? das Wüsst ich schon ganz gern…

Schönes WE auch dir 🙂
@Mannohneshuh

War auch nur als Schnack gedacht.


Habs gerade mal gestestet, mal mit, mal ohne --exit-with-session. Kein Unterschied feststellbar. Habe sogar den Rechner nach der Änderung (ohne --exit-with-session) in ~/.xinitrc gebootet und nach dem erneutem einloggen und starten von Thunar eine meiner externen Festplatten angeworfen. Kurze Zeit später erscheint die Festplatte in der Seitenleiste und ich kann sie als normaler Userr mounten und unmounten. Das geht ebenso mit PCManFM.

~/.xinitrc
# exec ck-launch-session dbus-launch openbox-session
# exec ck-launch-session dbus-launch --exit-with-session openbox-session
Diese Pakete sind installiert:
pacman -S dbus
pacman -S pyxdg
pacman -S consolekit
pacman -S polkit
pacman -S xfce4-notify
pacman -Qs dbus
local/dbus 1.4.16-1
    Freedesktop.org message bus system
local/dbus-core 1.4.16-1
    Freedesktop.org message bus system
local/dbus-glib 0.98-1
    GLib bindings for DBUS
local/dbus-python 0.84.0-1
    Python bindings for DBUS
pacman -Qs pyxdg
local/pyxdg 0.19-2
    Python library to access freedesktop.org standards.
pacman -Qs consolekit
local/consolekit 0.4.5-2
    A framework for defining and tracking users, login sessions, and seats
pacman -Qs polkit
local/polkit 0.103-1
    Application development toolkit for controlling system-wide privileges
local/polkit-gnome 0.105-1
    PolicyKit integration for the GNOME desktop
pacman -Qs xfce4-notifyd
local/xfce4-notifyd 0.2.2-2 (xfce4-goodies)
    Notification daemon for the Xfce desktop
pacman -Qs openbox
local/obconf 2.0.3.git20100309-2
    A GTK2 based configuration tool for the Openbox windowmanager
local/obmenu 1.0-9
    Openbox menu editor.
local/openbox 3.5.0-4 (lxde)
    A window manager for the X11 windowing system
local/openbox-themes 1.0.2-2
    Various themes for the Openbox window manager.
pacman -Qs thunar
local/thunar 1.2.3-3 (xfce4)
    Modern file manager for Xfce
local/thunar-archive-plugin 0.3.0-1 (xfce4-goodies)
    create and deflate archives in thunar
local/thunar-media-tags-plugin 0.2.0-1 (xfce4-goodies)
    Adds special features for media files to the Thunar File Manager
local/thunar-volman 0.6.0-2 (xfce4-goodies)
    automatic management for removeable devices in thunar
pacman -Qs pcmanfm
local/libfm 0.1.17-1 (lxde)
    the core of next generation file manager PCManFM
local/pcmanfm 0.9.10-1 (lxde)
    File manager of the LXDE Desktop
pacman -Qs gvfs
local/gvfs 1.10.1-2
    Userspace virtual filesystem implemented as a pluggable module for gio
local/gvfs-afc 1.10.1-2
    AFC (mobile devices) backend for gvfs
local/gvfs-gphoto2 1.10.1-2
    gphoto2 (PTP camera/MTP media player) backend for gvfs
local/gvfs-obexftp 1.10.1-2
    ObexFTP (bluetooth) backend for gvfs
local/gvfs-smb 1.10.1-2
    SMB/CIFS (Windows client) backend for gvfs

Mein User ist in den folgenden Gruppen:

groups
video audio optical camera users wireshark
/etc.rc.conf
DAEMONS=(syslog-ng dbus acpid network crond alsa)
Hth,

Edward
6 Tage später
Ich schließe das Thema, da mein Problem gelöst ist.