Last active
January 21, 2021 09:48
-
-
Save DaMoggen/a6e3d1593ead3812713df73dfdc7c670 to your computer and use it in GitHub Desktop.
Script to set up Remmina on CentOS 8 with autostart on boot.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo -e "\v\033[0;31mREMEMBER TO RUN THIS SCRIPT TWICE! \033[1;37m \n" | |
echo -e "\v\033[0;31mREMEMBER TO RUN THIS SCRIPT TWICE! \033[1;37m \n" | |
echo -e "\v\033[0;31mREMEMBER TO RUN THIS SCRIPT TWICE! \033[1;37m \n" | |
sleep 3 | |
sudo dnf install epel-release -y | |
sudo dnf copr enable castor/remmina -y | |
sudo dnf install 'remmina*' -y | |
cd /usr/share/applications/ | |
mkdir -p ~/.config/autostart/ | |
cp org.remmina.Remmina.desktop ~/.config/autostart/ | |
chmod u=rwx ~/.config/autostart/org.remmina.Remmina.desktop | |
gio set ~/.config/autostart/org.remmina.Remmina.desktop "metadata::trusted" yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment