Proxy setting under xfce within virtual machine

8,855

Solution 1

There's a command line option --proxy-server - so it should be possible to run chrome using a terminal window, using the command

google-chrome --proxy-server="<proxy-name>:<proxy-port>"

Solution 2

Another solution would be to set the environment variables:

http_proxy=<proxy-name>:<proxy-port>
https_proxy=<proxy-name>:<proxy-port>
export http_proxy
export https_proxy
google-chrome
Share:
8,855

Related videos on Youtube

SoftTimur
Author by

SoftTimur

Updated on September 18, 2022

Comments

  • SoftTimur
    SoftTimur over 1 year

    My Ubuntu is within a virtual machine.

    When I log in with a Ubuntu session, the web browser works fine. But when I log in with an Xfce session, the web browser does not work… I try to change proxy setting, it gives me:

    When running Google Chrome under a supported desktop environment, the system proxy settings will be used. However, either your system is not supported or there was a problem launching your system configuration.

    But you can still configure via the command line. Please see man google-chrome for more information on flags and environment variables.

    Could anyone help?

  • Mr. Tao
    Mr. Tao almost 5 years
    You might be interested in setting auto_proxy variable with proxy auto-config URL.