Jump to content
Not connected, Your IP: 18.227.209.214
Koalaman

DBusConnectorException: DBusConnector: not primary owner (2)

Recommended Posts

Hi, I am always getting this error when I SSH into my Raspberry Pi and try to do stuff with Goldcrest. I have already added "Jack" to the AirVPN group. But it still doesnt work, same error. 

jack@jack ~ $ goldcrest --disconnect
Goldcrest - AirVPN Bluetit Client 1.3.0 - 1 June 2023

2023-11-24 17:00:26 Reading run control directives from file /home/jack/.config/goldcrest.rc
2023-11-24 17:00:26 DBusConnectorException: DBusConnector: not primary owner (2)

Any ideas?

Share this post


Link to post
2 hours ago, Koalaman said:

Hi, I am always getting this error when I SSH into my Raspberry Pi and try to do stuff with Goldcrest. I have already added "Jack" to the AirVPN group. But it still doesnt work, same error. 

jack@jack ~ $ goldcrest --disconnect
Goldcrest - AirVPN Bluetit Client 1.3.0 - 1 June 2023

2023-11-24 17:00:26 Reading run control directives from file /home/jack/.config/goldcrest.rc
2023-11-24 17:00:26 DBusConnectorException: DBusConnector: not primary owner (2)

Any ideas?


Hello!

"Not primary owner" hints to some other Goldcrest process already running, can you please check?

Kind regards
 

Share this post


Link to post
On 11/24/2023 at 8:00 PM, Staff said:

Hello!

"Not primary owner" hints to some other Goldcrest process already running, can you please check?

Kind regards
 

Hi:

jack@jack ~ $ ps aux | grep goldcrest
root        3789  0.1  0.1  11584  4280 ?        S    09:48   0:00 su -c goldcrest --air-connect --air-key Seconddevice --air-country Singapore -N off -C CHACHA20-POLY1305 -U Koalaman -P XXXXXX
root        3809  0.1  0.1  85556  3860 ?        Sl   09:48   0:00 goldcrest --air-connect --air-key Seconddevice --air-country Singapore -N off -C CHACHA20-POLY1305 -U Koalaman -P XXXXXX
jack       4122  0.0  0.0   5912   692 pts/0    S+   09:51   0:00 grep goldcrest
jack@jack ~ $


Sorry I dont know too much yet about Linux, still learning day by day. 

Share this post


Link to post
@Koalaman

Hello!

The command to disconnect a session is valid if no other Goldcrest process is already running. By Suite's default D-Bus policy only one client can talk to Bluetit at a time, the "primary owner" according to D-Bus terminology.

Goldcrest's disconnect option is originally meant to disconnect a session started by Bluetit autonomously, i.e. when Bluetit is configured to connect at startup. If you need to terminate a current connection established via Goldcrest, you just have to send a SIGTERM or SIGINT to Goldcrest. For example, press CTRL-C on the terminal from which you launched Goldcrest, or send Goldcrest the signal, for example
sudo killall goldcrest

Kind regards
 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...