Koalaman 1 Posted ... 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? Quote Share this post Link to post
Staff 10014 Posted ... 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 Quote Share this post Link to post
Koalaman 1 Posted ... 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. Quote Share this post Link to post
Staff 10014 Posted ... @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 Quote Share this post Link to post