I have installed Oracle Enterprise Linux 7.1 64 bit and I am trying to configure a VNC connections
I have tried both options in webpage https://oracle-base.com/articles/linux/configuring-vnc-server-on-linux
I have installed the following vnc packages
libvncserver-0.9.9-9.el7_0.1.x86_64
tigervnc-server-minimal-1.2.80-0.30.20130314svn5065.el7.x86_64
tigervnc-license-1.2.80-0.30.20130314svn5065.el7.noarch
gtk-vnc2-0.5.2-7.el7.x86_64
tigervnc-server-1.2.80-0.30.20130314svn5065.el7.x86_64
gvnc-0.5.2-7.el7.x86_64
For option 1 when when I run as below,errors appears
#chkconfig vncserver on
error reading information on service vncserver: No such file or directory
# service vncserver start
Redirecting to /bin/systemctl start vncserver.service
Failed to issue method call: Unit vncserver.service failed to load: No such file
Once this failed I tried option 2 and errors are as below
# systemctl start vncserver@:3.service
Job for vncserver@:3.service failed. See 'systemctl status vncserver@:3.service' and 'journalctl -xn' for details.
#systemctl status vncserver@:3.service
vncserver@:3.service - Remote desktop service (VNC)
Loaded: loaded (/usr/lib/systemd/system/vncserver@:3.service; enabled)
Active: failed (Result: exit-code) since Tue 2015-08-25 14:24:09 EAT; 19s ago
Process: 5339 ExecStart=/sbin/runuser -l <USER> -c /usr/bin/vncserver %i (code=exited, status=1/FAILURE)
Process: 5335 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)
Aug 25 14:24:09 joey-oel7 runuser[5339]: runuser: user <USER> does not exist
Aug 25 14:24:09 joey-oel7 systemd[1]: vncserver@:3.service: control process exited, code=exited status=1
Aug 25 14:24:09 joey-oel7 systemd[1]: Failed to start Remote desktop service (VNC).
Aug 25 14:24:09 joey-oel7 systemd[1]: Unit vncserver@:3.service entered failed state.
Kindly assist.