linuxmint / linuxmint/cinnamon

Openconnect VPN usernames not being saved - bug fixed in gnome-shell!

Open
#12,973 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

Distribution

Mint 22.1 Cinnamon

Package version

6.4.8

Frequency

Always

Bug description

When you connect to a vpn connection using openconnect (after installing network-manager-openconnect-gnome) you can switch on "Save passwords" and it works like expected. Next time you start the vpn connection the password field is pre-filled. Unfortunately the username doesn't get saved due to some problem with serializing VPN secrets.

This has also been a bug in gnome-shell but got fixed some years ago.

please see here:
https://bugzilla.redhat.com/show_bug.cgi?id=1332491#c24 (bug discussion at RedHat)
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2105 (Issue at gnome-shell)
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1535 (gnome-shell fix from Sebastian Keller)

I hope this annoying bug can be sorted out in Cinnamon too. None of the workarounds I found for gome-shell do work in Cinnamon.

Steps to reproduce
  • sudo apt install network-manager-openconnect-gnome
  • (no idea if you have to log out and in again at this point)
  • Start "Network Connections" from the panel.
  • Add a new OpenConnect VPN Connection an fill in your connection stuff
    (in my case just a name and the Juniper gateway of my University)
  • Use the Network-Menu in Panel to start the new VPN-Connection.
  • Type in your credentials and select "Save passwords"
  • disable VPN Connection
  • Start VPN again and see that username is not saved
Expected behavior

passwords AND usernames being saved like under gome-shell

Additional information

One of the non-working "workarounds" I found:
https://askubuntu.com/questions/1255369/is-there-a-workaround-for-the-bug-that-the-username-is-not-saved-in-openconnect

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue through Network Connections and the Network-Menu with network-manager-openconnect-gnome, then compare Cinnamon's behavior with the linked GNOME Shell discussion and merge request. Done means an OpenConnect username selected for saving remains pre-filled after disabling and restarting the VPN connection.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, linux
Domain
desktop, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.