Thursday, September 13, 2018

[fedora-arm] Re: User cannot mount USB device - Fedora-Xfce-armhfp-29-20180911.n.0-sda

On 9/13/18 11:14 AM, Peter Robinson wrote:
>>>> I'm not replying to all your emails as I suspect the problem is the
>>>> same for all 3.
>>>>
>>>> Generally in Linux a remote user by default won't get access to local
>>>> devices. I'm not sure in the case of VNC but in the vast majority of
>>>> cases remote desktops will have emulated devices that access the users
>>>> local device for that functionality.
>>>>
>>>> In all cases can you access the devices when logged in locally on the
>>>> machine?
>>> It worked for me when testing the Xfce image on the Banana Pi.
>> Do you locally, not remotely?
>>
>> Also I have to get Xfce running locally. I thought I could just issue
>> startx or startxfce4 from the command line, but that failed. Any suggestion?
> The way to do this is to enable lightdm and the graphical target in systemd

From the console, I tried:

systemctl start display-manager

And the local connection was logged in and the screen seemed to try and
go into Xfce, but nothing happened.  So I power cycled, and right away
from the console started display-manager.  This time the local login
prompt went away and eventually got the Xfce login dialog.

Boy is local Xfce slow on this Cubieboard2!  Going to have to try it on
my Cubietruck to see if it is a matter of memory (same A20 chip).

>
>> Alternatively, how do I change back from multi-user target. I suppose I
>> can google that. But can it be done temporarily?
>>>> If they work when logged in locally it's due to PolicyKit and the
>>>> xfce-polkit package and it's a security feature, not a bug.
>>>>
>>>> Peter
>>>>
>>>> On Thu, Sep 13, 2018 at 12:04 AM Robert Moskowitz <rgm@htt-consult.com>
>>>> wrote:
>>>>> Cubieboard2
>>>>>
>>>>> On my Xfce desktop (well VNCed into it) as me. I inserted a usb
>>>>> device. It shows up as an icon in tghe workspace. I go to mount it and
>>>>> get "Not authorized to perform operation".
>>>>>
>>>>> Nothing interesting on the console:
>>>>>
>>>>> [ 2525.137522] usb 1-1: new high-speed USB device number 3 using
>>>>> ehci-platform
>>>>> [ 2525.283687] usb 1-1: New USB device found, idVendor=0951,
>>>>> idProduct=1603, bcdDevice= 2.00
>>>>> [ 2525.292069] usb 1-1: New USB device strings: Mfr=1, Product=2,
>>>>> SerialNumber=3
>>>>> [ 2525.299380] usb 1-1: Product: DataTraveler 2.00000025168
>>>>> [ 2525.304990] usb 1-1: Manufacturer: Kingston
>>>>> [ 2525.309342] usb 1-1: SerialNumber: 0000025168
>>>>> [ 2525.645759] usb-storage 1-1:1.0: USB Mass Storage device detected
>>>>> [ 2525.658504] scsi host1: usb-storage 1-1:1.0
>>>>> [ 2525.663628] usbcore: registered new interface driver usb-storage
>>>>> [ 2525.737957] usbcore: registered new interface driver uas
>>>>> [ 2526.731250] scsi 1:0:0:0: Direct-Access Kingston DataTraveler 2.0
>>>>> 1.00 PQ: 0 ANSI: 2
>>>>> [ 2526.752509] sd 1:0:0:0: Attached scsi generic sg1 type 0
>>>>> [ 2526.752591] sd 1:0:0:0: [sdb] 1952256 512-byte logical blocks: (1000
>>>>> MB/953 MiB)
>>>>> [ 2526.776457] sd 1:0:0:0: [sdb] Write Protect is off
>>>>> [ 2526.797671] sd 1:0:0:0: [sdb] No Caching mode page found
>>>>> [ 2526.803174] sd 1:0:0:0: [sdb] Assuming drive cache: write through
>>>>> [ 2526.835704] sdb:
>>>>> [ 2526.844064] sd 1:0:0:0: [sdb] Attached SCSI removable disk
>>>>>
>>>>> what do I have to do so a user can mount a USB device?
>>>>>
>>>>> thanks
>>>>> _______________________________________________
>>>>> arm mailing list -- arm@lists.fedoraproject.org
>>>>> To unsubscribe send an email to arm-leave@lists.fedoraproject.org
>>>>> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
>>>>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>>>>> List Archives:
>>>>> https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org
>>>> _______________________________________________
>>>> arm mailing list -- arm@lists.fedoraproject.org
>>>> To unsubscribe send an email to arm-leave@lists.fedoraproject.org
>>>> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
>>>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>>>> List Archives:
>>>> https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org
>>>>
_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org

No comments:

Post a Comment