Ok, if you're accessing from an Ubuntu machine, then try this instead. On the remote machine, type:
Code:
nano ~/proxychange.sh
In the new file, paste the following:
Code:
#!/bin/bash
sessionfile=`find "${HOME}/.dbus/session-bus/" -type f`
export `grep "DBUS_SESSION_BUS_ADDRESS" "${sessionfile}" | sed '/^#/d'`
gsettings set org.gnome.system.proxy.mode 'none'
Close and save the file. Then:
Code:
chmod +x ~/proxychange.sh
Now disconnect your ssh session and, from your local Ubuntu machine, issue the command:
Code:
ssh -X username@ip-address ~/proxychange.sh
This will attach your remote machine to a local X server and run the command. Hopefully that will change the proxy settings for you.
Bookmarks