I installed google chrome on ubuntu terminal. After installation I issued commands chrome google-chrome and several others but the browser failed to show up. I just started learning ubuntu server terminal. I hope someone will help me with commands to open the chrome browser.

closed as unclear what you're asking by GAD3R, Anthony Geoghegan, G-Man, mdpc, Michael Homer Jan 20 '18 at 3:34

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    "Ubuntu terminal"? Are you running X Windows at all (a graphical desktop environment), or are you just working at the text console? What version of Ubuntu are you using and what package did you install? – Kusalananda Jan 19 '18 at 17:19
  • 1
    I am using just the text console. – Djesu Jan 19 '18 at 17:32
  • the version server ubuntu 16.04 – Djesu Jan 19 '18 at 17:33
  • I am new to ubuntu so I cannot remember the package. – Djesu Jan 19 '18 at 17:34
  • I think it is google-chrome-stable – Djesu Jan 19 '18 at 17:36

I believe you need to have some type of x-server running in order to use the application. If the machine you are executing the command on is local and you are logged directly into a terminal you will need to start your x-server first then open a terminal and run the command.

If you are using ssh to the machine that you are wanting to run the command on you will need to use -X to forward X before the application will open on the local machine you are using.

If you are running 100 percent in a terminal environment please look at lynx or links or links2 or elinks for cli only web browsers.

  • Thanks Larry G for your advice. I research on lynx, link2 or elinks. – Djesu Jan 19 '18 at 18:07
  • @Djesu Please accept the answer if it satisfies you. – Tomasz Jan 19 '18 at 23:14

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