Created
November 15, 2020 11:16
-
-
Save Disassembler0/2fc2f3ec31a07d2daaf342a9fbf7e123 to your computer and use it in GitHub Desktop.
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
dnf install tigervnc-server | |
sed -e 's/<USER>/username/g' /lib/systemd/system/[email protected] >/etc/systemd/system/vncserver@:0.service | |
systemctl daemon-reload | |
systemctl enable vncserver@:0.service | |
systemctl start vncserver@:0.service | |
firewall-cmd --permanent --zone=public --add-port=5900/tcp | |
firewall-cmd --reload | |
# Run as user | |
vncserver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment