Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 a 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?

share|improve this question

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>"

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|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.