Can´t authenticate the Linux VictronConnect app on Ubuntu 24

Hi,

I managed to download and run the VictronConnect application on my Ubuntu 24 system. I tried both the 6.23 and 6.24 (latest version) version of the app. I navigate to setting and select Sign in to VRM. I’m taken to a webpage https://vrm.victronenergy.com/victron-connect-login showing me I’m already logged on the website. It shows me a button ‘Authorise VictronConnect’ (in Dutch) I press it and there is a pop-up asking if it can use VictronConnect links.
It then opens the Ubuntu software manager and says that no apps are available. I on the webpage in the meantime it says if there is no app visible to open it from the taskbar. Doing that shows the same VictronConnect app still waiting for something to happen.

I can´t seem to get the approval from the website communicated to the app. Any suggestions on how to make this work?

Is this a “button“

Manual select/open VictronConnect

Thanks for the reply!
It is not, but if I unlink my allows allow I can choose a program.

If I then select the application, still nothing happens.

I selected the program as shown below (the one running), but as mentioned above, nothing happens.

Error(s) in the Linux log file /var/log/..

/var/log/auth.log

I’m trying to see if anything relevant is present in those logs without dumping my entire logs here.

After trying again auth.log shows nothing of relevance. Around the time I tried there are some lines like this:

2025-12-12T16:30:01.640005+01:00 PCWouter CRON[16201]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)
2025-12-12T16:30:01.650859+01:00 PCWouter CRON[16201]: pam_unix(cron:session): session closed for user root

I see multiple of these entries in kern.log and the same in syslog.log

2025-12-12T16:43:28.545021+01:00 PCWouter kernel: audit: type=1400 audit(1765554208.543:553): apparmor=“DENIED” operation=“open” class=“file” profile=“snap.firefox.firefox” name=“/proc/pressure/memory” pid=18239 comm=“MemoryPoller” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0

Other log files do not change or do not contain relevant information (ufw.log, apport.log) I think, correct me of you think otherwise and I will upload those.

I’m not sure of the significance of the syslog.log entries, do they point to something?

I also tried resetting cookies for the website, logging in when I make the request but to no avail.

*moved over to the Modifications Space since Linux isn’t officially supported; hopefully someone over here may have some suggestions!

Also may be worth perusing the notes from when VC was first released for Linux systems, there may be some useful information there: VictronConnect for Linux - download & instructions - VictronEnergy

in your filemanager:

  • right click on ‘VictronConnect-x86_64_v6.24.AppImage’
  • select ‘properties’
  • select ‘permissions’ / ‘authorizations’
  • select ‘execute as program’
  • OK

or in your terminal go to the folder where the AppImage is stored and execute: ‘chmod +x *.AppImage’

To start the AppImage, simply double-click on the entry in your file manager…

That’s it!

greetings, J.

Thanks, however the problem is with the exchange of, what I guess is some kind of token, between website/browser and the app. I had already executed the program (hence done the steps above) and from there initiated the ‘Sign in to VRM’ process. This then starts up Firefox (latest version) and I either sign to the VRM portal and then, or if I already am it gives me straight away, shows the Authorise VictronConnect button.

Pressing it initiates something (see initial post) but this does not get picked up by the app that is already running (see below).

A solution could be to know what that the website tries to transfer to the app and maybe I can pass that manually somehow?

You probably need to update the mime type database:

update-desktop-database ~/.local/share/applications

Also, check the Exec line in ~/.local/share/applications/VictronConnect.desktop, mine was pointing to a previous version.

I checked the file you mentioned and the Exec line in that same file, if I understood you correctly, and they both check out.

The file is there and the Exec line points to the correct AppImage, see below.

[Desktop Entry]
Type=Application
Name=VictronConnect
Exec=“/home/wouter/bin/VictronConnect-x86_64_v6.24.AppImage” %u
Icon=VictronConnect
Comment=Monitor, configure and update firmware of all Victron products.
Terminal=false
Categories=Electronics;
MimeType=x-scheme-handler/victron-connect;
X-Desktop-File-Install-Version=0.27

After installing the latest version I removed the associated application (pointing to the old version) in Firefox. Then when I tried again it came with the standard pop-up again and I selected the new location and version. I imagine that this updated this file.

Anyhow they seem to be correct, right (not sure what it is supposed to look like)? Or is the %u argument incorrect?

To make things work, I had to:

  • Fix the .desktop file (yours looks fine)
  • Update the mime type database with update-desktop-database ~/.local/share/applications
  • In Firefox, go the VRM Portal - Victron Energy
  • Choose the system handler when Firefox asks how to open the victron-connect link

This worked for me!
The key was in the update-desktop-database command and selecting the system handler. I had tried the system handler before but that than also failed, I assume because the mime database needed to be updated.
Good to keep in mind that the command does not return any output to the screen.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.