Changes

From Amahi Wiki
Jump to: navigation, search
961 bytes added ,  11:46, 2 January 2014
no edit summary
* Once the config files are created we will need to modify them for the correct user access. Accessing the files using your favourite editor the config files need to be modified under [Service] to reflect the assigned user. For this example the files should look like the following.
 
* For Tom (under root control)
PIDFile=/home/tom/.vnc/%H%i.pid
ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
 
 
* For Dick (under root control)
systemctl daemon-reload
* We need to assign password to access vnc-server for each user, for this each user needs to login in via terminal and run the the command as below, this will be the same procedure as described under the password section
= Multiple User/Multiply Desktop-Environment Setup =
 
* It is possible to for each user to use the VNC under different desktop-environment. For this example Tom wants to use KDE whilst Dick wants to use Cinnamon.
 
 
As root
 
* Install each required desktop-environment.
 
* Stop Tom's and Dick's VCN services.
 
systemctl disable vncserver@:2.service
systemctl disable vncserver@:3.service
systemctl stop vncserver@:2.service
systemctl stop vncserver@:3.service
 
* As Tom login and alter the xstartup file to reflect the desktop-environment required.
 
nano ~/.vnc/xstartup
 
* As Dick login and alter the xstartup file to reflect the desktop-environment required.
 
nano ~/.vnc/xstartup
 
* As root restart all the services
 
systemctl enable vncserver@:2.service
systemctl enable vncserver@:3.service
systemctl start vncserver@:2.service
systemctl start vncserver@:3.service
 
* Each user will now be-able to use their desktop-environment of there choice.
28

edits