Issue
Attempting to install and run Mongo Compass on two separate CENTOS 7 laptops, and it doesn't work in either one.
Problem Description: Downloaded the Mongo Compass RPM for Red Hat 7 here: https://www.mongodb.com/try/download/compass Installed it from the Downloads directory using
sudo yum localinstall mongodb-compass-1.22.1.x86_64.rpm
Note: it installs successfully and a symlink appears in usr/share/applications.
I drag the symlink onto the desktop and click it.
The symlink image bounces around for 10-20 seconds and then disappears.
My Fix Attempts I've tried numerous fixes, including:
- Uninstall both Mongo and Mongo Compass & then reinstall Mongo first with no security or restrictions then Mongo Compass
- Installing only Mongo Compass first without Mongo installed
- Installing EPEL and updating all YUM repos and then re-trying
- Opening up permissions to the executable using CHMOD
Nothing seems to do the trick, and I can't find any existing help or advice from others using CENTOS 7 and Mongo Compass.
Solution
just to mark this answered!
after rpm installation do this sudo chmod 4755 /usr/lib/mongodb-compass/chrome-sandbox
Answered By - vk-code