
We now have to modify the firewall and open port 5901 in the iptables, run the command as root. Once the config file has been modified we next run the command as root. The modified file will look like this.ĮxecStart=/sbin/runuser -l tom -c "/usr/bin/vncserver %i" Under replace with the with the user name setup in Amahi/Fedora. # Clean any existing files in /tmp/.X11-unix environmentĮxecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'ĮxecStart=/sbin/runuser -l -c "/usr/bin/vncserver %i"ĮxecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :' # Use "-localhost" to prevent remote VNC clients connecting except when # Use "-nolisten tcp" to prevent X connections to your VNC server via TCP. # the help of ssh, you end up seeing what hostB makes available on port 590M # You can then point a VNC client on hostA at vncdisplay N of localhost and with # See the ssh man page for details on port forwarding) # (in fact, it ssh-connects to hostB and then connects to localhost (on hostB). # this will open a connection on port 590N of your hostA to hostB's port 590M # whose VNC output you want to view (host B) # the machine you want to view VNC on (host A) to the machine # limit connections to the local host and then tunnel from # untrusted! For a secure way of using VNC, you should Run `systemctl enable DO NOT RUN THIS SERVICE if your local area network is # ("runuser -l -c /usr/bin/vncserver %i -arg1 -arg2") Edit and vncserver parameters appropriately
Nano The configuration will look like this
FEDORA TIGERVNC INSTALL
Once install we need to create new configuration file, is only a template file, from this we need to create a the following config file. Note: For Fedora 23, use dnf instead of yum It is recommended to only use TigerVNC on a secure network or via a VPN. These steps are the same for Amahi 8 and Amahi 9.
As root, install LXDE Desktop Environment:. If you wish to boot Fedora into a graphical mode instead of console, as root use the following By passing this argument, we’re letting yum know that it is okay to skip those packages that would have conflicts. The reason for -skip-broken is that Fedora Workstation contains several variant packages that would otherwise conflict with the Server versions. Yum groupinstall "Cinnamon Desktop" -skip-broken As root, install Cinnamon Desktop Environment:. This guidance is based on a clean installation of Amahi 8 or 9, using the Fedora 21 Server DVD or Fedora 23 Server DVD install method. For TigerVNC to work a Desktop Environment must be installed even if the HDA does not boot to the selected Desktop Environment.