Ubuntu 18.04 changed loading screen - gnome-3

Does anyone have any idea why the loading screen suddenly changed from this:
to this:
Also got some new backgrounds with the Debian logo like this one:
I would very much like to know what caused this and if it could have changed other system settings ( I noticed that the keyring doesn't ask me for a password anymore until I run an app on the computer and also noticed an overall slowness in running apps ). I want to point out that I didn't update nor upgraded the apt repos, I did however removed the ubuntu dock gnome shell extension and added plank, though this happened a few hours before and I rebooted twice in the meantime and the loading screen didn't change.

The second image is from Ubuntu Budgie.
How to Completely Uninstall / Remove Budgie Desktop:
To uninstall the desktop environment, open terminal and run command:
sudo apt remove budgie-desktop-environment budgie-desktop && sudo apt autoremove
And the PPA can be removed by going to System Settings -> Software & Updates -> Other Software tab.
To restore the default login screen (Unity Greeter), run command to remove GTK greeter:
sudo apt remove lightdm-gtk-greeter && sudo apt autoremove
To restore the default start-up splash logo, run command:
sudo update-alternatives --config default.plymouth
Type the number that indicates Ubuntu logo and hit enter.
Set Plymouth theme
And apply the plymouth changes via command:
sudo update-initramfs -u
Taken from: http://tipsonubuntu.com/2016/11/09/install-budgie-desktop-ubuntu-16-04-16-10/

Related

How do I fix google meet screen sharing being very dark on Ubuntu 22.04.1

Issue: When I go to share my screen/tab/window on google meet, it comes up very dark.
very dark screenshot of shared screen.
Any ideas how to fix this?
Actions taken: all of the following with multiple logins/out/restarts but to no avail
You might need to update GDM3 custom configuration file
/etc/gdm3/custom.conf
Uncommenting this will force the login screen to use Xorg. #WaylandEnable=false
$ echo $XDG_SESSION_TYPE x11
Install xcompmgr using your Linux distro's package manager. sudo apt install xcompmgr After installing, open the terminal and run this command: xcompmgr -c -l0 -t0 -r0 -o.00 Open compton.conf gedit ~/.config/compton.conf Edit the following line: shadow-exclude = [ "name = 'cpt_frame_window' " ];
added google-chrome-stable --enable-features=UseOzonePlatform --ozone-platform=wayland & to ~/.local/share/applications/google-chrome.desktop
set chrome://flags/#enable-webrtc-pipewire-capturer
sudo mkdir -p /etc/pipewire/media-session.d/ sudo cp /usr/share/pipewire/media-session.d/media-session.conf /etc/pipewire/media-session.d/ sudo sed -i 's/#metadata/metadata/g' /etc/pipewire/media-session.d/media-session.conf
Yours at a complete loss after many hours of digging around :)
OS: Ubuntu: 22.04.1 - clean minimal install
Browsers used: latest Firefox and Chrome

How to install and start MySQL 5.7 on macOS BigSur (Apple Silicon) with Homebrew?

I need a specific version of MySQL (5.7) to be installed on my MacBook with M1.
I'm trying to do that with Homebrew.
brew install mysql#5.7
The output:
We've installed your MySQL database without a root password. To secure it run:
mysql_secure_installation
MySQL is configured to only allow connections from localhost by default
To connect run:
mysql -uroot
mysql#5.7 is keg-only, which means it was not symlinked into /opt/homebrew, because this is an alternate version of another formula.
If you need to have mysql#5.7 first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/mysql#5.7/bin:$PATH"' >> ~/.zshrc
For compilers to find mysql#5.7 you may need to set: export LDFLAGS="-L/opt/homebrew/opt/mysql#5.7/lib" export CPPFLAGS="-I/opt/homebrew/opt/mysql#5.7/include"
To have launchd start mysql#5.7 now and restart at login: brew services start mysql#5.7 Or, if you don't want/need a background service you can just run: /opt/homebrew/opt/mysql#5.7/bin/mysql.server start
Right after that, I try to run:
echo 'export PATH="/opt/homebrew/opt/mysql#5.7/bin:$PATH"' >> ~/.zshrc
source .zshrc
mysql_secure_installation
And get the error:
Securing the MySQL server deployment.
Enter password for user root:
Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Also, I've tried:
brew services start mysql#5.7
And also get the error:
Error: Permission denied # rb_sysopen - /Users/vivanc/Library/LaunchAgents/homebrew.mxcl.mysql#5.7.plist
Seems like there is a permissions-related problem.
Any advice is appreciated.
If you are running into issues like "Can't connect to local MySQL server through socket '/tmp/mysql.sock'" or "The post-install step did not complete successfully MySQL", and you installed a previous version of mysql (e.g. 8.x) previously, you may have been at the point where you need to clean everything before reinstalling your preferred version of mysql#x.x.
If you've already visited these to links:
Uninstall all those broken versions of MySQL and re-install it with Brew on Mac Mavericks (Coderwall) + Install MySQL 5.7 on macOS using Homebrew (github) and your're still having trouble with starting your mysql-service, you should try to also remove also /opt/homebrew/etc/my.cnf file.
Remove it together with all the related files too! Summary for an M1 Apple Silcion machine, after uninstalling via brew uninstall mysql or brew uninstall mysql#x.x, please remove:
/opt/homebrew/var/mysql
/opt/homebrew/etc/my.cnf
After this, everything worked like a fresh install (for me). Hope this saved someone's time.
While this question is specific to Apple Silicon and mysql 5.7, and I will address that in this answer, I would like to start by adding some general notes to save others time:
Homebrew supports mysql 5.7 for both intel and apple silicon.
https://formulae.brew.sh/formula/mysql#5.7
Homebrew supports mysql 5.6 for the intel chip, but not apple silicon:
https://formulae.brew.sh/formula/mysql#5.6
If you need 5.6 on apple silicon, it's probably a good idea to just settle with 5.7 since production will need to be upgraded eventually and the differences aren't that big.
In my situation I originally did brew install mysql and it gave me the latest mysql (currently 8.0). When I tried going back over it and doing brew install mysql#5.6, of course this didn't work due to not being supported on the m1 max (apple silicon). I ran into issues then trying to get brew install mysql#5.7 working. I followed some guides mentioning various suggestions. After playing with it for a while, it seems that running two versions of mysql at once will corrupt your mysql files and make it hard to work with and confuse homebrew.
I came across these guides:
brew install mysql on macOS
https://coderwall.com/p/os6woq/uninstall-all-those-broken-versions-of-mysql-and-re-install-it-with-brew-on-mac-mavericks
https://www.codegrepper.com/code-examples/shell/brew+uninstall+mysql
Before reading further, note that in my situation, I had a zip available for my whole local mysql database needs and could risk destroying what I have.
Warning! Reading further and executing these commands carelessly may delete your mysql storage. Make sure you have a backup.
brew remove mysql is a good command that got rid of my latest install.
I also needed brew remove mysql#5.7 even though this is the version I'm trying to install, but they were stepping on each other's foot...
brew cleanup is nice, I noticed it freed up some lock files.
I don't recall having any luck with:
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
but you can try it.
rm ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist has worked for me.
But note there will also be another file in there for your 5.7 setup.
I'd recommend:
cd ~/Library/LaunchAgents/ then look around to see if you have any mysql* in there. Then if you do, such as homebrew.mxcl.mysql#5.7.plist, then remove it.
These are some that worked for me:
sudo rm -rf /usr/local/var/mysql
rm /usr/local/etc/my.cnf
rm /usr/local/etc/my.cnf.default
Also:
cd opt/homebrew/var
Then if you notice a mysql directory in there, remove it.
It's possible you might have docker or something else similar also running mysql or mysqld.
ps -ax | grep "[m]ysql"
(Note the brackets and quotes in the above is to prevent the grep from showing up in the process list and matching itself unlike the lazier version: ps -ax | grep mysql which will give the impression there's an extra mysql process running)
Once you're ready, please run:
brew services list
double-check you don't have mysql in there.
Then double check you don't have any mysql process running:
ps -ax | grep "[m]ysql"
This can happen for example if you enter mysqld for example....
You might need to do brew services stop mysql or brew services stop mysql#5.7 or similar and repeat steps if you see anything on the service list or process list.
Finally, you should be ready for a fresh install.
The fresh installation process should be rather straight forward:
brew install mysql#5.7
brew link --force mysql#5.7
brew services start mysql#5.7
Then run brew services list to make sure your installation worked correctly.
If you see it's green and "started", your installation was successful!
You should also run:
mysql_secure_installation
Then choose a password for root and go through the list of questions like validation, etc.
Once you're installed, you might also run into mysql mode issues.
cd /opt/homebrew/etc and you should find a my.cnf file.
Edit it using either vim or nano.
You should see something like:
# Default Homebrew MySQL server config
[mysqld]
# Only allow connections from localhost
bind-address = 127.0.0.1
Edit it and set the mysql mode. For example, I don't want the no_zero_in_date mode, so I use:
# Default Homebrew MySQL server config
[mysqld]
# Only allow connections from localhost
bind-address = 127.0.0.1
sql-mode="ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
Then restart mysql like so:
brew services restart mysql#5.7
Then double check you still have a green status "started":
brew services list
If you do, then you should have the no_zero_in_date mode disabled.
You can test it with a query:
SELECT ##sql_mode;
You should now have mysql 5.7 running on Apple Silicon and have the sql_mode set.
If you run into more troubleshooting, do your best to get into a known state such as uninstalled, doing a fresh install, or already installed with some version, etc.
I solved it after hours of searching, it was because I had not cleaned everything regarding my previous MySQL 8.X installation. I followed this and got suspicious when I realized I don't have most of the folders there. I then did a search for all folders named mysql on my computer and found a mysql folder in opt/homebrew/var. After removing it, reinstalling MySQL 5.7, and starting the server everything is working as expected.
When setting up my Apple M1 Macbook Pro I was experiencing the issue of the following error message being thrown:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
My fix was to modify the MySQL config file:
nano /usr/local/etc/my.cnf
Append the following lines:
tmpdir=/tmp
user=root
Then run:
brew services restart mysql#5.7
This fixed my issue, and I was then able to connect successfully with my DB client.
Seems like I found the solution (or workaround).
After installing the MySQL 5.7 with Homebrew just run:
mysql.server start
MySQL is started and then you are able to run mysql_secure_installation and mysql commands.
I got this warning:
You should change the ownership of these directories to your user.
sudo chown -R $(whoami) /usr/local/share/doc /usr/local/share/man /usr/local/share/man/man1
And make sure that your user has write permission.
chmod u+w /usr/local/share/doc /usr/local/share/man /usr/local/share/man/man1
I run those two command then it works.

ubuntu 16.04 install phpmyadmin 404

Operation system: ubuntu 16.04
Runs in a VWWare Player
I installed Lamp with apache2, php, mysql and it works just fine.
then I installed phpmyadmin
sudo apt-get install phpmyadmin
This installs a lot, but if I open the browser with localhost/phpmyadmin I get the 404 Error: Page not found.
I searched for other ways: I was told to just copy the phpmyadmin.***.tar file to the document_root folder. This works, but I don't have access to the Database. I get the User/PWD Dialog but I haven't set anything, so I don't know the password
I would like to get some help on the "sudo install phpmyadmin" way, which seems to me to be the right one.
Regards Martin
I read about some changes up from ubuntu 13
The following did the trick:
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
sudo a2enconf phpmyadmin
sudo service apache2 restart
After that I could open localhost/phpmyadmin (But I forgot the password)
So I removed phpmyadmin
sudo apt-get remove --purge phpmyadmin
and simply reinstalled it:
sudo apt-get install phpmyadmin
User name is phpmyadmin and the password has to be set during the installation
I would highly suggest installing this manually so it's up to date and as secure as possible.
cd to webroot
IE: cd /var/www/html
wget https://files.phpmyadmin.net/phpMyAdmin/4.7.7/phpMyAdmin-4.7.7-all-languages.zip && unzip phpMyAdmin-4.7.7-all-languages.zip
Make sure unzip + wget are installed.
apt-get install wget unzip
I also suggest renaming the phpmyadmin dir.
mv phpMyAdmin-4.7.7-all-languages random-name-here
have you tried root with no password? Sorry I'm not allowed to add this as comment.

How do I set the default window manager under Fedora 21?

Fedora 21 comes with the ugly Gnome 3, and I installed XFCE and MATE, but I don't know, how to set either of them as a default X window manager. After I logout from Gnome 3, I don't see any selection from installed window managers.
As I interpret your question, you want to install switchdesk
$ yum install switchdesk switchdesk-gui
and run that. You can also try changing settings in /etc/sysconfig/desktop as described here.
If you want to simply try out a different desktop environment at login time, try installing lightdm or kdm (from the fine folks who bring us KDE) and pick one before you log in.
EDIT The advice above maybe outdated.
GDM does not seem to allow you to choose your desktop environment the way KDM and lightdm (and others probably) do. Using my favourite DM, lightdm, as an example (use sudo or switch to root):
$ sudo yum install lightdm
...
$ sudo systemctl reboot
It is possible to do this without rebooting
$ sudo systemctl stop gdm # this will abruptly halt your session and take you to a text console
Log in as root and then type
$ systemctl start lightdm
When I change DM, I like to reboot to make sure my changes persist. If (like mine did) your machine does not boot to a graphical screen, then log in as root and type:
$ systemctl start lightdm
Both KDM and lightdm allow you to select a DE from a pulldown menu.
If you want to revert back to Gnome's display manager:
$ sudo systemctl enable gdm
$ sudo systemctl disable lightdm
GDM does support choosing at login time, but it is sort of hidden.
When I type my login, press Return and before I enter my password a small gear appears. It is a pull-down to choose the desktop environment.
Unfortunately, it is not sticky. I must do it every time. If I get my password wrong the first time, it resets to GDM.

Getting MySQL working on OSX 10.7 Lion

I'm currently trying to get MySQL working on OSX 10.7 Lion. I tried the brew way:
brew install mysql
-> cmake -> no problems
-> make -> no problems
-> make install -> no problems
-> done
unset TMPDIR
mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
Installing MySQL system tables...
/usr/local/bin/mysql_install_db: line 428: 15397 Done { echo "use mysql;"; cat $create_system_tables $fill_system_tables; }
15398 Done(141) | eval "$filter_cmd_line"
15401 Segmentation fault: 11 | $mysqld_install_cmd_line > /dev/null
Installation of system tables failed! Examine the logs in
/usr/local/var/mysql for more information.
Did anyone get mysql to run on Lion?
You can download a MySQL installer as a DMG file, complete with an installer, system preferences pane and a startup script directly from MySQL. Go to MySQL's community server download page, select Mac OS X as the platform and pick the DMG file.
You can skip the registration form (there a little link under the signup form) and you should be on your way.
Once the file is downloaded, double-click on the DMG, launch the installer and complete the installation. After that, install the startup script using its installer and finally the preferences pane by double-clicking on it. I highly recommend choosing to install it for all users on the computer.
You'll find this way much easier than compiling from source.
You should check out Sequel Pro if you need a great OS X tool to manage your MySQL databases.
A drop in replacement for mysql is mariadb. You can install with 'brew install mariadb'. It builds on Lion.
Existing mysql drivers and clients just work. I'm using it with python-mysql and django.
It's even called mysql so you won't even know the difference.
Ha! Got it!
First... download mysql-5.6.2 here: http://dev.mysql.com/downloads/mirror.php?id=402349#mirrors ... once finished, untar the file and do this:
mv path/to/mysql-5.6.2-m5-osx10.6-x86_64 /usr/local/mysql
echo "PATH=\$PATH:/usr/local/mysql/bin" >> ~/.profile
# open a new tab
cd /usr/local/mysql #this is essential!
./scripts/mysql_install_db
mysqld_safe &
mysql -uroot
works for me :)
You need to set up your path environment too, and it's also good practise to set a root password while you're at it. I've created a full step-by-step here: How to install MySQL on Lion (Mac OS X )
All,
I was having issues with connecting to my DB through Tomcat, yet could through the MySql tool. Tomcat was accessing it through the actual IP of my machine (10.0.x.x) instead of through localhost or 127.0.0.1. Turns out that when I migrated from SL to Lion, remote connections were disabled. Once I enabled them, it worked fine.
Hopefully this helps someone.
I had MySQL installed already, but after upgrading to Lion it would no longer start.
I tried installing the latest official version and it still wouldn't start.
Finally, this fixed it:
$ sudo mkdir /var/log/mysql
$ sudo chown mysql:mysql /var/log/mysql