Can't open chrome with command line in Centos - google-chrome

I just installed chrome on my CentOS 6.7, following instructions here. The install seems to have completed, but I couldn't open chrome with the following command:
$google-chrome
It just does not do anything. If I try:
$google-chrome &
I get
[1]27033
And I did all these as a non-root user. Any input will be much appreciated!

Have you tried this steps from this link:
Open Chrome from centos

Related

ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported

I'm trying to open google chrome from terminal in Ubuntu but after submiting google-chrome I'm getting this error:
ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported
I've installed it by following this tutorial: https://itsfoss.com/install-chrome-ubuntu/
I've looked at this but it didn't help me How to open google chrome from terminal?
Does anyone know how I can solve this issue?
Thanks!
I just ran
sudo apt list --upgradable
Chrome was one of the upgradable list, then ran the command
sudo apt upgrade
I had the same problem, updating the GPU drivers resolved the problem.
I installed Chromium via Snap instead (sudo snap install chromium). I get the same error message, but the browser appears to be running correctly anyway. I'd still like to know what it means and how to fix it....

MySQL Workbench cannot open on Mac

MySQL Workbench on Mac (10.14) opens only for a moment and closes immediately without any (visible) error message. Re-installing it does not solve the problem.
What can I do to fix this problem?
MySQLWorkbench need Python3.7 Framework in /Library/Frameworks/Python.framework/Versions
brew install python#3.7
sudo cp -r /usr/local/Cellar/python#3.7/3.7.12/Frameworks/Python.framework/Versions/3.7 /Library/Frameworks/Python.framework/Versions
open MySQLWorkbench, it's work
One solution worked with me:
System Preferences -> Security & Privacy -> click “Open Anyway”.
And don't forget to unlock the Lock icon at the bottom left.
I solved downloading an older version of Workbench (8.0.20)
I faced this problem when my mac was updated to Monterey. I downloaded the workbench again from this link Official Mysql and installed it. I replaced the older workbench into my Applications and was able to retrieve servers i setup with the older workbench.
Cheers.
There are a couple of things potentially going on.
One is the Mac Security and Privacy control, addressed nicely by Mahmoud Mostafa in another answer.
But even once that's gotten around, there is the problem of where this app is looking for Python. Running Catalina 10.15.7, I used the terminal command suggested by Phil Nguyen and got a different error message:
Fatal Python error: initfsencoding: unable to load the file system codec, sys.path = ['/Applications/MySQLWorkbench.app/Contents/Resources/libraries', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python37.zip', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload']
ModuleNotFoundError: No module named 'encodings'
To my surprise, I saw that there was no Python.framework within /Library/Frameworks/ at all. I'd been using Anaconda, which installed Python under my user directory.
As I had also installed Xcode tools, I just made a symbolic link* within /Library/Frameworks/ pointing to the Python framework at
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework
and changed the name of the symbolic link to Python.framework. That provides a Python 3.7 instead of forcing things back to Python 2 or using an old version of Workbench. Worked for me; YMMV.
*This needs to be a symbolic link made by ln -s in a Terminal window and not a Finder-generated alias. Working in /Library/Frameworks/ will require sudo.
I had the same issue as above. Downloading the older version from archives resolved the issue.
macOS Monterey, using version ( 8.0.29 ) solved the issue
Open your terminal and type:
/Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench --verbose
if your terminal said:
Your PYTHONPATH points to a site-packages dir for Python 3.x but you are running Python 2.x!
PYTHONPATH is currently: ":/Applications/MySQLWorkbench.app/Contents/Resources/libraries"
You should `unset PYTHONPATH` to fix this.
Type this:
export PYTHONPATH=/usr/local/lib/python2.7/site-packages/
If you are using macOS 10.15 or lesser version just switch to older version of workbench(8.0.11), which is the stabile version and compatible with macOS 10.15 or lesser version. For download Click here
I upgraded the OS and I faced the issue with the Workbench. It was not loading. So, I downloaded it and installed it again. I got an option to keep both or replace them. I choose to Replace. This resolved the loading issue. Now, it's opening.
Try running the following command in your terminal, to remove the app from quarantine:
xattr -d com.apple.quarantine /path/to/MySQLWorkbench.app
Note that the default path is /Applications, i.e., the default filename is /Applications/MySQLWorkbench.app
I just installed newer version and it automatically replaced the old version and it worked!
/Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench --verbose
I opened with this command once and it after that it started opening normally.
PS I have python 3.7 installed
I also have faced a similar problem after upgrading MAC OS To Monterey,
The solution worked just upgrade your MySQL Workbench 8.0.30.
Link: https://dev.mysql.com/downloads/workbench/

Chrome version mismatch?

I have Google Chrome ver. 41.0.2272.118 and I decided to upgrade it.
I've dowloaded latest version of Google Chrome version 46.0.2490.86 :
Got:2 http://dl.google.com/linux/chrome/deb/ stable/main google-chrome-stable amd64 46.0.2490.86-1 [47,3 MB]
Then I check version from console:
maxim#maxim:/opt/google/chrome$ ./google-chrome -version
Google Chrome 46.0.2490.86
But when I run it
maxim#maxim:/opt/google/chrome$ ./google-chrome
and check About, it still show 41.0.2272.118
What did I do wrong?
I also had this similar problem on Linux Mint. I found the following solution to work.
Close all Chrome sessions
Update google-chrome using apt-get as you have done above
Move the config files from ~/.config/google-chrome to ~/.config/bkp_google-chrome
Start google-chrome and the new version should now be started.
Please note this will erase all your history, bookmarks etc

Teamcity showAgreement.html has too many redirects

i just installed Teamcity 7.1.2 on my ubuntu. when i start teamcity, it is configuring some things, and after that it shows the following site:
localhost:8111/showAgreement.html with the following error:
Fehler 310 (net::ERR_TOO_MANY_REDIRECTS): Zu viele Umleitungen.
im using google chrome, but i tested it with safari and firefox.
Im using Ubuntu 12.04 in a vm fusion virtual environemnt.
does anybody has an idea how can i solve this?
thanks
Hmm.. ok i now deleted teamcity from the computer, restarted it again and installed teamcity again and look at that, it worked.
For me this happened when Teamcity didn't have write permissions to the directory where it was installed.
Doing "chown teamcity-user:teamcity-user teamcity-top-dir" resolved this for me. No re-install needed.
On docker, run for mounted folders:
chown -R 1000:1000 data/ log/

Missing "Mono for Android SDKs" option in MonoDevelop's preferences

I was unable to locate the "Mono for Android SDKs" preferences option when following the Mono for Android for Mac installation instructions.
troubleshooting steps I've tried:
After completing installation of the evaluation copy of Mono for Android for Mac I restarted MonoDevelop (version 2.4.2) and still didn't have the option available. I rebooted my Mac but that did not trigger MonoDevelop to expose the option either. I tried reinstalling the Mono for Android addin also.
Anyone struggled with the same problem? Let me know what you tried. Thanks!
I suppose it's funny to answer my own question, but on further troubleshooting steps...
I installed the lastest MonoDevelop beta and the preferences option appeared.