Try Again, and let me know if doesn't works again.
Ciao!
Google Chrome 15 (x86)
Re: Google Chrome 12 (x86)
NjVFQzY2Rg==
Re: Google Chrome 12 (x86)
Well... this time the script created a module that is usable with some post-install modifications. I'd say that all problems relate to path, or permissions.
Here's the rundown in the order they need to be overcome.
Problem #1;
This effects normal, and root users obviously. I installed the default Porteus v1.0 firefox module for the missing lib(s).
Problem #2;
This is corrected by the command 'chmod 4755 /opt/google/chrome/chrome-sandbox', which requires root privileges. At this point root users can run Chrome.
Problem #3;
This problem only effects normal users (guest), and is an additional step past what root users need. Open a terminal, su, enter your password, and run the following command 'chmod 1777 /dev/shm'. Chrome will now run.
Problem #4;
I'm not sure if any of the errors past not finding the themes is important, so I've included this output from Chrome once it's run. It appears to have a missing library of some sort.
Problem #5;
This is not exactly a problem per say, but one of completeness. The generated XZM module doesn't use the standard paths, has no menu entries/icons setup, and instead ends up in the '/opt/google/chrome' directory. There isn't a symlinks/script extracted to the '/usr/bin' folder to call the '/opt/google/chrome/google-chrome' file. I simply created a script for myself, which works for now.
Root user only;
I made the file executable via chmod, named it chrome, and dropped it into my '/porteus/rootcopy/usr/local/bin/' directory.
Here's the rundown in the order they need to be overcome.
Problem #1;
Code: Select all
/opt/google/chrome/google-chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
Problem #2;
Code: Select all
[2765:2765:192102115:FATAL:zygote_host_linux.cc(133)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/google/chrome/chrome-sandbox is mode 4755 and owned by root.
Problem #3;
Code: Select all
[2821:2834:258374406:ERROR:shared_memory_posix.cc(172)] Creating shared memory in /dev/shm/.com.google.Chrome.bHI8hx failed: Permission denied
[2821:2834:258374829:ERROR:shared_memory_posix.cc(175)] Unable to access(W_OK|X_OK) /dev/shm: Permission denied
[2821:2834:258374872:FATAL:shared_memory_posix.cc(177)] This is frequently caused by incorrect permissions on /dev/shm. Try 'sudo chmod 1777 /dev/shm' to fix.
Problem #4;
Code: Select all
[2891:2891:309084028:ERROR:browser_main.cc(1022)] Gtk: Unable to locate theme engine in module_path: "clearlooks",
[2891:2891:309084723:ERROR:browser_main.cc(1022)] Gtk: Unable to locate theme engine in module_path: "clearlooks",
[2891:2891:309085895:ERROR:browser_main.cc(1022)] Gtk: Unable to locate theme engine in module_path: "clearlooks",
[2891:2891:309098971:ERROR:browser_main.cc(1022)] Gtk: Unable to locate theme engine in module_path: "mist",
[2891:2909:314942879:ERROR:nss_util.cc(419)] Error initializing NSS with a persistent database (sql:/home/guest/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory
[2891:2909:314943209:ERROR:nss_util.cc(428)] Error initializing NSS without a persistent database: NSS error code: -5925
Problem #5;
This is not exactly a problem per say, but one of completeness. The generated XZM module doesn't use the standard paths, has no menu entries/icons setup, and instead ends up in the '/opt/google/chrome' directory. There isn't a symlinks/script extracted to the '/usr/bin' folder to call the '/opt/google/chrome/google-chrome' file. I simply created a script for myself, which works for now.
Root user only;
Code: Select all
#!/bin/bash
#
chmod 4755 /opt/google/chrome/chrome-sandbox
cd /opt/google/chrome/
./google-chrome --user-data-dir=$HOME/.config/google-chrome/
Re: Google Chrome 12 (x86)
For missing dep,libsoftokn3.so: cannot open shared object file: No such file or directory
Try to install this lib
All others problems are related to Google Chrome's package and not my script.
Good Job!
NjVFQzY2Rg==