On 02/05/14 11:46, Canek Peláez Valdés wrote:
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?

When I insert the USB stick, an icon automatically appears on a desktop so I right click 
on it an "mount" it.
But after doing these changes it keep telling me I'm "Not authorized to perform the 
operation" (mount it or eject the USB).


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

To mount the USB I have to login as root, from command line.


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

  -session        optional        pam_systemd.so

Yes, I have this line in in /etc/pam.d/system-auth


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"?

I only have this:
cat /proc/1/comm
init


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

systemctl --all --full
Failed to get D-Bus connection: No connection to service manager.

loginctl
Failed to issue method call: Launch helper exited with unknown return code 1

--
Joseph

Reply via email to