Google Chrome is not launching in Glish. How can I fix this?

Linode Staff

When I log into glish as root and try to open Google Chrome, nothing happens. What's preventing this from working and is there a way to fix this?

1 Reply

I looked into this a bit and was able to get chrome working on glish from my end, so I think this solution should work for you too. Fortunately it seems to be a small edit to the chrome configuration file. I believe this should only be necessary if you're trying to open it while logged in as the root user, but I didn't have time to fully test if it works on a limited user without this fix. Could be worth trying to log in as a limited user and launching it just in case.

First off while the application itself wasn't opening by default (I installed chrome using these steps by the way) if you try to launch it via the terminal in the glish desktop with the google-chrome command you should see an error along the lines of --no-sandbox is not supported. This is referencing an option line in the chrome bin file, /usr/bin/google-chrome. To fix this you can simply use a text editor to change the line to match what's written in this thread:

vim /usr/bin/google-chrome

instead of this line

exec -a "$0" "$HERE/chrome" "$@"
use line

exec -a "$0" "$HERE/chrome" "$@" --no-sandbox

Once you update and save that file, you should be able to launch Chrome in glish without issue.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct