Solved Cannot get Google Chrome to work

I am new to FreeBSD.

Tried this:
Code:
# pkg install chromium
After it ran, I got a message to add a line to the files section of my X.org configuration file. As I remember, the used to be in /etc/X11. But I cannot find the directory now.

I can see chromium in my menu, but it will not run.
 
Hi walterbyrd,

Have you added the following line in your /etc/sysctl.conf ?
Code:
kern.ipc.shm_allow_removed=1
I had to do this to get chromium working. But I did not change anything in my /etc/X11/xorg.conf.

If you do not want to reboot, you can also change this value using sysctl(8).

By the way, if you are new to FreeBSD, this post might help you.
 
I believe that hukadan's answer is what you need. You may have misread or forgotten the package message, what it probably said was that you should add the line to /etc/sysctl.conf.

To view a package message after installation, the command is pkg info -Dx chromium.

(The -x isn't necessary, the -D is sufficient to show the package message. The -x just does regex, I guess I probably started using it when I wasn't sure of a package's name, and it just became my habit.)
 
pkg info -Dx chromium did not bring back the message.

I am certain the message said to add a line to my x.org configuration.

I do not seem to have an /etc/X11 directory.

I am using Xfce. On the Applications menu, "Chromium" is there, but I cannot launch it.

Adding "kern.ipc.shm_allow_removed=1" to sysctl.conf worked.

Thanks.
 
Even though this thread is somewhat dated it deserves closure; the X11 reference to post chromium installation concerns adding a link in the Xorg.conf file referencing droid fonts that were installed with the browser. It simply makes the droid font set(s) accessible to other applications like your text editors. ~It's still a thing as it occurred last evening when I installed chromium for my FBSD 11.1.
 
Back
Top