Changes

From Amahi Wiki
Jump to: navigation, search
8 bytes removed ,  05:13, 29 December 2015
yum install tigervnc-server
 
*The following example is if you wish to setup access under root control, if you wish to setup under normal user the see below under Multiply User Setup
 
 
*Once install we need to create new configuration file, vncserver@.service is only a template file, from this we need t create a the following config file.
WantedBy=multi-user.target
*Under [Service] replace with the following<USER> with the user name setup in Amahi/Fedora. For this example we will use tom. Please note The modified file will look like this is for root access ONLY, see below on how to setup for other users.
[Service]
Type=forking
User=root
# Clean any existing files in /tmp/.X11-unix environment
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i> /dev/null 2>&1 || :' ExecStart=/sbin/runuser -l tom -c "/usr/bin/vncserver %i" PIDFile=/home/tom/.vnc/%H%i.pid ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i> /dev/null 2>&1 || :'
* Once the root config file vncserver@:1.service has been modified we next run the commandas root.
systemctl daemon-reload
28

edits