1 |
On 02/05/14 11:46, Canek Peláez Valdés wrote: |
2 |
>On Wed, Feb 5, 2014 at 10:32 AM, Joseph <syscon780@×××××.com> wrote: |
3 |
>> Which program is responsible for mounting USB stick on XFCE4? |
4 |
>> |
5 |
>> After enable "systemd" flag in make.conf USE= |
6 |
>> the following packages were rebuild: |
7 |
>> sys-apps/busybox |
8 |
>> sys-apps/dbus |
9 |
>> sys-auth/pambase |
10 |
>> sys-auth/polkit |
11 |
>> sys-fs/udisks |
12 |
>> sys-power/upower |
13 |
>> gnome-base/gvfs |
14 |
>> |
15 |
>> But now I have a BIG problem, I can not mount USB stick at all as user (only |
16 |
>> as root). |
17 |
>> Eject doesn't work either. |
18 |
> |
19 |
>I don't know the answer to your question, since I don't use Xfce, but |
20 |
>inside xfce-base/*, but I only see thunar depending on udisks, and |
21 |
>then only with the udev USE flag activated (which is automatic when |
22 |
>using any of the desktop profiles, I believe). Without looking at the |
23 |
>code of Xfce, I can only guess that Thunar handles the mounting of |
24 |
>external devices. |
25 |
> |
26 |
>Let me ask you a few questions: |
27 |
> |
28 |
>1. Before switching to systemd, how did you mounted the stick; it was |
29 |
>automatic (it just appeared in Thunar), or you had to do something? |
30 |
|
31 |
When I insert the USB stick, an icon automatically appears on a desktop so I right click on it an "mount" it. |
32 |
But after doing these changes it keep telling me I'm "Not authorized to perform the operation" (mount it or eject the USB). |
33 |
|
34 |
> |
35 |
>2. When you say that you can mount it only as root, you mean inside a |
36 |
>Xfce session as root? |
37 |
|
38 |
To mount the USB I have to login as root, from command line. |
39 |
|
40 |
> |
41 |
>3. The following line is in /etc/pam.d/system-auth? |
42 |
> |
43 |
> -session optional pam_systemd.so |
44 |
|
45 |
Yes, I have this line in in /etc/pam.d/system-auth |
46 |
|
47 |
> |
48 |
>4. Using systemd is more than just emerging it; you need to change |
49 |
>your init= line in grub-legacy or GRUB2 and reboot. The contents of |
50 |
>/proc/1/comm is "systemd"? |
51 |
|
52 |
I only have this: |
53 |
cat /proc/1/comm |
54 |
init |
55 |
|
56 |
> |
57 |
>5. If the contents of /proc/1/comm is "systemd", could you please show |
58 |
>us the output from the following commands when inside your Xfce |
59 |
>session (as your normal user): |
60 |
> |
61 |
> • systemctl --all --full |
62 |
> • loginctl (annotate your-session [first column] and your-seat [last column]) |
63 |
> • loginctl seat-status your-seat |
64 |
> • loginctl session-status your-session |
65 |
> • loginctl user-status your-user |
66 |
> |
67 |
>Regards. |
68 |
>-- |
69 |
>Canek Peláez Valdés |
70 |
>Posgrado en Ciencia e Ingeniería de la Computación |
71 |
>Universidad Nacional Autónoma de México |
72 |
|
73 |
systemctl --all --full |
74 |
Failed to get D-Bus connection: No connection to service manager. |
75 |
|
76 |
loginctl |
77 |
Failed to issue method call: Launch helper exited with unknown return code 1 |
78 |
|
79 |
-- |
80 |
Joseph |