Last active
March 22, 2018 14:08
-
-
Save paulcarroty/d194c55843363ea5520c73148abefaf1 to your computer and use it in GitHub Desktop.
VNC-Fedora-Chromium-no-X
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
setenforce 0 | |
dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm | |
dnf -y install tigervnc-server xterm chromium chromium-libs-media-freeworld | |
vncpasswd <- set your pass | |
touch ~/.vnc/xstartup | |
echo "#!/bin/sh" >> ~/.vnc/xstartup | |
echo "unset SESSION_MANAGER' >> ~/.vnc/xstartup | |
echo "unset DBUS_SESSION_BUS_ADDRESS" >> ~/.vnc/xstartup | |
echo "exec xterm" >> ~/.vnc/xstartup | |
chmod +x ~/.vnc/xstartup | |
vncserver | |
#How to connect | |
vncviewer ip:5901 | |
# How to exit | |
vncserver -kill :1 <- kill the session |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment