-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mullvad GUI is not launched at system start-up [workaround found] #2904
Comments
@roundoutandabout Does the
|
@raksooo yes it shows up there. |
I tried other apps to run on startup. Firefox and LibreOffice run fine. |
@roundoutandabout Hmm okay, I haven't been able to reproduce this unfortunately. Can you check if the app is running (it could be that it just isn't visible).
It would also be helpful if you sent a problem report from within the app. I would then be able to read the app logs. Please write in the problem report description that you've talked to med here 🙂 |
@raksooo , the app is not running, I get only this in the output: |
here is a workaround you could try for now, I did something similar in ubuntu when my audio service wouldnt start at login. Its a bit hacky but I think it will work here. https://forum.level1techs.com/t/run-command-at-startup-fedora-25/116989 |
@lordcyb3r , thanks, I'll try systemd method. Still I'm wondering why other programs start while Mullvad doesn't. |
yeah, no clue. Doesnt seem to be an issue for me with popos on my laptop (ubuntu based). Post an update if the workaround works please! |
@roundoutandabout I've had a look at the logs and didn't find anything interesting unfortunately. I've also tried to reproduce this but without success. We won't look further into this now unless it's a more common issue than we think. The app isn't supposed to run as root so make sure to run it as your user if you launch it with systemd. |
Does fedora support startup commands like those in ubuntu? if so you can just set a command to start mullvad gui when your user signs in. That way it does not run as root |
Yes, all |
Sorry, this is some old log |
I found more recent boot log with
Would this be of any help? |
@roundoutandabout Looks like it's from a systemd-service. As far as I'm aware there's no service with that name in our app. Did you create this one yourself? |
@raksooo no I didn't create a service. In |
Going by the logs, it seems like the path to our app isn't escaped properly. If you were to change the autostart file for our app to either quote the spaces in the path or just put the whole path in quotes, would that help? |
In the Exec="/opt/Mullvad VPN/mullvad-vpn" %U So the space should be already escaped. |
This line implies that the space might need to be escaped even if the string is quoted. |
You could also check if the path on the bottom line in |
I tried escaping the space in |
@roundoutandabout I had the same issue and resolved it by modifying the
As far as I know there is different command parsing for |
@Michsior14 yeah, that works. Thanks a lot! |
@raksooo Could mullvad produce desktop entry with |
What version of systemd are you running? Question directed to everyone who has this issue :) Since it works for the vast majority of Linux users (including Fedora 34 KDE) there must be something that is different on your systems. |
@faern The version I have on Fedora 35 KDE is: systemd 249 (v249.4-2.fc35)
+PAM +AUDIT +SELINUX -APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified Although I had the same issue on Fedora 34 KDE in past, but never had look on it. |
@faern for me on Fedora 34 KDE:
|
Fedora 36 KDE (still beta) is also affected:
Might it be that zsh shell is causing this issue? |
Fedora 37 KDE (updated from Fedora 36) is also affected. |
I wonder if it's a locale problem, since I can not reproduce this in a fresh VM on Fedora 37 with both Gnome and KDE with the British and Ukranian locale, and it just works. And the version of I used the workstation ISO to setup my VM, did any of you perhaps install the server version and then install the desktop packages yourselves? |
I am using |
That's exactly what I did too. I do wonder what it is we should do to reproduce the issue here. And the main reason we wish to reproduce the it is to find what component is at fault and report a bug there - as far as we understand, as per the freedesktop specification, |
I directly installed a Fedora KDE image, not the standard Gnome Fedora. |
Issue report
Operating system: Fedora 34 KDE
App version: 2021.3
Issue description
I have a Mullvad desktop app set to launch on start-up. Also "Start minimized" is set to false.
At the system start-up I get connected to the VPN, so the Mullvad daemon apparently starts, but no application window launches. I have to launch it manually.
How reproducible:
Always
Steps to reproduce:
Expected result:
Main app window launches at system start-up
Observed result:
Main app window doesn't launch at system start-up neither maximized nor in the tray.
UPDATE:
Seems like the space in the path to the
mullvad-vpn
script is not escaped properly.Workaround is to edit the
/usr/share/applications/mullvad-vpn.desktop
:The text was updated successfully, but these errors were encountered: