Diberdayakan oleh Blogger.

Selasa, 08 April 2014

Solution to fix error when trying to run google-chrome in Linux Slackware64 14.1

by Joielechong sipayung  |  in Slackware at  Selasa, April 08, 2014

Google Chrome
After successing repackage Google Chrome debian package with Slackbuild script and installing it, I'm trying to first run the installed Google Chrome but no window being shown up on my laptop monitor. When I'm try to run it on terminal, there are some errors messages like here:
[22495:22495:0407/163940:ERROR:shared_memory_posix.cc(226)] Creating shared memory in /dev/shm/.com.google.Chrome.8s1qNY failed: Permission denied
[22495:22495:0407/163940:ERROR:shared_memory_posix.cc(229)] Unable to access(W_OK|X_OK) /dev/shm: Permission denied
[22495:22495:0407/163940:FATAL:shared_memory_posix.cc(231)] This is frequently caused by incorrect permissions on /dev/shm.  Try 'sudo chmod 1777 /dev/shm' to fix.
The error will be fix and we can run the Google Chrome by  running sudo chmod 1777 /dev/shm. But this solution is just temporay. After restarting the Box, the same problem will reappear.

To permanently fix these errors, we must add a line in /etc/fstab with this text:
tmpfs  /dev/shm  tmpfs   defaults    0     0
Then, restart the Box.

Now, the problem is solved and we can surfing with the Google Chrome :).

0 comments:

Silahkan tinggalkan komentar anda: