I’ve been using Plasma for more than 10 years (since it was KDE) always with openSUSE. At home for many more years, but I decided to try it at work, where we have a proxy network that requires authentication, and after the jump to Plasma 6 (even before) I will have to abandon the use of Plasma (and therefore a Linux desktop) in my work environment.
It’s been years since I opened several threads reporting KDE’s problems with network integration where SMB, FTP, FISH and other services need to be accessed, but still no progress at all. I had to find my own way to get the KDE desktop to work in proxy environments that require authentication, using PAC files. The problems are several and critical:
Access to Samba shared resources
Accessing shared resources in Windows domains becomes difficult. When using dozens of Samba resources, which may be required from time to time, it is not logical to have to create fstab accesses for those resources. One prefers to use them as in Windows: Type in the URN (\server\path) and add it to favourites. Well, the KDE desktop asks for username and password every time you access those SMB folders (in same session), instead of saving it. But the worst thing is that if a file is opened from this shared resource, the desktop session is closed, and from the application with which the file was opened, the user tries to open the file again from “Open recent”, and then the user tries to open the file again from “Open recent”, the file cannot be located. Of course, there are threads with such a bug (mine at least) explaining why.
HTTP proxy management with authentication: From bad to worse
Proxy management in Linux environments has two parts: the one configured in the chosen Linux system, which depends on the distribution, and the one configured in the desktop environment.
In my case, the proxy configuration of the system works perfectly, even allowing to enter the user and password (hidden) for the proxy, so that the system update operations and any other program on the system that requires Internet access, works transparently. Since access to local servers does not require going through the proxy, the IP ranges that do not need to be accessed through the proxy are also specified. The exceptions in the use of the proxy, work correctly, being able to access through console FTP to local IPs without going through the proxy.
The KDE desktop proxy settings (and I say “KDE desktop” instead of “Plasma” because these problems have been going on for almost a decade now) are not so simple anymore. If I use the “Use system proxy settings” option and when I click “Show environment variable values”, the same system proxy values are displayed. However, if I go to Dolphin and try to access the same FTP server (using its IP) that I accessed from console, Dolphin shows the error “Could not connect to machine 10.162.0.20: The proxy type is invalid for this operation
”, i.e. KDE totally ignores the NO_PROXY environment variable.
Moreover, if I access the KDE desktop settings and try to download some add-ons (new mouse pointers, wallpapers, window decorations, etc) it is impossible to do so, because when I click the download button, a KDE window appears “An error has occurred. Failed to load providers from the file https://autoconfig.kde.org/ocs/providers.xml
” (the URL is one of many that appear, depending on where in the configuration we are trying to download new content). That is, KDE tries to access that URL without using the proxy. But also, if KDE was trying to use the proxy, it would ask me for user and password, and it doesn’t do it.
As I had already mentioned, this problem with proxies is ALWAYS, more than a decade and seeing that for KDE was not a priority to solve the issues I opened about it, I managed to create a PAC file and solve at least the problem of access to local FTP services without using the proxy. That file is of course put in the KDE proxy configuration, under “Use proxy configuration URL”. And so I managed at least to solve the problem of FTP access to local servers. But the latest Plasma updates (since more than 4 months ago) have messed up even that trick, and I can’t FTP to local IPs using the PAC file anymore either. Dolphin shows the message "Dolphin could not connect to machine 10.162.0.20"
.
For the problem of not being able to download mouse pointers, backgrounds, etc, I never found a solution, so when I needed to download a plug-in or anything else from “System Preferences” I had to download it “by hand” from another system and take the file to my computer which requires a proxy.
However, when launching “Discover”, it does ask for user/password (of the proxy) as it should do (and allows to save the password), something that is inconsistent with the operation described so far.
However, when launching “Discover”, it does ask for user/password (of the proxy) as it should do (and allows to save the password), something that is inconsistent with the operation described so far. But what’s more, if I search for “Filezilla” in “Discover”, it finds it and tells me that it is available from my distro’s repository. If I click “Install”, it throws an error window “The repository is not available
”. If I do the same from my distro installer, the repository is perfectly available.
I add that once “FileZilla” is installed, it works flawlessly to access my local FTP servers, without any problem or added configuration.
Conclusion
And that’s it. I had to write this because a few days ago, in another thread where a user was complaining about “Plasma 6”, a moderator commented about opening bug reports, and I just couldn’t take it anymore. After many, many years with bugs that perpetuate or get worse over time, on more than one occasion a developer has commented that the problem was not considered “a priority”. Perfect. With such a problem-solving policy, not only does KDE get rid of your desire to report and document bugs, but it will never penetrate the niche of enterprise computers. I, clearly after what has been explained, can no longer recommend in 2024 the use of the KDE desktop instead of Windows to anyone who wants to use it on an intranet, no matter how small, and that’s a pity.
Thanks for reading me