You are not logged in.

#1 2016-03-03 11:34:25

ltorvalds024
Member
Registered: 2015-12-01
Posts: 38
Website

[Solved] cannot receive files over bluetooth

I am not able to send files from my phone to my computer. My phone says "remote device rejected your request"
I am using latest arch linux and GNOME desktop.

I have "trusted" my phone from command line, using bluetoothctl but it didn't work

Solution: see my answer below

Last edited by ltorvalds024 (2016-03-04 14:03:47)


"I am slacking because my code is compiling"

Offline

#2 2016-03-03 11:51:53

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,858
Website

Re: [Solved] cannot receive files over bluetooth

Why is the PC rejecting the connection? What do your logs say?

Mod note: moving to Networking.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-03-03 12:18:34

ltorvalds024
Member
Registered: 2015-12-01
Posts: 38
Website

Re: [Solved] cannot receive files over bluetooth

WorMzy wrote:

Why is the PC rejecting the connection? What do your logs say?

My phone says "remote device rejected your request"
I tried "journalctl -n" but nothing related to bluetooth shows up.


"I am slacking because my code is compiling"

Offline

#4 2016-03-03 22:22:29

jeremy31
Member
Registered: 2015-11-01
Posts: 149

Re: [Solved] cannot receive files over bluetooth

See if you can find program "Personal File Sharing" and from that you should be able to "enable receive files over bluetooth"

It should be part of gnome-file-share

Offline

#5 2016-03-04 09:25:06

ltorvalds024
Member
Registered: 2015-12-01
Posts: 38
Website

Re: [Solved] cannot receive files over bluetooth

jeremy31 wrote:

See if you can find program "Personal File Sharing" and from that you should be able to "enable receive files over bluetooth"

It should be part of gnome-file-share

I am not able to launch this program. I have posted this problem too here (https://bbs.archlinux.org/viewtopic.php?id=209644)


"I am slacking because my code is compiling"

Offline

#6 2016-03-04 09:48:42

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,858
Website

Re: [Solved] cannot receive files over bluetooth

ltorvalds024 wrote:
WorMzy wrote:

Why is the PC rejecting the connection? What do your logs say?

My phone says "remote device rejected your request"
I tried "journalctl -n" but nothing related to bluetooth shows up.

Then presumably the bluetooth daemon isn't running. What does

systemctl status bluetooth.service

tell you?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2016-03-04 11:38:39

ltorvalds024
Member
Registered: 2015-12-01
Posts: 38
Website

Re: [Solved] cannot receive files over bluetooth

WorMzy wrote:

Then presumably the bluetooth daemon isn't running. What does

systemctl status bluetooth.service

tell you?

The bluetooth daemon is working fine because I am able to use my bluetooth headset to listen to music. What I think is my computer is rejecting the request to receive so there is nothing wrong with bluetooth.
As suggested by jeremy31 I have to "enable receive files over bluetooth" from Personal File Sharing program, but I am not able to launch this program. Issue relating this application posted here: https://bbs.archlinux.org/viewtopic.php?id=209644

Last edited by ltorvalds024 (2016-03-04 11:39:55)


"I am slacking because my code is compiling"

Offline

#8 2016-03-04 12:05:14

jeremy31
Member
Registered: 2015-11-01
Posts: 149

Re: [Solved] cannot receive files over bluetooth

I wonder if it may have installed some files

cat /usr/share/GConf/gsettings/gnome-user-share.convert

Offline

#9 2016-03-04 13:51:53

ltorvalds024
Member
Registered: 2015-12-01
Posts: 38
Website

Re: [Solved] cannot receive files over bluetooth

jeremy31 wrote:

I wonder if it may have installed some files

cat /usr/share/GConf/gsettings/gnome-user-share.convert

Its output is

[org.gnome.desktop.file-sharing]

require-password = /desktop/gnome/file_sharing/require_password

now what do I do?


"I am slacking because my code is compiling"

Offline

#10 2016-03-04 14:02:37

ltorvalds024
Member
Registered: 2015-12-01
Posts: 38
Website

Re: [Solved] cannot receive files over bluetooth

I have solved my problem with a work around. Thanks to jeremy31 for pointing me to the file /usr/share/GConf/gsettings/gnome-user-share.convert
I copied this file from Ubuntu to my Arch Linux setup, and now I am able to receive files over bluetooth.

$ cat /usr/share/GConf/gsettings/gnome-user-share.convert
[org.gnome.desktop.file-sharing]

enabled = /desktop/gnome/file_sharing/enabled
require-password = /desktop/gnome/file_sharing/require_password
bluetooth-enabled = /desktop/gnome/file_sharing/bluetooth_enabled
bluetooth-allow-write = /desktop/gnome/file_sharing/bluetooth_allow_write
bluetooth-require-pairing = /desktop/gnome/file_sharing/bluetooth_require_pairing
bluetooth-obexpush-enabled = /desktop/gnome/file_sharing/bluetooth_obexpush_enabled
bluetooth-accept-files = /desktop/gnome/file_sharing/bluetooth_accept_files
bluetooth-notify = /desktop/gnome/file_sharing/bluetooth_notify

_actually this file should be generated by Personal File Sharing application which I am not able to launch_


"I am slacking because my code is compiling"

Offline

#11 2016-03-04 22:09:50

jeremy31
Member
Registered: 2015-11-01
Posts: 149

Re: [Solved] cannot receive files over bluetooth

Nice work, I would have posted my file if you hadn't found that

Offline

Board footer

Powered by FluxBB