On Wed, Feb 5, 2014 at 10:32 AM, Joseph <syscon...@gmail.com> wrote:
> Which program is responsible for mounting USB stick on XFCE4?
>
> After enable "systemd" flag in make.conf USE=
> the following packages were rebuild:
> sys-apps/busybox
> sys-apps/dbus
> sys-auth/pambase
> sys-auth/polkit
> sys-fs/udisks
> sys-power/upower
> gnome-base/gvfs
>
> But now I have a BIG problem, I can not mount USB stick at all as user (only
> as root).
> Eject doesn't work either.

I don't know the answer to your question, since I don't use Xfce, but
inside xfce-base/*, but I only see thunar depending on udisks, and
then only with the udev USE flag activated (which is automatic when
using any of the desktop profiles, I believe). Without looking at the
code of Xfce, I can only guess that Thunar handles the mounting of
external devices.

Let me ask you a few questions:

1. Before switching to systemd, how did you mounted the stick; it was
automatic (it just appeared in Thunar), or you had to do something?

2. When you say that you can mount it only as root, you mean inside a
Xfce session as root?

3. The following line is in /etc/pam.d/system-auth?

   -session        optional        pam_systemd.so

4. Using systemd is more than just emerging it; you need to change
your init= line in grub-legacy or GRUB2 and reboot. The contents of
/proc/1/comm is "systemd"?

5. If the contents of /proc/1/comm is "systemd", could you please show
us the output from the following commands when inside your Xfce
session (as your normal user):

   • systemctl --all --full
   • loginctl (annotate your-session [first column] and your-seat [last column])
   • loginctl seat-status your-seat
   • loginctl session-status your-session
   • loginctl user-status your-user

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México

Reply via email to