PDA

View Full Version : system wide proxy fedora 26



dbugy
29th October 2017, 06:46 AM
Hi all,
I know this has been asked many times before, but non of the answers I found worked for me.
I previously ran mint, ubuntu, centos and arch and in order to get my university proxy to work I would just edit /etc/environment with my proxy variables and all was good. I think In one of the distros I needed to also have a script in profile.d but maybe that wasn't even necessary..

I recently thought to try fedora 26 out and when trying to get the proxy working I ran into issues. Firefox works cause I set its proxy settings manually, and I got dnf and yum to work by manually editing the dnf.conf file but nothing else works (maps, gnome-software, skype, or any other program). I set the proxy variables in etc/environments and can see that they get exported in a new terminal. I tried adding a script to profile.d and editing /etc/bashrc but those didn't help. I then tried to change it using the GUI but no luck. I also tried changing it using gsettings commands with no luck as mentioned here:
https://askubuntu.com/questions/3689...g-shell-script


In all cases I enter the proxy in the format "http://domain%5Cusernameassword@proxyort" (%5C is asci for ""), and as mentioned that format worked in other distros

In the other distros I was pleasantly surprised at how easy it was, and I figured since centos was easy fedora should be the same, but its really frustrating me. The only thing Im thinking of is that somehow this has to do with gnome, which I have never used before, but that doesn't make much sense to me..

Any help would be greatly appreciated

srakitnican
29th October 2017, 06:58 AM
Are you using Wayland? If so, try Xorg.

dbugy
29th October 2017, 07:14 AM
Are you using Wayland? If so, try Xorg.

Thanks for the fast reply!
I was using wayland and tried switching to x11 now but it didn't help.. Any other ideas?