Skip to content

Instantly share code, notes, and snippets.

@DaMoggen
Last active January 21, 2021 09:48
Show Gist options
  • Save DaMoggen/a6e3d1593ead3812713df73dfdc7c670 to your computer and use it in GitHub Desktop.
Save DaMoggen/a6e3d1593ead3812713df73dfdc7c670 to your computer and use it in GitHub Desktop.
Script to set up Remmina on CentOS 8 with autostart on boot.
#!/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